home page icon Flash Bestiary / Circles / Classic Spirals

Classic Spirals

Here are three different mathematically defined spirals.

The same function is used to draw each spiral. It draws a series of curve segments using the curveTo() function, starting in the center, and then working outwards. Each spiral uses a different function which computes the radius (R) , given the current angle around the circle (A).

The value K is a constant that is used to provide the amount of 'tightness' for each spiral.

If you're interested in learning more about the mathematics behind these spirals, two classics to check out are Robert Dixon's Mathographics, and Theodore Cook's The Curves of Live, both published by Dover.


sourcecode iconDownload the flash project
book iconJim's Favorite Actionscript Books
wiki iconAsk Jim about Actionscript
Next: Log Spirals

Having trouble opening the project? You may need to Upgrade to Flash MX 2004

Copyright © 2003,2004 by Jim Bumgardner. All Rights Reserved.        Leave Jim some feedback