/ Parallax

Move your mouse to change speed and move up and down

Move your mouse to change speed and move up and down

Canvas Parallax Mountains

Move your mouse to change speed and move up and down.

This pen is a modification of my previous Canvas Parallax Skyline pen, only with mountains this time! This one isn't totally optimized yet though. Still having trouble finding exactly when I can reset a point to the end of the canvas, with the least runoff on the edges. Right now I am overshooting both sides a little bit too much.

Made with

HTML
CSS
JS/CoffeeScript (jquery.js, sketch.js)

Author

Jack Rugile

Demo

See the Pen Canvas Parallax Mountains by Jack Rugile (@jackrugile) on CodePen.

CodeTea

A Nice collection of often useful examples done in HTML JavaScript CSS.

Read More