Using De Casteljau’s Algorithm/Bezier Curves in SwiftU

Apple’s Bezier curves code is good, but sometimes you need to dig deeper

Mark Lucking
Better Programming
Published in
4 min readNov 18, 2020

--

Animation with Bezier curves
A collection of text boxes animated across three Bezier curves with foobar controls

I wrote an article the other day about using Bezier curves, the construction of which is built into Swift primitives. It’s super useful and works really well. Within that article, I mentioned in passing that the math behind it was mind-boggling. I was…

--

--

Coding for 35+ years, enjoying using and learning Swift/iOS development. Writer @ Better Programming, @The StartUp, @Mac O’Clock, Level Up Coding & More