

However, as the third Clarke’s law says “Any sufficiently advanced technology is indistinguishable from magic” - so no actual magic is required - the proper technology is all that is needed.Īlthough the article contains a great deal of technical details, I hope that it will be interesting not only to computer programmers, but also to people who wonder how scrolling works under the hood, why we have what we have and how we can make the scrolling better.Īll the code examples are available as a GitHub repository. Despite the pry, the answers usually come down to something like “Mac OS uses magic, just deal with it”, which only makes the issue even more mysterious.
#PARALLELS FOR MAC SCROLLING WITH MOUSE MAC OS X#
The topic of scrolling seems to fascinate a surprising amount of people - computer forums are filled with questions like “Why does Mac OS X trackpad moves so much better than Windows?” or “Why no smooth scrolling on Linux?”. Nowadays, some interfaces are based solely on scrolling! Because scrolling is so ubiquitous, any improvement in its functioning automatically improves the user experience and can boost our productivity big time. The article complements my previous article “Typing with pleasure”, just like scrolling naturally complements typing in the day-to-day activity of most computer users.

Most of the insights came from my work on implementing “true smooth scrolling” in IntelliJ IDEA. In this article I explain what it takes to implementing high-quality smooth / high-precision scrolling on modern computers and why some systems have it while others don’t.
