GODRICH
#css-animation#button#loader#transition#scroll#dashboard#ui#design-trends

06Drag a Corner, Release, and a Page Settles

Let go after dragging a corner past the SNAP_ANGLE snap line (90 degrees) and the spring pulls the page to the far side (180 degrees); otherwise it returns in place (0 degrees). With acceleration = -K x (angle - target) - C x velocity, K 140 and C 16 (damping ratio 0.676) reach 90 percent in 0.217 seconds, overshoot the target by 5.1 percent and settle within 0.5 degrees at 0.496 seconds, and you can drag it yourself with pointer events and setPointerCapture.

Best forThe decision and the finishing motion that settle where a drag ends up

SNAP_ANGLEKC
Drag a Corner, Release, and a Page Settles
Open in a new tab

06 Drag a Corner, Release, and a Page Settles — Measured area 32.812% · moving frames 18/23Original by GODRICH · SCSS and React ship in the zip · Flipbook Animation: 9 Canvas Page Flip Scenes

The post this demo lives in

Flipbook Animation: 9 Canvas Page Flip Scenes - preview of all 9 demosFlipbook Animation: 9 Canvas Page Flip ScenesHow does a flipbook make motion from a few drawings? 02 overlays faint neighboring pages, 05 measures where the flip rat See all demos in this post

If you like this effect - similar demos