Skip to content

Sets up three.js r187 scenes with import maps, render loop, resize, and smoke checks.

CCM score
57 of 100
skills.sh installs
14.9K
GitHub stars
12.1K
last updated
Nov 29, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the base of a plain three.js scene: module loading, scene, camera, renderer, and one render loop
  • Includes import-map and bundler setup, a Timer-driven setAnimationLoop, resize handling, and OrbitControls
  • Enforces a resolution budget with capped pixel ratio, and an unlit mesh first to prove the pipeline
  • Designed for debugging a black canvas or stalled animation, with a headless Playwright smoke check; not for GLB loading or React Three Fiber

Install

$ npx -y skills add gamedev-skills/awesome-gamedev-agent-skills --skill threejs-scene-setup -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

three.js scene setup

Builds the base every three.js game needs: module loading, the scene, camera and renderer, one render loop, resize handling, and a resolution budget. Patterns target r187. Read the installed three version first; addons, defaults and deprecations move every release.

When to use

  • Bootstrapping a three.js scene, fixing a black or blank canvas, making the canvas responsive, setting up the loop, adding OrbitControls, or choosing between WebGLRenderer and WebGPURenderer.
  • package.json depends on three, or code does import * as THREE from 'three'.
  • Not for models and animation (threejs-gltf-loading), surface look, lights and shadows (threejs-materials-lighting), or React Three Fiber (@react-three/fiber) components, whose <Canvas> owns the renderer and loop. For 2D, use pixijs-rendering or Phaser.

Workflow

Details

Repository
github.com/gamedev-skills/awesome-gamedev-agent-skills
Categories
3D, CAD & Modeling, Frontend & UI Code
First seen
Nov 29, 2026

Questions

What is the threejs-scene-setup skill for?

The threejs-scene-setup skill helps an AI coding agent set up a three.js scene. It is one of the 3D, CAD and Modeling skills on Claude Marketplaces, and it is listed as a three.js skill in the awesome-gamedev-agent-skills repository.

How do I install the threejs-scene-setup skill?

Run npx -y skills add gamedev-skills/awesome-gamedev-agent-skills --skill threejs-scene-setup -y in your project. After that, your agent can use the skill when it builds three.js scenes.

Where does threejs-scene-setup rank in its category?

It ranks in the top 25 on the 3D, CAD and Modeling category page on Claude Marketplaces. Other three.js skills in the same category include threejs-fundamentals, threejs-shaders, threejs-materials, threejs-geometry and threejs-interaction.

Which other skills work alongside threejs-scene-setup?

The same repository offers related three.js skills such as threejs-fundamentals, threejs-materials, threejs-geometry, threejs-shaders and threejs-interaction. The repository's router can load the right skills for a task automatically.

More from gamedev-skills/awesome-gamedev-agent-skills

All 69

Similar to Threejs Scene Setup

More 3D, CAD & Modeling