April 04, 2004

Flash Math: Drawing Supershapes in Flash

I ran across an article online about an equation by Johan Gielis called the "Superformula" which lets you draw a wide variety of shapes using a few basic parameters.

More research revealed some sample source code that allowed you to plot these supershapes.

So I ported the code to MX, and built a simple UI for varying the parameters so you could see how this equation works.

You can see my Supershape viewer here.

All I did was convert the sample code to use the Flash drawing API, but it's a neat little math toy to play with.

Posted by andy at April 4, 2004 10:11 PM
Comments

That's pretty cool, now make 3d Supershapes :)

Posted by: Ryan at April 5, 2004 01:38 PM

'... now make 3d Supershapes...'

This sounds like a job for Director.... ;-)

Posted by: John Dowdell at April 5, 2004 03:17 PM

'now make 3d Supershapes'

done:
www.marune.de/taumel/dreidee/koerperformel/index.html

Posted by: felix at April 5, 2004 10:59 PM

yeah, thanks for doing this! It makes it heaps easier to work out the right shapes to create with animationpackage.

Posted by: iain at September 20, 2006 11:03 AM
Post a comment