File:Algol-type variable binary star animation 2.gif

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

Algol-type_variable_binary_star_animation_2.gif(800 × 600 pixels, file size: 2.01 MB, MIME type: image/gif, looped, 99 frames, 15 s)

Captions

Captions

Animation of Algol-type variable binary star.

Summary

[edit]
Description
English: Algol-type variable. Two stars is eclipsing each other. Cooler, yellow star exlipses more its companion, because it has brighter surface due to higher temparature.
Date
Source Own work
Author Merikanto

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.

Additional info

[edit]

Povray src "x4.pov"

  1. declare Yellow =rgb <1,1,0>;
  2. declare White= rgb <1,1,1>;
  3. declare Black =rgb <0,0,0>;
  4. declare Red=rgb <1,0,0>;
  5. declare Orange=rgb <1,0.5,0>;
  6. declare YellowOrange=rgb <1,0.75,0>;
  7. declare YellowYellowOrange=rgb <1,0.825,0>;
  8. declare LightBlue=rgb <0.5,0.5,1>;
  9. declare DarkYellow=rgb <0.25,0.25,0>;

//#declare tauorig=

// DEBUG //#declare taunolla=0;

  1. declare taunolla=clock+180;
  1. declare tau=radians(taunolla);
  2. declare tau2=radians(taunolla+180.0);
  1. declare ra=2;
  2. declare rb=2;
  3. declare ax = sin(tau)*ra+1;
  4. declare ay = cos(tau)*ra;
  1. declare bx = sin(tau2)*rb-1;
  2. declare by = cos(tau2)*rb;
  1. declare sax=ax*1;
  2. declare say=ay*1;
  3. declare sbx=bx*1;
  4. declare sby=by*1;

camera {

location <0,4,-20>
look_at <0,0,0>
angle 25

}

  1. declare S1 = sphere {
 0, 1
 pigment { color rgbf 1 }
 hollow
 interior {
   media {
     emission 2
     method 3
     intervals 1
     samples 5, 5
//     emission_type 2
  //   emission_extinction 2
     density {
       spherical
       color_map {
         [ 0.0 rgb 0.0 ]
         [ 0.1 rgb <1.0, 0.0, 0.0> ]
         [ 1.0 rgb <0.0, 1.0, 0.0> ]
       }
     }
   }
   media {
     absorption 5
     method 3
     intervals 1
     samples 5, 5
     density {
       spherical
       color_map {
         [ 0.0 rgb 0.0 ]
         [ 0.1 rgb 0.39 ]
         [ 1.0 rgb 0.5 ]
       }
     }
   }
 }

};

  1. declare S2 = sphere {
 0, 1
 pigment { color rgbf 1 }
 hollow
 interior {
   media {
     emission 2
     method 3
     intervals 1
     samples 5, 5
     density {
       spherical
       color_map {
         [ 0.0 rgb 0.0 ]
         [ 0.1 rgb <0.0, 0.0, 1.0> ]
         [ 1.0 rgb <0.0, 1.0, 1.0> ]
       }
     }
   }
   media {
     absorption 5
     method 3
     intervals 1
     samples 5, 5
     density {
       spherical
       color_map {
         [ 0.0 rgb 0.0 ]
         [ 0.1 rgb 0.39 ]
         [ 1.0 rgb 0.5 ]
       }
     }
   }
 }

};

object { S1 translate <sax,0,say> }

object { S2 translate <sbx,0,sby> }

Povray "x4.ini"

POV-Ray animation ini file

Antialias=Off Antialias_Threshold=0.1 Antialias_Depth=2

Input_File_Name="x4.pov"

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

Cyclic_Animation=on Pause_when_Done=off

Animation bash pov and imagemagick script

povray x4.ini convert -delay 20 -loop 0 *.png algol_type_binary_animation_1.gif


Older animation src

Povray source code

  1. declare tau=radians(clock);
  2. declare tau2=radians(clock+180.0);
  1. declare ra=1.5;
  2. declare rb=1.5;
  3. declare ax = sin(tau)*ra+0.5;
  4. declare ay = cos(tau)*ra;
  1. declare bx = sin(tau2)*rb-0.5;
  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>;
  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
camera { location <0,15,-70> look_at 0 angle 5 }
  sphere
  { 
  0, 1
  translate <ax,0,ay> 
 
 
 texture {
 pigment {
	crackle

pigment_map{ [0.0 rgb Orange] [0.2 rgb Yellow] [0.9 rgb Yellow] [1.0 rgb 1.0]

} warp{turbulence 0.3}

 }
 scale 0.05
 }
 
     finish {
     ambient 0.7
     diffuse 0.01
     reflection 0.01
      } // fin

/*

  texture{
        pigment{
          ripples scale 0.1 turbulence 1.5
          color_map {
                 [0.0 color Orange ]
                 [0.4 color Orange   ]
                 [0.5 color Yellow    ]
                 [1.0 color Yellow   ]
                } // cmap
   
 
      } // pig
 
     finish {
     ambient 0.7
     diffuse 0.01
     reflection 0.01
      } // fin
  
  } // tex
  */
    
    
    
  } // sphere

// halo 1

sphere

  { 
  
  0, 1.3 hollow no_shadow


    pigment {
    rgbt 1 }
    interior
    { media
      { emission 1/1
        density
        { spherical density_map
          { [0 rgb 0][.5 rgb Yellow*.5][1 rgb 1.5]
          }
        }
        samples 1,1 intervals 1 confidence .1 // quite fast settings
        method 3
      }
    }
    
 
       scale 1.3
    translate <ax,0,ay>


  }
  sphere
  { 
  0, 0.5
  translate <bx,0,by> 
    
 texture {
 pigment {
	crackle

pigment_map{ [0.0 rgb Blue] [0.2 rgb White] [0.9 rgb White] [1.0 rgb 1.0]

} warp{turbulence 0.3}

 }
 scale 0.05
 }
 
     finish {
     ambient 0.7
     diffuse 0.01
     reflection 0.01
      } // fin

/*

  texture{
        pigment{
          ripples scale 0.1 turbulence 1.5
          color_map {
                 [0.0 color White ]
                 [0.4 color White   ]
                 [0.5 color Blue    ]
                 [1.0 color Blue   ]
                } // cmap
   
 
      } // pig
 
     finish {
     ambient 1.0
     diffuse 0.01
     reflection 0.01
      } // fin
  
  } // tex
  • /
  } // sphere

sphere

  { 
  
  0, 0.5 hollow no_shadow


    pigment {
    rgbt 1 }
    interior
    { media
      { emission 1/1
        density
        { spherical density_map
          { [0 rgb 0][.5 rgb Blue*.5][1 rgb 1.5]
          }
        }
        samples 1,1 intervals 1 confidence .1 // quite fast settings
        method 3
      }
    }
    
 
       scale 1.2
    translate <bx,0,by>


  }

Povray ini file

POV-Ray animation ini file

Antialias=Off Antialias_Threshold=0.1 Antialias_Depth=2

Input_File_Name="n4.pov"

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

Cyclic_Animation=on Pause_when_Done=off

Linux bash shell script

rm *.png povray n4.ini convert -delay 20 -loop 0 *.png algol_type_binary_animation_1.gif

File history

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

Date/TimeThumbnailDimensionsUserComment
current14:29, 20 May 2019Thumbnail for version as of 14:29, 20 May 2019800 × 600 (2.01 MB)Merikanto (talk | contribs)New lookout
18:16, 15 May 2019Thumbnail for version as of 18:16, 15 May 2019800 × 600 (3.65 MB)Merikanto (talk | contribs)User created page with UploadWizard

There are no pages that use this file.

Metadata