Page 1 of 1

Spherical Helix

Posted: June 14th, 2012, 3:16 pm
by Jonty800
Image

Here is the spherical helix:
x=sqrt(1-t^2)sin(2Pi*t + u + Pi*v)
y=sqrt(1-t^2)cos(2Pi*t + u + Pi*v)
z=t
t from -1 to 1
u from 0 to 0.8
v either 0 or 1

This uses LaoTszy's math commands, and is difficult to set all the values and then draw the helix, so I want to make it just /SHelix, using minimal code. So it'll just be a simple drawing command.

Since a spherical helix is just awesome, could I contribute /Helix and /Shelix for fCraft, when I make the commands?

Re: Spherical Helix

Posted: July 6th, 2012, 2:08 pm
by fragmer
That's... waaay too specific of a command. I'd rather not include this in the core.