Squircle

2020-11-13

A squircle is a shape interpolation between a square and a circle.The squircle is obtained by drawing a circle and changing its radius using the formula below.

min(1/abs(cos(theta)),1/abs(sin(theta))))

Get the codeSpace occupationStraight curve