It is currently January 18th, 2018, 5:49 pm


All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Spherical Helix
PostPosted: June 14th, 2012, 3:16 pm 

Joined: August 21st, 2011, 6:31 am
Posts: 280
Location: United Kingdom
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?

_________________
You cannot use certain BBCodes: [img].


Top
Offline Profile  
Reply with quote  
 Post subject: Re: Spherical Helix
PostPosted: July 6th, 2012, 2:08 pm 
fCraft Developer
User avatar

Joined: May 21st, 2011, 10:53 pm
Posts: 1386
That's... waaay too specific of a command. I'd rather not include this in the core.


Top
Offline Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Theme created StylerBB.net