Press space to redraw the bezier curve. Click and drag the Start, End, and Intermediate Points.
I got the original Bezier Idea from https://www.jasondavies.com/animated-bezier/ I got the algorithms from https://www.youtube.com/watch?v=2HvH9cmHbG4