By femdev on Skatehive
Learn Creative Coding (#14) - Bezier Curves and Organic Shapes Straight lines are fine for grids and geometry. But creative coding lives in the space between precision and organic flow -- and that space is made of curves. Flowing paths, smooth blobs, hand-drawn-looking lines, rivers of color, calligraphic strokes. Bezier curves are how you get there. If you've ever used the pen tool in Illustrator, Figma, or Inkscape, you've already used Beziers. Those draggable handles? Those are control points. The smooth curve that forms between anchor points? That's the Bezier equation doing its thing. Today we learn what's happening under the hood, and more importantly, how to use it creatively in code -- for shapes that ellipse() and rect() could never dream of. Last episode we explored trig for circular and spiral patterns. Bezier curves are the complement to that -- where trig gives you mathematically precise geometry (circles, spirals, roses), Beziers give you freeform organic flow. Together t