Prototype of an Anime.js homepage-style scroll animation page, for developers who want a working example of Anime.js and Three.js driven by scroll. It is an unofficial clone and has no tests or deployed demo; run it locally with the steps below. The page uses Anime.js 4.4.1 for DOM motion and draggable interaction, Three.js for the fixed WebGL stage, and GLB module assets copied into public/models.
npm install
npm run devOpen the local URL Vite prints, usually:
http://127.0.0.1:5173/
npm run build- Full top-to-bottom scroll narrative with dark and light chapters.
- Fixed Three.js stage that loads the Anime.js module GLB assets.
- Intro, toolbox, feature, modules, and finish sections.
- Live feature demos for animation, timeline composition, scroll sync, staggering, SVG drawing, and draggable controls.
- Right-side chapter rail with progress, jump ticks, and a draggable scroll thumb.
- Responsive desktop and mobile layouts.
.
├── index.html
├── package.json
├── public/
│ └── models/
├── src/
│ ├── App.jsx
│ ├── main.jsx
│ └── styles.css
└── vite.config.js
The implementation was checked with:
npm run buildIt was also loaded locally in Chrome at desktop and mobile viewports to confirm the scroll sections, WebGL canvas, and responsive layout render without console errors.
