This is a simple parallax library that works with cursor and device orientation.
github.com/yoshi3/cursor-parallax
yoshi3/cursor-parallax