This is an implementation of scroll physics inspired by iOS. You can drag the red ball around inside the dark square. If you drag it outside the dark bounds it will get pushed back. If you drag it fast and release the mouse it keeps its momentum and decelerates slowly.
laszlokorte/smooth-drag
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
This is an implementation of scroll physics inspired by iOS.
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published