Home

Awesome

SuperformulaSVG

Generative superformula vector-based line-art sketch for Processing, supporting both SVG and raster image output.

Uses some core code provided by Form+Code.

About the superformula

The superformula is a mathematical method for generating radial geometry with diverse, often organic-looking features. It is described by the following formula:

Superformula equation

Where φ (phi) is an angle (between 0-359) and the resulting value r being the radius of the geometry at that angle.

Here is how I like to think of the parameters and how they affect the resulting drawing:

Following the example set by the original Form+Code example I also include the ability to run multiple iterations of the superformula with slightly changing (decaying) parameter values. You can control these parameters using the iterations and decay sliders.

Learn more about the superformula through:

Keyboard commands:

Screenshots

Single drawing

Three columns, two rows

Lots of rows and columns