This is how I built a fully 3D, scroll-animated website for a made-up space travel company with Claude Code. I started with an empty folder, ended with a live Vercel link, and never wrote a line of code. Every prompt I used is below, word for word, so you can copy them and build your own.

Why 3D scroll websites are worth learning

On this kind of website, something new happens every time you scroll. The camera flies through a galaxy, a planet spins under your scroll wheel, a rocket launches, and the text builds itself in front of you.

Websites like this win design awards. Studios regularly charge anywhere from $10,000 to $50,000 to build one, because you normally need a 3D artist, a motion designer and a front-end developer working together for weeks.

I built this one with nothing but Claude Code, in about 1% of the time a studio would need. In total, Claude worked for a little over two hours, and I spent most of that time waiting. Here's the plan I followed:

  1. Claude writes a proper spec for the website.
  2. Claude Code builds the first version.
  3. I review it honestly and list what's wrong.
  4. We upgrade the design so it looks award-winning.
  5. We add even more scroll animations.
  6. We publish it live with a real link.

The website we're building: Halo Orbital

Before building anything, I went looking for inspiration on Awwwards, a site where designers vote for the best websites in the world. If you filter the gallery by 3D, you'll see that a huge number of the winners are 3D scroll experiences: car configurators, neon tunnels, rotating logos, whole little worlds you scroll through.

So today we're building the website for Halo Orbital, a made-up space travel company. The whole site is one continuous journey from Earth to the Moon. Here's the scroll story:

  • A swirling galaxy of glowing particles, with the headline floating inside it
  • A 3D Earth that rotates as you scroll
  • A rocket that launches when you reach the launch section
  • A camera fly-through of an asteroid field
  • A sideways-scrolling row of 3D destination cards
  • A final landing on the Moon, where the booking section lives

Why this kind of website? Every award-winning 3D website I looked at follows three rules, and I designed Halo Orbital around all three.

It tells a story as you scroll. Nobody wants to read a wall of text about space travel. But if every scroll takes you one step closer to the Moon, people keep scrolling just to see what happens next.

It keeps things simple. There's only one thing to look at in each scene, and you can explain the whole idea in three words: scroll to launch.

It's naturally shareable. People screen-record websites like this and post them with captions like "how is this even a website?" Every one of those posts is free marketing for the brand.

This matters for you because businesses pay serious money for websites like this, whether it's a product launch, a startup landing page or a portfolio. Once you can build one quickly, you can use it for your own product or build them for clients.

Step 1: Write a proper spec before any code

The biggest mistake beginners make is opening Claude and typing "make me a 3D website." You'll get a spinning cube on a black background, and that's about it.

The most important thing to have before you build a single scene is a proper spec. A spec is the blueprint: what happens in every scene, what triggers each animation, and which tools the website uses.

So I opened a completely empty folder and started Claude Code inside it.

Anthropic's agentic coding tool that works in your terminal, IDE, desktop app and on the web.

Paid

Anthropic's family of proprietary large language models (Opus, Sonnet, Haiku tiers) for reasoning, coding and agents.

Paid

Claude Code is Anthropic's AI agent that works right on your computer. It can create files, run the website, read its own errors and fix them, all on its own. It comes with Claude's paid plans, starting with the Pro plan at $20 a month. I ran it with Opus 5.5, the model I trust for big builds like this one (my session showed Opus 5.5 on medium effort).

At this point I'm not asking it to build anything. I'm asking it to plan. This is the exact prompt that tells Claude to write the full build spec and nothing else:

code
I want to build a premium, award-level 3D scroll-animated website for a fictional space travel company called Halo Orbital. Do not write any website code yet. Your job right now is to write a complete build spec and save it as SPEC.md in this folder.

The website is one continuous scroll journey from Earth to the Moon. Scenes in order:

1. Hero: a swirling galaxy of glowing particles with the headline “The Moon is closer than you think” floating inside it, plus a subtle mouse parallax.

2. Earth: the particles pull apart and a realistic 3D Earth fades in and rotates as the user scrolls.

3. Launch: a rocket lifts off from a launch pad with a smoke particle trail, and the camera follows it into space.

4. Asteroid field: the camera flies through floating asteroids while three short feature statements reveal one by one.

5. Destinations: a horizontal-scrolling row of tilted 3D cards (Low Orbit, Space Station, Lunar Flyby, Moon Base) that moves sideways while the user scrolls down.

