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.
A few of the bézier diagrams with visible control points are interactive too.