non-linear scrolling

Viewed 954

Scrolling s is like, well, linear:

s(x) = x             with x among [0, ∞]

enter image description here

I'd like to apply a more fancy function, say x^2:

enter image description here

but I'd don't really know if it's possible and how...

I'd like to know your thougts on this.

EDIT

For example: is it possible to change the scrollTop value while scrolling?

Cheers.

3 Answers
Related