Skip to content
/ uberlax Public

A high-performance canvas based parallax library

Notifications You must be signed in to change notification settings

fwdop/uberlax

Folders and files

NameName
Last commit message
Last commit date

Latest commit

a23e36c · Nov 22, 2018

History

26 Commits
Nov 20, 2018
Nov 20, 2018
Nov 21, 2018
Nov 21, 2018
Nov 21, 2018
Nov 21, 2018
Nov 22, 2018
Nov 21, 2018
Nov 21, 2018
Nov 19, 2018
Nov 19, 2018
Nov 21, 2018
Nov 21, 2018

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
    }
  }]
});