In case you didn't realize the coolest part of this post: mouse over the lines of code that draw the béziers. The diagrams showing béziers drawn by the code update as you mouse over each line.<p>A few of the bézier diagrams with visible control points are interactive too.
Few weeks ago, I tried to create a roulette wheel for an iOS application. For ball animation, I used CGPath but couldn't make a realistic movement then I changed it to UIBezierPath.<p><a href="https://github.com/abmussani/RouletteWheel-for-IPhone-Ipod" rel="nofollow">https://github.com/abmussani/RouletteWheel-for-IPhone-Ipod</a> (Sorry for bad code structure).