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