Ok, so, here's all the math behind drag-and-throw, or scroll inertia, or kinetic movement, or whatever you wanna call it, with grid-snapping (basically what gsap Draggable or any of those libs do behind the scenes):

· · Web · 0 · 1 · 1
Sign in to participate in the conversation – a Fediverse instance for & by the Chaos community