6. Moon landing: the camera lands on the Moon's surface, where the booking section and footer live.

The spec must include:

1. The recommended tech stack for a high-end build (3D library, scroll animation library, smooth scrolling library, build tool), with one line on why each was chosen.

2. A scroll timeline table: for every scene, the scroll start and end points, what the camera does, what the 3D objects do, and what the text does.

3. How every animation reverses cleanly when the user scrolls back up.

4. The page sections and the exact copy for every headline, sub-headline and button.

5. Performance rules: 60 frames per second on a modern laptop and a smooth experience on a mid-range phone.

6. A mobile plan, and a fallback for devices that cannot display 3D.

7. A list of every 3D asset, and how each one is created in code or sourced from free, properly licensed sources.

If anything is unclear, make a sensible decision and write the assumption down in the spec. Do not stop after a summary: the deliverable is the complete SPEC.md file.

About four minutes later (4 minutes 12 seconds, to be exact), I had a 486-line file called SPEC.md. This is where the magic happens.

For the 3D, Claude picked Three.js, the most popular tool for 3D in a web browser. For the animation, it picked GSAP with ScrollTrigger, which ties every animation to your scroll position. The animation plays forward when you scroll down and rewinds when you scroll up. For smooth scrolling, it picked Lenis, which makes the scroll feel like it's gliding. The build tool is Vite with TypeScript, plus a few helpers, including Playwright for automated testing.

The part I love most is the scroll timeline. The whole journey is 1300vh tall (about thirteen screens of scrolling), and each scene gets its own slice of it:

SceneScroll range
Hero galaxy0.00 to 0.10
Earth0.10 to 0.26
Launch0.26 to 0.44
Asteroid field0.44 to 0.62
Destinations0.62 to 0.82
Moon landing0.82 to 1.00

A detailed table below that lists, for every scene, what the camera does, what the 3D objects do and what the text does. The 3D and the text run off the same timeline, so they can't fall out of sync. Don't skip this part. Without it, your website will break.

The rest of the spec was just as thorough. It had rules for reversing every animation cleanly, exact copy for every section, performance budgets for high, medium and low quality tiers (for example, 120,000 galaxy particles on high and 35,000 on low), a mobile plan with a still-image fallback for devices that can't run 3D, and a list of 25 assets. Most assets are built in code, with Earth and Moon textures from NASA (public domain). It also wrote down every decision it made where my brief was open, like no sound, made-up prices and an original rocket design.

Step 2: Let Claude Code build the first version

Now the fun part. I told Claude Code to build the whole website straight from the spec. Notice that I ask it to scroll through the site itself before it tells me it's done, so it catches its own mistakes first. Here is the exact build prompt:

code
Read SPEC.md and build the complete Halo Orbital website exactly as specified.

Requirements:

1. Build every scene in the scroll timeline, in order, with every animation tied to scroll position so it plays forward on scroll down and reverses on scroll up.

2. Use smooth scrolling across the whole page.

3. Render all 3D inside one canvas behind the page content, with the text and sections layered on top.

4. Write all the copy from the spec. No lorem ipsum and no placeholder sections.

5. Make the layout responsive for desktop, tablet and phone.

6. Start a local preview server and give me the link.

Work autonomously. Install whatever you need, fix any errors you hit, and scroll through the full site yourself in a browser to check that every scene appears and animates before declaring completion. Do not stop after creating a mockup or partial prototype.

From there it ran on its own. It read the spec, set up the project, built each 3D scene, wrote the scroll timeline and started a preview of the website. That's work that would normally take a 3D developer days.

It took a little over an hour. When it finished, it gave me two local links (a production build and a development server) and a report. It had scrolled the whole site in headless Chrome at three desktop sizes, a tablet size and a phone size, held about 60 frames per second with no console errors, and checked that scrolling back up gave matching frames at every checkpoint.

The report was honest about the gaps too. It hadn't tested on a real mid-range phone, only phone emulation. It had seen occasional short pauses the first time the destination cards and the booking panel appeared. And it listed where the build differs from the spec, for example generating the clouds in code because NASA's image server was unreachable. You want that kind of honesty from an agent.

Step 3: The first look, and the honest problems

I opened the preview, and wow.

The hero is a galaxy of about 120,000 tiny glowing particles slowly swirling, with the headline "The Moon is closer than you think" floating right in the middle. When I move my mouse, the whole galaxy tilts slightly with it.

When I scroll, the particles pull apart and the Earth fades in behind them under "It all starts with home". As I keep scrolling, the Earth rotates, so I'm literally spinning the planet with my scroll wheel.

Then comes the launch section, "Four minutes to space". The rocket lifts off from a launch pad with a red tower, a trail of smoke follows it, and the camera follows it up into space with a small altitude readout. If I scroll back up, the rocket goes right back down to the launch pad. That's the scroll timeline doing its job.

Next is the asteroid field, where the camera flies straight through floating rocks while the feature statements reveal themselves. But I noticed something weird: the scroll stutters right there, as if the website is struggling. My guess is it's drawing too many asteroids at once.

Then come the destination cards (Low Orbit, Space Station, Lunar Flyby and Moon Base), which move sideways while I scroll down. That's a really nice touch. But when I scroll back up, two of the cards go blank. That's a bug.

The Moon landing at the end works, with "Welcome to the Moon", Earth in the sky and a full booking form sitting right on the surface. Picking a destination card even fills in the form's destination field.

So let me be honest. The first version is impressive, and every scene is there. But it's not stunning yet:

  • The colors are the generic purple gradient you see on every AI-made website.
  • The headline overlaps the Earth on my laptop screen.
  • The asteroid field stutters.
  • Two destination cards go blank when scrolling back up.

Step 4: Upgrade the design with the UI UX Pro Max skill

Design builds trust in the first three seconds. If your website looks cheap, people assume the company behind it is cheap too. But typing "make it look better" is way too vague, so this time I gave Claude Code a design skill.

A skill is an add-on instruction pack that teaches Claude to do one specific job really well. The one I used is UI UX Pro Max, a free, open-source skill on GitHub, made by the community, not by Anthropic.

Why this one? Most AI design advice gives you the same safe look every time, which is why so many AI-made websites look identical. UI UX Pro Max comes with its own searchable library of UI styles, color palettes, font pairings and UX rules (its description even lists Three.js among the stacks it supports). So instead of guessing, Claude looks up what fits this kind of brand and turns it into a design system: one file with all the visual rules for colors, fonts, spacing and motion. That way, every part of the website looks like it came from the same designer.

Installing it takes two short commands in Claude Code. The first adds the skill's marketplace, and the second installs the skill:

code
/plugin marketplace add nextlevelbuilder/ui-ux-pro-max-skill
/plugin install ui-ux-pro-max@ui-ux-pro-max-skill

Then run /reload-plugins so Claude Code picks up the new skill.

In the prompt, I tell Claude to use the skill by name, but I still give it my own design direction, because the skill works best when you tell it exactly what feeling you want. This is the design system prompt:

code
Use the ui-ux-pro-max skill for this whole task. The site works, but the design looks generic. First, use the skill to research the right style, palette, typography and UX rules for a cinematic, premium space travel brand. Then generate a design system, save it as design-system.md in this folder, and apply it to the whole site.

Design direction: a cinematic, premium space brand that feels like a film title sequence, not a tech startup.

