PEP Demo

In the canvas above, we are drawing squares when the event pointermove is triggered.

Edit in JS Bin