Collect objects

Control the cursor with arrow keys and perform a check, whenever it was moved.

new Collector(document.querySelector('#my-canvas'), {debug: true});

see: collector.js