1. Colors: deep midnight navy background (#05060A), warm ivory text (#F3EDE2), and one accent color, solar orange (#FF6B2C), used only for buttons and key highlights. Remove all purple gradients.
2. Typography: a large, elegant display serif for headlines (Fraunces) and a clean sans-serif for body text (Inter). Headlines reveal word by word, sliding up from behind a mask.
3. Atmosphere: a subtle animated film grain over the whole page, a soft glow on bright 3D objects, and gentle depth of field in the asteroid field.
4. Loader: a full-screen intro loader with a counter from 0 to 100 while the 3D assets load, then a smooth fade into the hero.
5. Spacing: generous whitespace, a maximum text width, and one consistent spacing scale.
6. Motion: one shared easing curve and duration scale for every animation, so everything feels like one system.
7. UX check: run the skill's UX guidelines (contrast, hover and focus states, spacing, motion) against every section and fix anything that fails.

Work autonomously and test the full scroll on desktop and phone sizes before declaring completion.

This one took about 33 minutes. Before it changed anything, Claude searched the skill's style library and wrote design-system.md first, so every color, font and animation speed now has a rule behind it.

Then I reloaded the page. There's a loading screen with a counter from 0 to 100, and then the galaxy fades in. The purple is gone. The site is now deep midnight navy with warm ivory text and one bright solar orange for the buttons. The headline uses a big, elegant serif, and each word slides up into place. A subtle film grain over everything makes it feel like a movie instead of a website. The buttons now light up on hover, which came straight from the skill's UX check.

And the bugs? The headline sits above the Earth now, with no more overlap. The asteroid field is smooth. All four destination cards show up when you scroll back up. Side by side, the before and after are night and day. Literally.

Step 5: Push it further with four more animations

The website looked great, but I promised a website with tons of animations, so I pushed it further with four more effects:

  1. A warp-speed effect, where the stars stretch into light streaks when you scroll fast
  2. A particle morph, where the galaxy particles reshape into the rocket, and later into the Halo Orbital logo
  3. 3D pricing cards that tilt toward your mouse
  4. A magnetic custom cursor that grows over buttons

This prompt adds all four, and makes sure nothing that already works gets simplified:

code
Add these four effects to the site. Follow design-system.md, and make sure every effect is tied to scroll or mouse movement and reverses cleanly:

1. Warp speed: the background stars stretch into light streaks based on how fast the user scrolls, and smoothly settle back into points when scrolling stops.

2. Particle morph: between the hero and the launch scene, the galaxy particles flow together into the shape of the rocket before the real rocket appears. On the Moon at the end, the particles form the Halo Orbital logo.

3. 3D pricing: add a pricing section on the Moon with three ticket cards (Orbit $4,900, Station $19,000, Lunar $89,000). Each card tilts in 3D toward the mouse, with a soft light sheen moving across it.

4. Custom cursor: a small ivory circle that follows the mouse with a slight delay, grows over buttons and gently snaps toward them like a magnet. Hide it on touch devices.

Work autonomously and check every effect in the browser yourself before declaring completion. Do not remove or simplify any existing scene.

It came back after a little under half an hour. When I scroll slowly, nothing changes. When I scroll fast, the stars stretch into warp streaks, then settle back into tiny points when I slow down. Honestly, it's mind-blowing.

For the particle morph, thousands of particles flow together into the shape of the rocket, and then the real rocket appears in its place. At the end, on the Moon, the particles come together into the Halo Orbital logo. The pricing cards tilt toward my mouse with a soft shine sliding across them, and the cursor is now a little ivory circle that snaps onto buttons like a magnet.

Step 6: Publish it live on Vercel

At this point the website only existed on my computer, so it was time to put it on the internet. I used Vercel, which hosts websites and gives you a public link. Publishing a site used to mean servers, build settings and a lot of confusing configuration. I just asked Claude Code to do it. This prompt makes a production build, checks it, and deploys it:

code
Deploy this website to Vercel so it has a public link. Make a production build first and check it locally. Walk me through any step that needs me, like logging in, and then give me the live link.

It set everything up, asked me to log in to Vercel once in my browser, and deployed. A few moments later I had a live link. On the live site, the loader counts up, the galaxy appears, the Earth spins as you scroll, the rocket launches, the stars stretch into warp speed, and it all lands on the Moon, where the booking section is waiting.

What it took, in numbers

StepClaude's working time
Spec (SPEC.md, 486 lines)About 4 minutes
First full buildA little over an hour
Design upgrade with UI UX Pro MaxAbout 33 minutes
Four extra effectsA little under 30 minutes
Deploy to VercelA few minutes, plus one login

That's a little over two hours in total, and I didn't write a single line of code. Three things made the difference:

  • Plan first. The spec and its scroll timeline are why the 3D and the text stay in sync and every animation reverses cleanly.
  • Make Claude check its own work. Every build prompt tells it to scroll through the site in a browser and not stop at a mockup.
  • Give the skill a direction. UI UX Pro Max supplies the research, but your colors, fonts and mood are what make the site feel like your brand.

Wrapping up

We started with an empty folder and an idea, and ended with a fully 3D animated website for Halo Orbital: a galaxy, a spinning Earth, a rocket launch, an asteroid fly-through, sideways destination cards, warp speed, a particle morph, 3D pricing cards, a magnetic cursor and a Moon landing. That's ten scroll and mouse animations, live on the internet with a real link. Studios charge thousands of dollars for this, and it took Claude Code a little over two hours. Copy the prompts above, swap in your own brand, and you can ship one this afternoon.

Found this useful? Get the whole directory inside your AI assistant.
Claude, Cursor, Codex or VS Code can search AI tools, MCP servers and skills for you, and set them up. Free, no account.

Setup guide