back to curtains.js website

Awesome scrollable content

On scroll, we apply a small rotation to the plane along the Z axis. We also add a scale effect on Y axis on both the plane and its texture. Finally, we add a parallax effect.

This illustrates the use of setRotation(), setScale() and setRelativePosition() methods.

Planes actually drawn: 0
Title 1
Title 2
Title 3
Title 4