File:Algol-type variable binary star animation 8.ogv

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

Algol-type_variable_binary_star_animation_8.ogv(Ogg Theora video file, length 15 s, 800 × 600 pixels, 534 kbps, file size: 977 KB)

Captions

Captions

Algol-type variable binary star animation

Summary[edit]

Description
English: Algol-type variable binary star animation
Date
Source Own work
Author Merikanto

This animation is made with POV-Ray 3.8 and ffmpeg in Linux. Must install libtheora to Linux to produce Ogg Vorbis animation.

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

POV -Ray source code


///////////////////////////// // // algol animation test 1 // //pov-ray 3.8 source code // // 29.9.2023 v 0000.0002 // /////////////////////////////

  1. include "functions.inc"


camera { location <0,7,-50> look_at 0 angle 25

}


  1. declare samples1=2;


  1. declare ball1=object {

sphere {0,1} texture { pigment {color rgb <1,0,0>} finish {ambient 1} }

}

  1. macro ball2(kolor1, amb)

object { sphere {0,1} texture { pigment {color rgb kolor1} finish {ambient amb} }

}

  1. end


  1. macro ball3(kolor1, amb)

object { sphere {0,1} texture { pigment {color rgbt kolor1} finish {ambient amb} }

}

  1. end



  1. macro starr1(color1, color2,brightness1)

union {


 sphere {
 0, 1
 pigment { color rgb color1 }
 finish {ambient 10*color1}
    scale 0.6
   }


sphere {
 0, 1
 pigment { color rgbf 1 }
 hollow
 interior {
   media {
     emission 1*brightness1
     method 3
     intervals 1
     samples samples1
    // emission_type 2
    // emission_extinction 2
     density {
  //     spherical  
   function {pow(1*f_spherical(x,y,z),1) }     

// 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 ] 
         [ 1.0 rgb  color2*2 ]
       }
     }
   }


 }
 scale 1.2

}


} // juunion

  1. end




  1. declare degrad=3.14159/180;

//#for (i,0,180)

   #declare i=clock;

#declare n=i*1; #declare lok1=n*degrad;

#declare tx1=(n-180)*0.03;

#declare ty1=sin(lok1)+sin(lok1*2)*2; #declare ty1=ty1*1.5+1;

#if (ty1>0) #declare ty1=0.0; #end


#declare amb1=n/360;


#for (j,0,180) #declare m=n-j; #declare lok2=m*degrad;

#declare tx2=(m-180)*0.03;

#declare ty2=sin(lok2)+sin(lok2*2)*2; #declare ty2=ty2*1.5+1;

#if (ty2>0) #declare ty2=0.0; #end

#declare amb2=((180.0-j)/180)*1; #declare trans1=1-amb2;

object { #declare kolor1=<1,amb2,0, trans1>;

ball3(kolor1, amb2) // starr1(<1,1/2,0>*amb2,<1,0.8/2,0>*amb2, 1) #declare skalar1=sqrt(amb2);

scale 0.1*skalar1 scale z*0.05 translate <tx2,ty2,-15> }


#end


/* object { ball2( 1,1, 0,2) scale 0.1 translate <tx1,ty1,0> }

  • /


// object { // starr1(<1,1,0>,<1,0.9,0>, 1) scale 0.1*4 translate <tx1,ty1,0> // }


//#end


object {

//ball1()

//object { ball2( <1,0, 0>,1)  }

starr1(<1.0,0.638,0.293>,<1.0,0.638,0.293>, 1)


scale 2.5 translate x*3 rotate y*(clock-60+180)

}

object {

starr1(<0.448,0.564,1.0 >,<0.448,0.564,1.0 >, 2) // object { ball2( <0.5,0.5, 1>,1) }

scale 1.5 translate x*3 rotate y*(180+clock-60+180)

}


POV-Ray 3.8 .ini file

Width=800 height=600

Antialias=Off Antialias_Threshold=0.1

Antialias_Depth=2 Quality=11

Input_File_Name="kayra10.pov"

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

Cyclic_Animation=on Pause_when_Done=off


Licensing[edit]

I, the copyright holder of this work, hereby publish it under the following license:
Creative Commons CC-Zero This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication.
The person who associated a work with this deed has dedicated the work to the public domain by waiving all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.

File history

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

Date/TimeThumbnailDimensionsUserComment
current15:23, 29 December 202315 s, 800 × 600 (977 KB)Merikanto (talk | contribs)Update of colors
15:03, 29 December 20237.5 s, 800 × 600 (621 KB)Merikanto (talk | contribs)New layout
13:00, 29 December 202315 s, 640 × 480 (1.88 MB)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 101 kbps Completed 19:53, 11 April 2024 1 min 5 s
Streaming 480p (VP9) 101 kbps Completed 19:52, 11 April 2024 1 min 8 s
VP9 360P 53 kbps Completed 19:50, 11 April 2024 51 s
Streaming 360p (VP9) 53 kbps Completed 19:49, 11 April 2024 56 s
VP9 240P 29 kbps Completed 15:07, 10 April 2024 11 s
Streaming 240p (VP9) 29 kbps Completed 15:07, 10 April 2024 11 s
WebM 360P 56 kbps Completed 19:51, 11 April 2024 59 s
Streaming 144p (MJPEG) 375 kbps Completed 15:06, 10 April 2024 3.0 s

Metadata