Advertisement

Sprials?

Started by January 29, 2003 07:57 AM
2 comments, last by laeuchli 22 years ago
Dear all, Does anyone hae informations on a equation for a spiral curve? Thanks, Jesse
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.

John BlackburneProgrammer, The Pitbull Syndicate
Advertisement
Ahh, thanks...
Jesse
Here''s the equation for a helix on the z axis:

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

This topic is closed to new replies.

Advertisement