File:Spiral galaxy povray 1.png
Original file (1,600 × 1,200 pixels, file size: 1.37 MB, MIME type: image/png)
Captions
Summary
editDescriptionSpiral galaxy povray 1.png |
English: Spiral galaxy. Artist impression. |
Date | |
Source | Own work |
Author | Merikanto |
POV-Ray 3.7 source code
//
// spiral galaxy
// POV-Ray 3.7 source code
//
// 24.1.2023 0000.0000
//
- include "functions.inc"
- include "shapes.inc"
- declare color1= <1, 1, 4>;
- declare color2=<0.1, .5, 1>;
- declare color3=(color1+color2)/2 ;
camera {
location <0,-1, -1.5>
look_at <0, 0, 0>
angle 40
}
sky_sphere
{
// stars
pigment {
bozo
scale 1/1000
color_map {
[0 color rgbt <1,1,1,0>]
[0.2 color rgbt <1,1,1,1>]
[1 color rgbt <1,1,1,1>]
}
}
}
- declare gal1 = pigment {
/*
function {
0.01*f_granite( atan2(x,y)/(pi) ,0,0 )*0.1/pow( (x*x+y*y),2)
}
*/
onion
scallop_wave
scale 2
pigment_map {
[ 0.0 color rgb color1/2 transmit 0.2]
// nucleus
[ 0.0 wrinkles
scale 1
turbulence 0.2
pigment_map
{
[0 color rgb color1 transmit 0.0]
[0.0
bozo scale 0.005
pigment_map {
[0.0 rgb 0 transmit 1]
[1.0 bozo scale 0.01 color_map { [0.0 rgb color1*2 transmit 0.3] [1.0 rgb color1 transmit 0.6]} ]
}
]
} // warp {turbulence .05 octaves 3 lambda 2}
]
// arms
[ 0.25
spiral1 -2
scale 0.5
turbulence 0.1
scale 1/7
// scallop_wave
// sine_wave
// poly_wave 3
pigment_map {
// [-1/2 color rgb <0,0,0> transmit 1 ]
[0.0 wrinkles
scale 0.3
turbulence 0.2
pigment_map
{
[0 color rgb 1 transmit 0]
[0.0
wrinkles scale 1
pigment_map {
[0.0 rgb 0 transmit 1]
[1.0 bozo scale 0.02 color_map { [0.0 rgb 0 transmit 0.8] [1.0 rgb color1 transmit 0.3]} ]
}
]
} // warp {turbulence .05 octaves 3 lambda 2}
]
[1 color rgb <0,0,0> transmit 0.3]
} // spiral
]
[ 0.7
spiral1 -7
scale 0.5
turbulence 0.1
scale 1/7
scallop_wave
// sine_wave
// poly_wave 3
pigment_map {
// [-1/2 color rgb <0,0,0> transmit 1 ]
[0.0 wrinkles
scale 0.3
turbulence 0.2
pigment_map
{
[0 color rgb 1 transmit 0]
[0.0
wrinkles scale 1
pigment_map {
[0.0 rgb 0 transmit 1]
[1.0 bozo scale 0.02 color_map { [0.0 rgb 0 transmit 0.8] [1.0 rgb color1 transmit 0.3]} ]
}
]
} // warp {turbulence .05 octaves 3 lambda 2}
]
[1 color rgb <0,0,0> transmit 0.3]
} // spiral
]
[1
color rgb 0 transmit 1
]
}
}
- macro galaxy1()
object {
disc {0,<0,0,-1>,1 }
texture { pigment { gal1 } }
finish {ambient 5}
scale 0.5 rotate z*40
}
- end
object {
galaxy1()
}
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 | 09:38, 24 January 2023 | 1,600 × 1,200 (1.37 MB) | 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 | 09:35, 24 January 2023 |
Software used |