MandalaVis

The perfect spiral.

Posted on March 10, 2025

I started trying to make a spiral using Bezier curves. Bezier curves use control points that determine the curves. I could not get a spiral that I was happy with. They were crooked! They weren't perfect. So I changed the code to calculate 360 different lines for each turn around the center. The first time I ran that I knew it was right. It was perfect and looked beautiful. I now have spirals in my toolbox. They can take a size parameter. I've hardcoded them (for now) to have two turns around the center because I liked the aesthetics of that. It will be easy to add a parameter for more turns later if necessary.