Hacker News new | ask | show | jobs
by matt1 5906 days ago
FWIW, I implemented inertial scrolling (or flinging) on the timelines at http://www.preceden.com. You're welcome to check out the JavaScript if you're interested in implementing something similar.

It was exciting to set up... really brings you back to high school pyhsics.

2 comments

Hah, funny you should mention that. I noticed it when I stumbled across Preceden a month or two back, but it's always seemed a bit buggy, and put me off trying out the site. In Firefox & Chrome, if you drag the timeline to one side and hold in place for a bit, then release, it scrolls as if I hadn't held it stationary.
My friend Mike's essay on making things stop: http://stereopsis.com/stopping/ (I've been meaning to port it to JS, but haven't yet.)