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 how to update rotation, scale and relativeTranslation values.

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