Custom continue after drag

I wrote this little helper for a custom “Continue after drag” to control friction and other aspects. If you want to use it you need to make sure the regular version is disabled in Hype.

Hope it helps.

Preview:
continueAfterDrag.html

Download:
continueAfterDrag.hype.zip

4 Likes

↑ look at project
1.1 now has a config option borderMode bounce, shift and none
Bounce was the old default.
1.2 now has a config option maxVelocity (in seconds per tick)
default to two and set it very high to disable the effect

1 Like

↑ look at project
1.2 maxVelocity is now per second instead per tick
This means that maxSpeed at 1 should be regular playspeed
Added circular demo thanks to @h_classen