2D Super Shapes
06 May 2020

2D Super Shapes are based off of the superformula which is based on the superellipse.This formula was first proposed by Johan Gielis to describe many complex shapes and curves that are found in nature.

The polar equation that returns the radius is as below.

where the values a, b, m, n1, n2, and n3 are values that when changed generate different shapes.

In the canvas below I have several super shapes initialized with random parameters animating. The one in the center can be changed with the sliders.

Sorry, your browser does not support Canvas.
Variable Value
A
B
M
N1
N2
N3

Javascript Demos

Here's a bunch of javascript... things I wrote over the years whenever time permitted.