Interactivity on the Canvas with JavaScript

Including dragging, gestures, transforms, hit tests and more!

Welcome readers from ◎ Your Guide to Coding Creativity on the Canvas

capture traditional events such as click, mousedown, mouseover, mouseout, pressmove, pressup, keydown, keyup with the on() method, a shortcut to the JavaScript addEventListener().

You are welcome to code with an Online Editor. Copy or type and TEST this: