A scroll-driven Three.js soda-can showcase with a draggable lineup, a dark studio scene, and a top-lit hero can.
This demonstration was built by GPT-5.6 Sol Ultra in roughly 20–30 minutes, with Fatih directing the visual and interaction changes. The process started from a short reference video and moved through a handful of prompts: build the Three.js scroll choreography, fix the full-height framing, add horizontal can browsing, simplify the typography, generate recognizable label textures, and finish with a dark spotlighted stage.
- Seven textured cans arranged as a draggable horizontal lineup.
- Scroll-driven transitions between lineup, hero, burst, and finale states.
- A warm spotlight that follows the highlighted Sprite can from above.
- Responsive camera fitting so the hero can remains fully visible.
- Mouse, trackpad, touch, button, and keyboard controls.
- 3D can: “Soda Can” by Jeremy, downloaded from Poly Pizza and used under CC BY 3.0.
- Can textures: created with OpenAI ImageGen through the Codex imagegen skill as flat, cylindrical 2:1 label textures.
- Rendering and interaction: Three.js and Vite.
The label images are AI-generated demonstration graphics, not official packaging artwork. Coca-Cola, 7UP, Dr Pepper, Sprite, Fanta, Pepsi, and Mountain Dew are trademarks of their respective owners.
npm install
npm run devCreate a production build with:
npm run buildThe main branch is automatically built and deployed to GitHub Pages through
the included GitHub Actions workflow.