Event Tests

click to start animation, on demand repaint, using click

click to start animation, on demand repaint, using on('click',rect,fun)

click to start animation, on demand repaint, using press

click to start animation, on demand repaint, using release

onRelease: click on rects to change their colors

test press anywhere on the canvas

Test dragging

totalDrag test