Home

Awesome

SuperformulaSVG for web is an interactive drawing application that lets you generate shapes using the 2D superformula and export them in both SVG and raster image formats for use with laser cutters, plotters, or anything else you can think of!

The application provides two ways of coming up with forms - a tuning mode to dial in an exact shape to your liking, and a discovery mode to generate sets of randomized shapes within configurable ranges.

This application expands upon a Processing sketch I put together a while back with similar functionality, ported to web technologies so that anyone can play with it without having to know anything about coding or setting up a development environment.

Usage

To start generating forms choose from either Tune or Discover mode on the initial screen. From there you will be presented with a menu on the right side of the screen that you can use to manipulate the parameters used to generate the shape(s) on the screen.

Tune mode

In 'tuning' mode the sliders let you directly control the parameters of a single shape in real-time. Use them to craft a specific shape, perhaps based on interesting shapes you find in the 'Discover' mode.

Discover mode

In 'discover' mode the sliders let you define the minimum and maximum values for each of the parameters, as well as the number of rows and columns you'd like to generate.

Both modes also include a few common buttons that you can use:

Keyboard controls

Some basic keyboard controls are also made available to allow for slightly quicker use of the application.

In-app help

Use the ? icon in the application to bring up a condensed 'help' window. Click anywhere to hide it.

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 book FORM+CODE, I've also included 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:

Technologies used


Initial screen to choose mode

Tune mode

Discover mode

Inverted colors

Help screen