Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
A template for building scrollable landing pages with GSAP, ScrollTrigger, and the WEBGi engine in TypeScript using Parcel bundler.
Threejs + GSAP + WEBGi is a free boilerplate template for building scrollable landing pages that combine three.js 3D scenes, GSAP ScrollTrigger animations, and the WEBGi engine in TypeScript, bundled with Parcel.
This is a vanilla TypeScript project (no UI framework) that pairs three.js 3D rendering with GSAP's ScrollTrigger for scroll-driven camera animations, all running through the WEBGi engine. As a template, it takes a 3D model and WEBGi editor exports as inputs and produces a scrollable, animated landing page with HTML/CSS design. It uses Parcel as its bundler and includes a default scene viewer accessible at http://localhost:1234/index.html after running npm start. The template ships as the companion source code for a free step-by-step YouTube course on building scrollable pages with ScrollTrigger and three.js.
npm start and create a production bundle with npm run build.assets, with a default scene ready to view.Install dependencies with npm install. Start the development server with npm start and open http://localhost:1234/index.html to see the default scene. To make changes, swap the model in the assets directory, edit the HTML/CSS, and modify the GSAP ScrollTrigger animation code. Build for production with npm run build. The companion YouTube course explains each of these steps in order.
The template and the associated course are 100% free.
Yes, this is a free template from a free YouTube course. The repository has no paid tier or license restrictions beyond the WEBGi SDK license.
You need Node.js and npm. After cloning, run npm install to install dependencies, then npm start for development. The default scene appears at http://localhost:1234/index.html.
No. The project is vanilla TypeScript with Parcel as the bundler. Styling is done with plain HTML and CSS.
WEBGi is the 3D engine (webgi.xyz) used in this template for rendering 3D models and exporting images from its editor. The template links to WebGi docs for the latest version and SDK license.