This is a simple project that I put together while playing with parallax layers. The instantiation parameters take a minimum offset, a maximum offset, and an array of DOM element ids that will have their offsets distributed between the min and max offsets.
fig 1. Text layers with parallax positioning View example
fig 2. Large .gif files with stars simulating the infinite depths of the cosmos. View example
View Adam Portilla's portfolio website