snap: implement grid snapping for drag and resize
demo/snap: add a funky demo for grid snapping
demo/snap: use <range> input
snap: impelement anchor snapping
demo/snap: Add an interactive anchor visualization
demo/snap: improve controls
demo/snap: fix anchor range check in drawAnchors