The Fast Track AI

← All guides

Create a 3D animation with Claude, no software needed: the Three.js prompt template

Keyword ANIMATION · published on

Three.js is a free code library for displaying 3D in a web page. Claude can write this code and display it in the conversation, as an artifact. You describe the world you want, and it builds it and animates it. Nothing to install: no plugin, no skill, no MCP server. You don't need to know how to code.

Step by step

  1. Step 1

    Open Claude and choose Opus 5.5

    Open a new conversation on claude.ai or in the Claude app. In the model selector, choose Opus 5.5.

    Artifacts must be enabled: in the settings, the code execution and file creation option must be turned on.

  2. Step 2

    Ask it to use Three.js

    The simplest option, for a first try:

    Prompt to copy
    Use Three.js to build a 3D animation of my café.

    Replace « my café » with your business: your shop, your workshop, your office, your warehouse.

  3. Step 3

    Paste the prompt template

    For a more polished result, copy and paste this template and replace what is in square brackets:

    Prompt to copy
    Build a single-file web app (HTML, CSS and JS) that plays a [10]-second looping 3D animation depicting [a busy street-corner café], made for a 9:16 vertical video.
    Technique: Three.js from a CDN. Rounded-edge blocks for every object, simple materials, a sun with soft shadows and ambient light.
    World: a diorama floating on a rounded slab, filled with real, recognizable objects made of simple shapes: [buildings with windows, trees, cars, delivery scooters, people, streetlights]. Lots of small moving parts.
    Motion: the world builds itself in the first second (the pieces rise and pop in with a slight bounce), then it comes to life: [customers line up, scooters leave, cars drive around the block]. Camera: a slow, smooth orbit with a slight push-in, looping seamlessly.
    Style: clean isometric rendering. Off-white floor, [royal blue, teal and green] with a touch of bright orange. No textures, no 3D text.
    Overlay: a frosted glass card titled « [Live sales] » with three numbers that go up.
    Frame: fill a 1080 × 1920 frame, no scrollbars, autoplay on load.
  4. Step 4

    Watch the animation in the conversation

    Claude writes the code and displays it to the right of the conversation, in the artifact. The animation starts on its own.

    To tweak it, ask in everyday words:

    Prompt to copy
    Slow down the camera.
    Prompt to copy
    Add trees around the slab.
    Prompt to copy
    Put the sales card in the top left.

    If the artifact stays blank or shows an error, just tell Claude (« the animation isn't showing »): it fixes its code.

  5. Step 5

    Change the world

    The same template works for any subject: just change what is in square brackets.

    • World: [a busy container port], [a rocket factory], [a parcel warehouse].
    • Objects and movements: those of your business.
    • Card: the name and numbers that matter to you.

    You can also use it for an animated dashboard, a short explainer video or a 3D tour of your company.

  6. Step 6

    Get your animation

    The artifact can be downloaded or shared from its buttons, at the top of the preview. To turn it into a video to publish, the simplest way is to open it in full screen and record it with the screen recording tool on your computer or phone.

The tools

ClaudeWrite the animation code and display it in the conversation, as an artifact. Three.jsThe free code library that displays the 3D in the page.

Good to know

Sources: support.claude.com, threejs.org, instagram.com