File:Epsilon aurigae type variable star animation 1 1 1 2.ogv

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

Epsilon_aurigae_type_variable_star_animation_1_1_1_2.ogv(Ogg Theora video file, length 15 s, 800 × 600 pixels, 203 kbps, file size: 372 KB)

Captions

Captions

EpsilonAaurigae type variable star animation

Summary

[edit]
Description
English: Epsilon Aurigae type variable star animation
Date
Source Own work
Author Merikanto

ffmpeg png -> .mp5 script

## with ffmpeg create ogg vorbis theora ogv animation

ffmpeg -framerate 12 -pattern_type glob -i '*.png'  -c:v libtheora -q:v 9 -c:a libvorbis -q:a 4 out.ogv

.ini file

Input_File_Name=epsilon1.pov

Antialias=On
Antialias_Threshold=1
  
Antialias_Depth=2
Quality=11

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

Cyclic_Animation=on
Pause_when_Done=off

POV-Ray source code

/////////////////////                       
//
// Epsilon Aurigae-like Algol-type exzlipsing variable
// sacondary souble star has thick gas ring
// POV-Ray 3.8 source code
//
// 30.9.2023 0000.0000
// 
////////////////////////

#include "functions.inc"

#declare tauorig=180+90;

#declare taunolla=clock+tauorig;

#declare tau1=radians(taunolla);
#declare tau2=radians(taunolla+180.0);

#declare ra=2.2;
#declare rb=2.2;  
#declare rc=0.15;

#declare ax = sin(tau1)*ra;
#declare ay = cos(tau1)*ra;

#declare bx = sin(tau2)*rb;
#declare by = cos(tau2)*rb;
 

#declare cx = sin(tau1*4)*rc;
#declare cy = cos(tau1*4)*rc;

#declare sax=ax*1;
#declare say=ay*1;
#declare sbx=bx*1;
#declare sby=by*1;
#declare scx=cx*1;
#declare scy=cy*1;

#declare samples1=30;

camera {
 location <0,0,-20>
 look_at <0,0,0>
 angle 25
}

#macro starr1(color1, color2)
union { 
/* 
  sphere {
  0, 1
  pigment { color rgb color1 }
  finish {ambient 1}
     scale 0.25
    }
  */
 sphere {
  0, 1
  pigment { color rgbf 1 }
  hollow
  interior {
    media {
      emission 50
      method 3
      intervals 2
      samples samples1
     // emission_type 2
     // emission_extinction 2
      density {
   //     spherical  
    function {pow(1*f_spherical(x,y,z),4) }     
//   scallop_wave

 //    function {pow( (2*(sqrt(x*x+y*y+z*z))) ,-1) } 
      //    function {pow(f_spherical(x,y,z),2)*f_wrinkles(x*1000,y*1000,z*1000) }  
          //      function {f_wrinkles(x*10,y*10,z*10) }  

        color_map {
          [ 0.0 rgb 0.0 ] 
             [ 0.2 rgb color1*0.05   ]
        //  [ 0.6 rgb  color1*0.5 ]
          [ 1.0 rgb  color2*2 ]
        }
      }
    }
 
  // absorbing stuff
   media {
      absorption 1.5
      method 3
      intervals 2
      samples samples1
      density {
              function {pow(f_spherical(x,y,z),1.5) } 
       // spherical
        color_map {
          [ 0.0 rgbt 0 ]
          [ 0.5 rgbt 1 ]
          [ 1.0 rgbt 2 ]
        }
      } 
   }

  

  }

}

} // juunion

#end

  

 #macro gasring1(color1, color2)
union { 
/* 
  torus {
  1, 0.2
  pigment { color rgb color1 }
  finish {ambient 1}
     scale 0.25
    }
  */
// sphere {
//  0, 1  
  torus {1,0.5
  scale y/5

  pigment { color rgbf 1 }
  hollow
  interior {

    media {
   // emission 1
  //    absorption 1

      method 3
      intervals 1
      samples samples1  

       scattering { 4, <0,0,1>*1 }

      density {   

 function {    pow( f_wrinkles(x*50,y*50,z*50),2)    }

  /*

        color_map {
          [ 0.0 rgb 0.0 ] 
       //      [ 0.2 rgb color1*0.05   ]
        //  [ 0.6 rgb  color1*0.5 ]
          [ 1.0 rgb  1 ]
        }
*/     
 }
    }

 
  // absorbing stuff
   media {
      absorption 10
      method 3
      intervals 2
      samples samples1
      density {
           //   function {pow(f_spherical(x,y,z),1.5) }  
            function { pow( f_wrinkles(x*50,y*50,z*50),2)  }  
      //   function {f_granite(x*30,y*30,z*20) }     
    // spherical        
//  scale 10
        color_map {
          [ 0.0 rgb 0 ]
    //      [ 0.5 rgbt 1 ]
          [ 1.0 rgb 1 ]
        }
      } 
   }

    

  }

}

} // juunion

#end

 

object {
//starr1(<1,.25,0>, <1,0,0>)    
starr1(<1,1,0>, <1,1,1>) 

scale 3
translate <sax,0,say>
}

 object {
starr1(<.5,.5,1>*2, <0.25,0.25,1>*1)  

scale 0.2  

translate <sbx+scx,0,sby+scy>
}
  object {
starr1(<.5,.5,1>*2, <0.25,0.25,1>*1)  

scale 0.2  

translate <sbx-scx,0,sby-scy>
}

 object {
gasring1(<.1,.1,0.1>*2, <0.1,0.1,0.1>*1)  
scale 1.5 
rotate z*20
rotate y*-10 
rotate x*-1
translate <sbx,0,sby>
}

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
current09:55, 12 October 202315 s, 800 × 600 (372 KB)Merikanto (talk | contribs)Uploaded own work with UploadWizard

The following page uses this file:

Transcode status

Update transcode status
Format Bitrate Download Status Encode time
VP9 480P 359 kbps Completed 18:16, 16 June 2024 14 s
Streaming 480p (VP9) 359 kbps Completed 18:16, 16 June 2024 14 s
VP9 360P 177 kbps Completed 18:16, 16 June 2024 10 s
Streaming 360p (VP9) 177 kbps Completed 18:16, 16 June 2024 11 s
VP9 240P 79 kbps Completed 18:15, 16 June 2024 8.0 s
Streaming 240p (VP9) 79 kbps Completed 18:15, 16 June 2024 8.0 s
WebM 360P 166 kbps Completed 18:16, 16 June 2024 4.0 s
Streaming 144p (MJPEG) 460 kbps Completed 18:15, 16 June 2024 1.0 s

Metadata