Skip to content
/ uberlax Public

A high-performance canvas based parallax library

Notifications You must be signed in to change notification settings

fwdop/uberlax

Repository files navigation

uberlax

Build Status

A high-performance canvas based parallax library

demo

Features

  • high-performance
  • Supported transitions: moveX, moveY, fadeIn, fadeOut
  • <iframe> support with IntersectionObserver

Demo

A demo displaying some of the features can be found here

Example

uberlax(document.getElementById('container'), {
  images: [{
    src: './images/image.jpeg',
    animation: {
      moveY: 200
    }
  }]
});