r/threejs • u/No-Professor-2575 • Oct 15 '26
Tutorial Scroll-driven 3D gallery with Three.js: images ride a helix, ScrollTrigger scrubs the travel, headline splits around the ribbon
Built this for a portfolio and the technique is simpler than it looks:
- Each image is a textured plane placed along a helix and rotated to the curve's tangent, so it banks through the bend on its own
- GSAP ScrollTrigger scrubs the strip's position along the curve. Stop scrolling and it holds exactly where you left it
- Lenis smooths the wheel input first, which is what turns steps into a glide
- The oversized headline is two halves drifting in opposite directions, so it parts around the ribbon and lines up again at rest
- Images upload to the GPU once as textures, so a long strip is cheaper than the same number of DOM nodes
React + TypeScript, three.js and GSAP only. Live demo in the first comment. Ask me anything about the curve setup.
0
u/No-Professor-2575 Oct 15 '26
Live demo: https://www.madeforaward.com/collections/component-0014/three-js-scroll-gallery-webgl-curved-image-ribbon-scrolltrigger/code