block by Fil a034e32156b7b25ee9054c1bc50dc0ca

Inertia and back

Full Screen

A (not so) simple d3-inertia example.

The offset is t * (1-t) * velocity, which allows the drawing to come back to its original place after n seconds.

index.html