Click on the canvas to add more points. Press the "r" key to reset and press the spacebar to pause.
view source code