Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

Smooth 3D animation with Three.js v1.0.0

Use this resource to animate a 3D web scene smoothly without memory leaks

New

  • 411 downloads
  • 175 likes
  • 176 saves

$4.99

Lifetime access to this resource, with its updates.

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install threejs-motion-and-cleanup

With no option, the skill goes to ~/.agents/skills/; add --agent claude-code (or codex, cursor…) to target an agent.

First time: connect the CLI with

npx --yes palatekit@latest login

The agent builds a scene with a frame-rate independent loop, plays and blends GLTF animations, links the camera to scroll and renders thousands of objects with instancing. It delivers a single reproducible HTML file, checks it with screenshots at several moments, and disposes GPU resources properly.

Mostly picked by

Updated November 2, 2026

A 3D hero scene with a rotating solid and a camera following scroll.

Details

Generates with
Three.js
Uses
  • WebGL browser
  • Playwright (optional, for screenshots)
Licence
MIT

Similar resources

View all
  • Free

    Video

    App window with zoom

    • 365365 downloads
    • 125125 likes
    • 188188 saves
    Works with
    • Claude Code
    • Codex
    • Cursor
    • and 3 more
    + HyperFrames
  • Free

    Video

    One big number

    • 463463 downloads
    • 223223 likes
    • 100100 saves
    Works with
    • Claude Code
    • Codex
    • Cursor
    • and 3 more
    + HyperFrames
  • PRO

    Video

    Three bars head to head

    • 348348 downloads
    • 133133 likes
    • 182182 saves
    Works with
    • Claude Code
    • Codex
    • Cursor
    • and 3 more
    + HyperFrames
  • PRO

    Video

    Before / after slider

    • 322322 downloads
    • 248248 likes
    • 238238 saves
    Works with
    • Claude Code
    • Codex
    • Cursor
    • and 3 more
    + HyperFrames
  • PRO

    Video

    Three-card carousel

    • 418418 downloads
    • 157157 likes
    • 101101 saves
    Works with
    • Claude Code
    • Codex
    • Cursor
    • and 3 more
    + HyperFrames
  • PRO

    Video

    Chat exchange

    • 564564 downloads
    • 127127 likes
    • 161161 saves
    Works with
    • Claude Code
    • Codex
    • Cursor
    • and 3 more
    + HyperFrames
  • PRO

    Video

    Checklist ticking off

    • 442442 downloads
    • 233233 likes
    • 160160 saves
    Works with
    • Claude Code
    • Codex
    • Cursor
    • and 3 more
    + HyperFrames

What you get

  • SKILL.md: loop, GLTF, camera, instancing, R3F, performance, disposal, delivery and verification
  • references/r3f-and-perf.md and references/resource-disposal.md: R3F patterns, post-processing and a full disposal utility
  • README.md overview

Good fit for

  • Building an animated 3D hero for a launch page
  • Linking a 3D camera to page scroll
  • Fixing a scene that uses more and more memory

Not for

  • A site with no 3D need
  • Games with physics
  • A project without a browser

Tags

  • threejs
  • webgl
  • 3d
  • animation
  • performance

About

You say

"Make a 3D hero with a slowly rotating solid and a camera that moves down as the page scrolls, in a single HTML file."

A 3D hero scene with a rotating solid and a camera following scroll.

Skill published by iart-ai under the MIT license.

Show more

Prerequisites

You bring
A description of the scene and motion and Your GLB models if any
Dependencies
WebGL browser and Playwright (optional, for screenshots)

How to use it

  1. Describe the scene and the motion
  2. The agent writes the HTML and checks frames at different times
  3. Open the file and tweak, checking prefers-reduced-motion is honored

Content preview

Files

  • LICENSE1 KB
  • NOTICE-PALATEKIT.md0.4 KB
  • README.md0 KB
  • references/r3f-and-perf.md8.1 KB
  • references/resource-disposal.md13.8 KB
  • SKILL.md13.5 KB

Origin and licence

Modified by PalateKit

Author
iart-ai
Source
github.com/iart-ai/webgl-animation-skills/tree/50697d659fbf70152f48f9f8aadf1efe78bbdde1/skills/threejs-animation
Licence
MIT

Notice

Version modifiée de « threejs-animation » (iart-ai, MIT) : traduction française et fiche par PalateKit.

User reviews

–

No ratings yet

Loading reviews…

Delete your review?

Your rating and comment will be removed from the page.

Frequently asked questions

The text mentions a scripts/ folder. Is it needed?

No. Those helpers only capture check frames; the skill works without them using the Playwright command in the text.

Does it work with React?

Yes, it covers React Three Fiber (useFrame, ScrollControls, unmount cleanup).