Flattening

As an equation is placed inside a function of sine, its degree of curvature decreases. The more recursions of sine functions that are embedded inside each other, the more flattened the shape will become. Like smashing a ball of clay into a cube, as the sphere is smashed material is compressed. Flattening a shape also gradually scales the shape. The more cube-like the sphere becomes, the smaller it grows. A sphere can transform into a cube with one parametric equation, if slightly rounded corners are acceptable. Discrete edges would break the continuity and would require additional equations.

Get Morphing now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.