Skip to content
Shaw edited this page Nov 12, 2015 · 16 revisions

Canvallax is a small (5.4kb minified, 2kb gzipped) Javascript library with no dependencies for managing elements on <canvas>, with built in support for:

  • Parallax Scrolling, with optional damping to smooth motions
  • Images on Canvas, from URLs or nodes (<img />, <canvas />, etc) with Canvallax.Image
  • Element stacking with zIndex
  • Fixed position Elements
  • Distance/scaling
  • Element cloning

Canvallax is primarily meant to help with unifying positioning, scale and scroll effects for elements drawn on canvas, and some canvas knowledge will be needed for more advanced implementations like custom elements and animation.

Learn more about:

Clone this wiki locally