File:Algol-type variable binary star animation 8.ogv
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
Summary[edit]
DescriptionAlgol-type variable binary star animation 8.ogv |
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
//
/////////////////////////////
- include "functions.inc"
camera {
location <0,7,-50>
look_at 0
angle 25
}
- declare samples1=2;
- declare ball1=object {
sphere {0,1}
texture {
pigment {color rgb <1,0,0>}
finish {ambient 1}
}
}
- macro ball2(kolor1, amb)
object {
sphere {0,1}
texture {
pigment {color rgb kolor1}
finish {ambient amb}
}
}
- end
- macro ball3(kolor1, amb)
object {
sphere {0,1}
texture {
pigment {color rgbt kolor1}
finish {ambient amb}
}
}
- end
- 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
- end
- 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]
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.
http://creativecommons.org/publicdomain/zero/1.0/deed.enCC0Creative Commons Zero, Public Domain Dedicationfalsefalse |
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 15:23, 29 December 2023 | 15 s, 800 × 600 (977 KB) | Merikanto (talk | contribs) | Update of colors | |
15:03, 29 December 2023 | 7.5 s, 800 × 600 (621 KB) | Merikanto (talk | contribs) | New layout | ||
13:00, 29 December 2023 | 15 s, 640 × 480 (1.88 MB) | Merikanto (talk | contribs) | Uploaded own work with UploadWizard |
You cannot overwrite this file.
File usage on Commons
The following page uses this file:
- File:Algol-type variable binary star animation 8.ogg (file redirect)
Transcode status
Update transcode statusMetadata
This file contains additional information such as Exif metadata which may have been added by the digital camera, scanner, or software program used to create or digitize it. If the file has been modified from its original state, some details such as the timestamp may not fully reflect those of the original file. The timestamp is only as accurate as the clock in the camera, and it may be completely wrong.
Software used |
---|