Star 历史趋势
数据来源: GitHub API · 生成自 Stargazers.cn
README.md

Three.js Awesome Graphics Agent Skills

GitHub stars npm version npm downloads three.js Codex Claude Code Cursor

Example Library Example gallery to visually inspect included examples

This is a Three.js agent skills pack for producing awesome graphics.

It includes mesh design, lighting, PBR materials, textures, shaders, TSL/WebGPU, GLSL, post-processing, realism, stylization, particles, procedural visuals, color management, tone mapping, etc. Graphics excellence is the main focus of this skill pack, with sophisticated design aesthetics, philosophy, ergonomics, sensibility, taste. It brings the sophistication of good graphics and eliminates cheap hacks.

This is NOT a three.js API cheat sheet, it skips basic 3D production fundamentals and concepts (any decent LLM already has that internal knowledge) as well as three.js API technicalities (just look up docs or use existing API oriented agent skills). Fundamentally, you cannot just prompt the agent for "good graphics" and expect the agent to produce it. The agent needs to see the exact implementation of said good graphics. That's what this skill pack aims to provide, the vocabulary of sophisticated graphics implementations. It's a skill pack with an attached example library to teach the agent not just what to do but also exactly how to do it.

This skill pack will be continuously updated as more three.js projects with awesome graphics emerge. I hope it can help everyone build awesome scenes and games with out-of-the-box sophisticated graphics, so you can focus on things like game logic and story.

One example: spectral ocean E.g., A realistic ocean such as this would have taken hours if not days to create and finetune, now it's out of the box

Operating model

Every graphics system is expected to expose:

  • deterministic or reproducible inputs;
  • named controlling fields and perceptual parameters;
  • diagnostic outputs;
  • scale, distance, and temporal stability rules;
  • an intentional mechanism-backed quality or resolution tier when the system defines one;
  • a no-post baseline that still reads.

Skills

SkillExpertise
threejs-skill-routerDecompose a visual target into the smallest relevant expert systems.
threejs-camera-directionAuthored lenses and shots, chase/side/orbit rigs, body-relative frames, handoffs, pointer look, floating origins.
threejs-procedural-animationAnalytic timelines, gravity turns, staging, rotating-frame docking, springs, quaternion alignment, debris motion.
threejs-procedural-fieldsShared scalar/vector fields, frequency bands, domain warping, causal masks, procedural normals.
threejs-procedural-materialsHybrid texture-backed PBR soil/moss with procedural fields, atlas filtering, specular AA, planetary materials, terrain wetness, lava/emissive surfaces, frame PBR, per-instance dissolve.
threejs-parallax-occlusion-mappingTSL height marching, clipped flat and curved silhouettes, inflated relief shells, self-shadowing, relief-aware shadow depth.
threejs-procedural-geometrySculpted frame rails, branch rings, semantic mesh writers, UV density, material groups.
threejs-procedural-vegetationGrowth hierarchies, surface-following ivy, stylized and GPU-computed grass, branch-ring geometry, foliage normals, rooted wind.
threejs-procedural-architectureMassing and façade grammars, exposed-edge analysis, modules, material-slot compilation.
threejs-procedural-planetsSpherical terrain, ridges, craters, biomes, procedural normals, altitude filtering.
threejs-spectral-oceanValidated FFT synthesis, hybrid FFT/Gerstner water, stylized above/below optics, submerged Snell windows, total internal reflection, aquatic perspective, caustic god rays, spectral cascades, choppy derivatives, Jacobian foam, ocean shading.
threejs-water-opticsShared analytic waves/normals, bounded pool heightfields, object ripples, caustics, refraction, absorption, reflection.
threejs-precipitation-surfacesFalling snow and rain coupled to accumulation, snow caps, wet puddles, ripple normals, splashes, and shared weather envelopes.
threejs-atmosphere-aerial-perspectiveShared Rayleigh/Mie atmosphere, sky, shell/post handoff, depth-based scattering.
threejs-volumetric-cloudsWeather-shaped density, bounded raymarching, cloud lighting, history, cloud shadows.
threejs-raymarched-space-effectsCurved-ray integration, black holes, accretion disks, wormholes, bounded quality.
threejs-procedural-vfxReentry shells/wakes, instanced sparks, dissolving debris, dense pools, HDR hierarchy.
threejs-temporal-surfacesPersistent touch history, frost composite, wet-window droplets, background refraction, and blur.
threejs-shadow-systemsStable cascades and cached clipmap shadows with update budgets and invalidation.
threejs-screen-space-ambient-occlusionGTAO-style horizon sampling, bent normals, bilateral and temporal reconstruction.
threejs-bloomHDR extraction, multi-scale filtering, selective contribution, exposure coupling.
threejs-exposure-color-gradingEncoded luminance metering, asymmetric adaptation, tone mapping, generated 3D LUT.
threejs-image-pipelineShared render-signal ownership and ordering across multiple image-space systems.
threejs-visual-validationFixed-view captures, diagnostic mosaics, seed/scale sweeps, temporal and GPU evidence.

Install

# global installation
npx threejs-awesome-graphics-agent-skills@latest install --agent codex
npx threejs-awesome-graphics-agent-skills@latest install --agent claude-code
npx threejs-awesome-graphics-agent-skills@latest install --agent cursor

# Project installation
npx threejs-awesome-graphics-agent-skills@latest install --agent github-copilot --scope project

# Any custom-built agent
npx threejs-awesome-graphics-agent-skills@latest install --agent custom --path designated-agent-skills-dir

# Force a reinstall of the exact currently installed version
npx threejs-awesome-graphics-agent-skills@latest install --agent gemini-cli --force

# To uninstall it
npx threejs-awesome-graphics-agent-skills uninstall --agent codex

Supported targets:

TargetUser scopeProject scope
universal~/.agents/skills.agents/skills
codex~/.codex/skills.codex/skills
claude-code~/.claude/skills.claude/skills
cursor~/.cursor/skills.cursor/skills
github-copilot~/.copilot/skills.github/skills
gemini-cli~/.gemini/skills.gemini/skills
windsurf~/.codeium/windsurf/skills.windsurf/skills
customexact --pathexact --path

Development

npm run validate
npm test
npm run check:freshness
npm pack --dry-run

Generate deterministic captures and a contact sheet:

npm run capture:examples

Inspect every included graphics example from one development surface:

npm run dev:examples

The gallery is meant for visual inspection of each example included in the skill pack. The skills only include the implementation and assets for the example itself respectively, while scene setup, camera rig, supporting implementation, supporting assets are owned by the gallery dev shim only.

This split is intentional:

  • The agent using this skill only needs the implementation and the assets for the example itself
  • The gallery is for viewing purpose, the agent doesn't need to know that scene setup

The gallery contract is documented in dev/example-gallery/README.md.

关于 About

A three.js agent skills for producing awesome graphics for scenes and games

语言 Languages

JavaScript58.9%
TypeScript29.3%
GLSL10.5%
CSS0.8%
HTML0.4%

提交活跃度 Commit Activity

代码提交热力图
过去 52 周的开发活跃度
57
Total Commits
峰值: 19次/周
Less
More

核心贡献者 Contributors