File:Beta lyrae type binary animation 1.gif

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Beta_lyrae_type_binary_animation_1.gif(800 × 600 pixels, file size: 2.56 MB, MIME type: image/gif, looped, 89 frames, 1.8 s)

Captions

Captions

Beta Lyrae-type eclisping binary star

Summary

[edit]
Description
English: Beta Lyrae-type eclisping binary star. More massive star has gas ring.
Date
Source Own work
Author Merikanto

POV-Ray 3.8 files

Animation .ini file

POV-Ray animation ini file

Antialias=Off Antialias_Threshold=0.1 Antialias_Depth=2

Input_File_Name="betas1.pov"

Initial_Frame=1 Final_Frame=89 Initial_Clock=0 Final_Clock=360

Cyclic_Animation=on Pause_when_Done=off

Win 11 imagemagick script to create animation from putput files You must install ImageMagick and maybe set up its path

magick convert  -delay 10 -loop 0 *.png beta_lyrae_type_binary_animation_1.gif

POV-Ray 3.8 file

magick convert  -delay 10 -loop 0 *.png beta_lyrae_type_binary_animation_1.gif

POV-Ray 3.8 source code

///////////////////////////// // // Bata Lyrae type variable double star // //pov-ray 3.8 source code // // 28.9.2023 v 0000.0001 // /////////////////////////////

  1. include "functions.inc"
  1. include "shapes3.inc"


  1. declare taunolla=clock+90;
  1. declare tau1=radians(taunolla);
  2. declare tau2=radians(taunolla+180.0);
  1. declare ra=4;
  2. declare rb=0;
  3. declare ax = sin(tau1)*ra+0.02;
  4. declare ay = cos(tau1)*ra;
  1. declare bx = sin(tau2)*rb-0.02;
  2. declare by = cos(tau2)*rb;
  1. declare Orange=<1,0.5,0>;
  2. declare Yellow=<1,1,0>;
  1. declare White=<1,1,1>;
  2. declare Blue=<0.8,0.8,1>;
  3. declare Black=<0.0,0.0,0.0>;
  4. declare Grey=<0.5,0.5,0.5>;


  1. declare atm_thickness1=0.1 ;

// camera { location <0,0,-80> look_at 0 angle 4.5 }

camera { location <0,25,-150>*0.65 look_at 0 angle 5 }

  1. macro convection_cells(c)

crackle pigment_map{ [0.0 rgb c*0.2] [0.2 rgb c] [0.9 rgb c] [1.0 rgb 1.0]

} warp{turbulence 0.3}

  1. end


  1. declare stara1=union {

object {

//sphere {0,1 } // ovus {1,0.7 rotate x*90 rotate y*-90} object { Egg_Shape (1.15,1.55) rotate x*90 rotate y*-90} texture {

pigment { // granite

 wrinkles

scale 0.05 warp { turbulence 0.2 } turbulence 0.4 translate taunolla/360

 color_map {
   [0 color rgb <1,1,1>]
     [1 color rgb <0,0,10>]
   }

}


finish { ambient 1 }

} // ...tex

} // stella object

object {

 sphere {0,1 scale 1.5 scale y/1.3 scale z/1.3 translate x*-1} 

//object { Egg_Shape (1.15,1.55) scale 1.5 rotate x*90 rotate y*-90}

   pigment{rgbt 1}
       hollow

      interior{ //---------------------
   media{ method 3
          emission <0,0,1>*1
          scattering{ 4, // Type
             <1,1,1>*1.00
           } // end scattering
          density{ 
                      function {
            
                 exp(-1.5*(sqrt(x*x+y*y+z*z)-0) ) 
           //  pow( 3*sqrt(x*x+y*y+z*z),-1.5 )
               }
   density_map
          { 
           [0 rgb 0.00001*<0.5,0.5,1>] 
           [0.1 rgb 0.03*<0.5,0.5,1>] 
           [.5 rgb 0.5*<0.5,0.5,1>]
           [1 rgb <0.5,0.5,1>*3]
          }


        translate x*-1
          } // 
          samples 20 
    }  // ... density
 } // ... interior

} // ... obj stella atm

}


 #declare starb1=union {

object {

sphere {0,1 } // ovus {1,0.7 rotate x*90 rotate y*-90} //object { Egg_Shape (1.15,1.55) rotate x*90 rotate y*-90} texture {

pigment { // granite

 wrinkles

scale 0.05 warp { turbulence 0.2 }

     translate taunolla/360

turbulence 0.4

 color_map {
   [0 color rgb <0,0,5>]
     [1 color rgb <1,1,2>]
   }

}


finish { ambient 1.2 }

} // ...tex

} // stella object

object {

 sphere {0,1 scale 1.5  translate x*0 } 

//object { Egg_Shape (1.15,1.55) scale 1.5 rotate x*90 rotate y*-90}

   pigment{rgbt 1}
       hollow

      interior{ //---------------------
 
 media{ method 3
          emission <0,0,1>*1
          scattering{ 4, // Type
             <1,1,1>*1.00
           } // end scattering
          density{ 
              function {
            
            //     exp(-1.5*(sqrt(x*x+y*y+z*z)-0) ) 
             pow( 3*sqrt(x*x+y*y+z*z),-1.5 )
               }
           density_map
            { 
                    [0 rgb 0.00001*<0.7,0.7,1>] 
                    [0.1 rgb 0.1*<0.7,0.7,1>] 
                    [.2 rgb 0.5*<0.7,0.7,1>]
                    [1 rgb <0.7,0.7,1>*3]
            }


      //  translate x*-1
          } // ... density
          samples 20 
    }  //  .... media

} // ... interior


} // ... obj stella atm


  scale 0.5

}

  1. declare gasring1= union {
object { 
 torus {1,0.25}
 
    pigment{rgbt 1}
       hollow

      interior{ 

  media{ method 3
          emission <0,0,1>*1 
           absorption <1,1,1>*5
          scattering{ 2, // Type
             <0.7,0.7,1>*1.00
           } // end scattering
          density{   
granite    scale 0.5
         translate taunolla/360
 //              wrinkles scale 0.1
       turbulence 0.5

// function {

// exp(-1.5*(sqrt(x*x+y*y+z*z)-0) )

//  pow( 3*sqrt(x*x+y*y+z*z),-1.5 )
//   }
   density_map
          { 
           [0 rgb 0.0000*<0.5,0.5,1>] 
     //      [0.1 rgb 0.03*<0.5,0.5,1>] 
       //    [.2 rgb 0.2*<0.5,0.5,1>]
           [1 rgb <0.5,0.5,1>*1.5]
          }


     //   translate x*-1
          } // 
          samples 20 
    }  // ... media
 } // ... interior
   scale 2*0.8

} // gasring torus


}


// stars

object {stara1 rotate y*-90 rotate y*taunolla translate <ax,0,ay> }

object {gasring1 rotate y*taunolla }

object {starb1 rotate y*180 translate 0}

Licensing

[edit]
I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current12:51, 28 September 2023Thumbnail for version as of 12:51, 28 September 2023800 × 600 (2.56 MB)Merikanto (talk | contribs)Uploaded own work with UploadWizard

There are no pages that use this file.

Metadata