Dragging objects with object-oriented programming in JavaScript
Drag the circles with the mouse.
rectangleworld.com