Squircle

Explore the superellipse — a shape that smoothly transitions between an ellipse and a rectangle.

Shape Parameters

Semi-major axisa = 2.0
Semi-minor axisb = 2.0
Powern = 4.0

Superellipse Formula

|x/a|n+|y/b|n= 1

When n = 2, you get an ellipse.
As n → ∞, the shape approaches a rectangle. The "squircle" sweet spot is around n = 4.

Animation

Animation Speedspeed = 1.0
Animation type: