Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.



This topic is 5652 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

There''s more than one. First they are easiest to wrote down in polar coordinates, e.g. r = f(t), where r is the radius or distance from the origin and t is the angle rotated through.

In this form the two most common spirals have equations

r = a * t

r = a * b^t

The first equation gives you a spiral with a constant gap as the spiral expands. This is the spiral you get when you wrap or roll up into a spiral. E.g. a roll of paper, or a spiral of string glued onto card.

The second spiral gives you an equal angled spiral, and is the same as seen in spiral shells and other self-similar spiral forms in nature.

Share this post

Link to post
Share on other sites
Here''s the equation for a helix on the z axis:

time = t
x = Radius * cos( t )
y = Radius * sin( t )
z = Spacing Constant

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!