/gsap-threejs-3d-scroll

A TypeScript Next.js app that uses gsap and three.js to create a 3d effect while scrolling down a page.

Primary LanguageTypeScript

3D Scrolling Demo

Tech:

  • Next.js 13 (with app-router)
  • TypeScript
  • Tailwind CSS
  • gsap
  • three.js
  • framer-motion
  • @react-three/drei
  • @react-three/fiber

Originally this is a Next.js project bootstrapped with create-next-app.

Upgrade...

🛠️ Refactor the ScrollTrigger / gsap.skewRevealText() connected to all the useRefs() in Page.tsx - Should be a class application / regular timeline.. - See the folling:

Warning:

⚠️⚠️TS🐛⚠️⚠️ There is an any in the interface for the ZeussModel's scrollYProgress

My thanks to the inspiration [and cleaned up 3d file!] from Maximilian V - max(at))mv-wip.de via @gitconnected.