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.
| 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.
Abhivadaye Generator
Game of Life
Anagram Finder
Deflection Demo
Break Out
Cycloids
Double Pendulum
Flocking
Fog fly through
Fractals
EV Savings
Target Finder
Bouncing Spheres
Horizontal Stars
Image Scanning
Pandemic Simulator
JSON Beautify
Julia Sets
Kaleidoscope
Kock Fractals
Lorenz Attractor
Mandlebrot Set
Meta Balls
Number Convert
Number Game
Forces on Objects
Particles & Nodes
Simple Pendulum
Perlin Noise
Poisson Disk
QuadTree Search
8 Queens Problem
Natural Flocking
Ripples
Set Demonstration
Sine Waves
Classic Snake
Starfield
Sierpinski Triangles
Super Shapes 2D
Tic Tac Toe
Voronoi Diagram
Who Moved My...