Most 3D hero sections load a model file and spin it. This one has no model file. The octopus is built from spheres, tori and lathed curves in code, and one object of seven numbers decides how far apart it is, so every scroll chapter is just a different set of numbers.
Nothing to attach, nothing to connect. No images, no video, no MCP servers or API keys: Three.js and GSAP load from public CDNs inside the prompt. Scroll the live build first. If the page your AI returns stays blank when you double-click it, open it through a local server (
npx serve .), because browsers block ES modules on file://.The prompt
Paste this into Claude (or any AI that writes code), save the file it gives you as index.html and open it through a local server. It's long on purpose: every size, colour and timing is written down so the octopus comes out the same.
Make it yours
| Swap | How |
|---|---|
| The object | Keep the method, change the subject: a camera, a watch or a drone you can describe in parts, with its systems as the chapters. The state object and go(preset) carry over unchanged. |
| The accent | --accent and the accent and glow material colours are the only orange in the build. Change all three together (the original was green, #19d68a). |
| The chapters | Each chapter is a preset (rotation, camera, target) plus a side and a shift. Reorder them, drop one, or add your own with its own state value. |


