Thanks Glen, Danny, and Mark, I'll give these a try!
Jason Merrill
Bank of America
GTO Learning Leadership Development
eTools Multimedia Team
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
\I'm no math whiz, does anyone know how I can draw a golden spiral and position
and move sprites/movieClips along a golden spiral path?
What is a golden spiral?
http://en.wikipedia.org/wiki/Golden_spiral
In geometry, a golden spiral is a logarithmic spiral whose growth factor b is
related to
Hi,
I think you need to do Rectangular to Polar conversion after working
out your r value based on your angle.
Assuming c is calculated by
c = \varphi ^ \frac{2}{\pi} = 1.358456
Then here is some psuedocode.
for(angle = 0;angle revolutions;angle += step) {
c =
What is a golden spiral?
http://en.wikipedia.org/wiki/Golden_spiral
In geometry, a golden spiral is a logarithmic spiral whose growth factor b
is related to φ, the golden ratio. Specifically, a golden spiral gets wider
(or further from its origin) by a factor of φ for every quarter-turn it
var radius = Math.pow( a * c, angle );
Ooops, should be:
var radius = a * Math.pow( c, angle );
And angle is in radians, so Math.PI * 2 is a full circle. It's what
Math.atan2() gives you (not so incidentally), so if you want to tie it
to a mouse pos...
Mark
On 9/11/07, Mark Winterhalder
5 matches
Mail list logo