wagerfield / parallax

Parallax Engine that reacts to the orientation of a smart device
http://wagerfield.github.io/parallax/
Other
16.5k stars 2.14k forks source link

How to make it receive the values of how much you've scrolled (vertical and horizontal) instead of cursor coordinates and have it act on scroll instead of on mouse move #280

Closed MadalenaSousa closed 7 months ago

MadalenaSousa commented 4 years ago

Hi! First of all thank you for making this code public, great work!

I was trying to use it on my university project and I was wondering how to make it receive the values of how much you've scrolled (vertical and horizontal) instead of cursor coordinates and have it act on scroll instead of on mouse move.

Any help would be good! Thank you!

cyanerd commented 2 years ago

@MadalenaSousa, hello! have u find any solution? thanks

reneroth commented 7 months ago

not possible by default, code could be forked to do this, but I would use a different library like skrollr or scrollmagic for that