|
![](/i/fill.gif) |
I'm sorry. 3*pi/4 should have been 3*pi/2
You don't need to translate the spiral any along the y-axis. Setting x and y
to the cos and sin of the angle will do that for you.
The formula itself zill make a half-moon arc. Rotating each sphere some will
give you the twist.
Like this:
#declare MinRad = pi/2;
#declare MaxRad = (3*pi/2);
#declare Test =
union {
#while (MinRad < MaxRad)
object {sphere {<0,0,0>, 0.01 translate <cos(MinRad)*1, sin(MinRad)*1,
0> rotate y*degrees(MinRad)*20 pigment {rgb <1,0,0>}}}
#declare MinRad = MinRad + 0.0001;
#end
}
object {Test /*rotate x * -90 translate <0,-2,0>*/}
#declare MinRad = pi/2;
#declare MaxRad = (3*pi/2);
#declare Test =
union {
#while (MinRad < MaxRad)
object {sphere {<0,0,0>, 0.01 translate <cos(MinRad)*1, sin(MinRad)*1,
0> rotate y*degrees(MinRad)*20 pigment {rgb <1,0,0>}}}
#declare MinRad = MinRad + 0.0001;
#end
}
object {Test /*rotate x * -90 translate <0,-2,0>*/}
"Patrick Dugan" <pat### [at] netins net> wrote in message
news:3c5dddaf$1@news.povray.org...
> Well I probably butchered the formula but here is what I made:
Post a reply to this message
|
![](/i/fill.gif) |