File:Main sequence star of type m 2.png
Original file (1,280 × 1,024 pixels, file size: 247 KB, MIME type: image/png)
Captions
Summary edit
DescriptionMain sequence star of type m 2.png |
English: Main sequence star of type M, red dwarf. |
Date | |
Source | Own work |
Author | Merikanto |
This image is genetared with Persistence of Vision ray tracer.
Povray 3.7 code.
// povray 3.7 code to generate red dwarf star
- declare Yellow =rgb <1,1,0>;
- declare White= rgb <1,1,1>;
- declare Black =rgb <0,0,0>;
- declare DarkRed=rgb <0.1,0,0>;
- declare Red=rgb <1.0,0,0>;
- declare Orange=rgb <1,0.5,0>;
- declare RedOrange=rgb <1,0.05,0>;
- declare RedRedOrange=rgb <1,0.15,0>;
//#declare YellowOrange=rgb <1,0.75,0>;
//#declare YellowYellowOrange=rgb <1,0.825,0>;
- declare LightBlue=rgb <0.5,0.5,1>;
//#declare DarkYellow=rgb <0.25,0.25,0>;
//#declare tauorig=
// DEBUG
//#declare taunolla=0;
- declare taunolla=clock+180;
- declare tau=radians(taunolla);
- declare tau2=radians(taunolla+180.0);
- declare ra=2;
- declare rb=2;
- declare ax = sin(tau)*ra+1;
- declare ay = cos(tau)*ra;
- declare bx = sin(tau2)*rb-1;
- declare by = cos(tau2)*rb;
- declare sax=ax*1;
- declare say=ay*1;
- declare sbx=bx*1;
- declare sby=by*1;
camera {
location <0,4,-20>
look_at <0,0,0>
angle 25
}
- declare granulas = pigment {
//granite
crackle
turbulence 0.5
color_map {
[0.0 color RedOrange]
[0.15 color RedOrange]
[0.25 color RedRedOrange]
[1.0 color Red]
}
scale 0.05
// warp{turbulence 0.1}
};
- declare kromos=intersection
{
sphere {0,1.025}
sphere {0,1.00}
// pigment {color Red}
pigment { color rgbf 1 }
hollow
interior {
media {
emission 20
method 2
intervals 1
samples 5, 5
density {
spherical
color_map {
[ 0.0 rgb 0.0 ]
[ 0.2 rgb <0.25, 0.0, 0.0> ]
[ 0.4 rgb <0.5, 0.0, 0.0> ]
[ 1.0 rgb <1.0, 0.0, 0.0> ]
}
}
}
media {
absorption 5.0
method 1
intervals 1
samples 5, 5
density {
spherical
color_map {
[ 0.0 rgb 1.0 ]
[ 0.1 rgb 1.0 ]
[ 1.0 rgb 1.0 ]
}
}
}
}
};
- declare spots = pigment {
//granite
bozo
turbulence 0.5
color_map {
[0.0 color Black]
[0.95 color Black]
[1.0 color DarkRed]
}
scale 1
};
- declare sun_surf =pigment
{
bozo
turbulence 0.5
scale 0.5
// scale 1
pigment_map {
[0.0 granulas]
[0.5 granulas scale 2]
// [0.7 Yellow]
[1.0 spots scale 0.1]
}
};
- declare korona=object
{
sphere {0,6}
pigment { color rgbf 1 }
hollow
interior {
media {
emission 10
method 3
intervals 1
samples 5, 5
density {
spherical
color_map {
[ 0.0 rgb 0.0 ]
[ 0.25 rgb <0.5, 0.5, 0.5> ]
[ 1.0 rgb <1.0, 1.0, 1.0> ]
}
}
}
}
};
- declare sun=union {
object {
sphere {0,1}
pigment {sun_surf}
//pigment {Yellow}
finish {ambient 5}
scale 3
}
object {
kromos
//translate <sax,0,say>
//scale 3.25
scale 3.25
}
object {korona
scale 1
}
};
object {
sun
scale 0.6
}
Licensing edit
- 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/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 17:21, 29 August 2021 | 1,280 × 1,024 (247 KB) | Merikanto (talk | contribs) | Uploaded own work with UploadWizard |
You cannot overwrite this file.
File usage on Commons
There are no pages that use this file.
Metadata
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.
PNG file comment |
|
---|---|
File change date and time | 17:15, 29 August 2021 |
Software used |