# Threejs 3d visualizer

> Threejs 3d visualizer is an open-source agent skill for design and media. Guides an agent on Three.js rendering, instancing and scene setup for Pipeline City. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/Database-Tycoon/tycoon-cli/tree/main/skills/threejs-3d-visualizer
- **Repository:** https://github.com/database-tycoon/tycoon-cli
- **GitHub stars:** 8
- **License:** MIT
- **Skill name:** threejs-3d-visualizer
- **Collection:** https://github.com/Database-Tycoon/tycoon-cli
- **Categories:** [design and media](https://ai-powered.com/categories/design-and-media)
- **Listing updated:** 2026-12-03

## About

This skill is a set of best-practice notes for building 3D scenes with Three.js inside the Pipeline City project. It points the agent to where scene code lives, such as the scene root, camera fly-to handling, raycasting for picking and hover, road mask and curb generation, and particle effects for fog, rain and smoke.

The guidance covers performance when a scene has hundreds of buildings. It recommends grouping repeated meshes like street tiles, trees and sidewalk segments into InstancedMesh objects to keep draw calls low, disposing of geometries and materials when a scene is refreshed, and limiting dynamic shadow updates to moving vehicles while keeping building shadows static.

It also sets visual standards: avoid default browser colors and draw palettes from a shared palette file, and keep a dark, glassmorphic overlay style with smooth micro-interactions. The skill is a single SKILL.md file with no bundled scripts, so it works as guidance rather than an automated tool.

## When your agent uses it

> Best practices for Three.js 3D rendering, mesh instantiation, procedural building generation, road masks, particle systems, and canvas interaction in Pipeline City.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/Database-Tycoon/tycoon-cli/tree/HEAD/skills/threejs-3d-visualizer)
- [License: MIT](https://github.com/Database-Tycoon/tycoon-cli/tree/HEAD/skills/threejs-3d-visualizer)

## Features

- **Scene structure map:** Points the agent to the Pipeline City files for scene root, cameras, picking and road masks.
- **Instancing for large scenes:** Advises grouping repeated meshes into InstancedMesh to keep draw calls under control.
- **Memory disposal rules:** Explains disposing geometries and materials when refreshing a scene to avoid WebGL leaks.
- **Shadow update guidance:** Limits dynamic shadow recalculation to moving vehicles and keeps building shadows static.
- **Particle effect reference:** Identifies the modules that handle fire, weather, fog, rain and smoke particles.
- **Visual style standards:** Sets palette and dark glassmorphic overlay conventions for the interface.

## Good for

- Add a new procedural building type to the city scene
- Speed up rendering when the scene has hundreds of objects
- Implement click-to-fly camera movement onto a city lot
- Generate road tiles and sidewalk curbs from a mask
- Add rain or smoke particles to the scene
- Refactor scene code to avoid WebGL memory leaks

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/threejs-3d-visualizer` to use it in all your projects:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Database-Tycoon/tycoon-cli.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/threejs-3d-visualizer &&
cp -R "$tmp/skills/threejs-3d-visualizer" ~/.claude/skills/threejs-3d-visualizer &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/threejs-3d-visualizer` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/threejs-3d-visualizer` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Database-Tycoon/tycoon-cli.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/threejs-3d-visualizer &&
cp -R "$tmp/skills/threejs-3d-visualizer" ~/.agents/skills/threejs-3d-visualizer &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/threejs-3d-visualizer` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/threejs-3d-visualizer` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Database-Tycoon/tycoon-cli.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/threejs-3d-visualizer &&
cp -R "$tmp/skills/threejs-3d-visualizer" ~/.cursor/skills/threejs-3d-visualizer &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/threejs-3d-visualizer` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/Database-Tycoon/tycoon-cli.git --path skills/threejs-3d-visualizer
```

Or copy the folder to `~/.gemini/skills/threejs-3d-visualizer` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/threejs-3d-visualizer`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Database-Tycoon/tycoon-cli.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/threejs-3d-visualizer &&
cp -R "$tmp/skills/threejs-3d-visualizer" ~/.copilot/skills/threejs-3d-visualizer &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/threejs-3d-visualizer` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/Database-Tycoon/tycoon-cli.git
```

Then copy `tycoon-cli/skills/threejs-3d-visualizer` into your agent's skills folder as `threejs-3d-visualizer`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What project is Threejs 3d visualizer written for?

It is written for Pipeline City, and it references that project's file layout such as web/src/scene and web/src/palette.ts.

### Does Threejs 3d visualizer include scripts or tools?

No. The skill folder contains a single SKILL.md file with no scripts.

### What performance advice does Threejs 3d visualizer give?

It recommends InstancedMesh for repeated meshes to keep draw calls below 50, disposing of unused geometry and materials, and keeping building shadows static.

### How do I install Threejs 3d visualizer in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/threejs-3d-visualizer to use it in all your projects, or to .claude/skills/threejs-3d-visualizer in one project.

### Does Threejs 3d visualizer run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Threejs 3d visualizer?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Threejs 3d visualizer?

The closest alternatives to Threejs 3d visualizer are Threejs, Build crucible scene, Game engine, Premium frontend UI and Frontend design.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Threejs](https://ai-powered.com/skills/threejs): Threejs is an open-source agent skill for design and media.
- [Build crucible scene](https://ai-powered.com/skills/build-crucible-scene): Build crucible scene is an open-source agent skill for design and media.
- [Game engine](https://ai-powered.com/skills/game-engine): Game engine is an open-source agent skill for design and media.
- [Premium frontend UI](https://ai-powered.com/skills/premium-frontend-ui): Premium frontend UI is an open-source agent skill for design and media.
- [Frontend design](https://ai-powered.com/skills/frontend-design-lichamnesia): Frontend design is an open-source agent skill for design and media.
- [Frontend design](https://ai-powered.com/skills/frontend-design-melandlabs): Frontend design is an open-source agent skill for design and media.
- [Blender scene setup](https://ai-powered.com/skills/blender-scene-setup): Blender scene setup is an open-source agent skill for design and media.
- [Ascii backdrop](https://ai-powered.com/skills/ascii-backdrop): Ascii backdrop is an open-source agent skill for design and media.

---
Source: https://ai-powered.com/skills/threejs-3d-visualizer
