1 2 3
Snap-to-grid for simple objects in rapaheljs. Not perfect, things get messed up if dragging is too fast.