threejs-atmosphere-aer…
Implement physically motivated sky and aerial-perspective systems in Three.js. Use for planetary atmospheres, ground-to-space…
Generate authored procedural trees, grass, ivy, flowers, and vegetation in Three.js or raw WebGPU. Use for surface-following vines, painted ivy paths, stylized or GPU grass, GPU-culled virtual flower fields, trunks, recursive branches, roots, canopies, leaf cards, species
$ npx -y skills add scottstts/threejs-awesome-graphics-agent-skills --skill threejs-procedural-vegetation --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/threejs-procedural-vegetationContext preview
The summary Claude sees to decide when to auto-load this skill.
Generate authored procedural trees, grass, ivy, flowers, and vegetation in Three.js or raw WebGPU. Use for surface-following vines, painted ivy paths, stylized or GPU grass, GPU-culled virtual flower fields, trunks, recursive branches, roots, canopies, leaf cards, species
name: threejs-procedural-vegetation description: Generate authored procedural trees, grass, ivy, flowers, and vegetation in Three.js or raw WebGPU. Use for surface-following vines, painted ivy paths, stylized or GPU grass, GPU-culled virtual flower fields, trunks, recursive branches, roots, canopies, leaf cards, species presets, deterministic growth, distance-tiered plant geometry, and rooted blade, stem, or petiole-hinge wind.
Represent a plant as a growth hierarchy plus rendering adaptations. Do not model it as randomly scattered cylinders.
This skill contains exemplary examples and assets beyond descriptive guidance, they're worth studying, referencing, or even copying. Use them sufficiently when relevant and do NOT blindly skip them.
1. Define a per-level species table: length, radius, taper, child count, emergence range, angle, twist, gnarliness, sections, radial segments. 2. Grow branches iteratively from a queue so recursion depth and budgets remain inspectable. 3. Emit each branch as oriented rings with an intentional UV seam. 4. Update section orientation from:
5. Spawn children with stratified longitudinal slots and independently permuted angular slots. 6. Generate leaves only after branch topology is stable. 7. Build foliage normals from both card orientation and local crown volume. 8. Choose wind scope explicitly. Leaf-root deformation, branch hierarchy deformation, and whole-tree sway are separate systems.
Read [references/structured-ash-growth-system.md](references/structured-ash-growth-system.md) and preserve its preset, continuation, child-placement, leaf, material, wind, and composition contracts before tuning.
Read the [Ash Growth System implementation](examples/structured-ash-growth/tree-system.js) with its [authored preset](examples/structured-ash-growth/ash-preset.js) for a contract-accurate implementation and its diagnostic attributes.
Read the [stylized meadow grass implementation](examples/stylized-meadow-grass/grass-system.js) for authored blade-cluster geometry with a procedural fallback, image-driven path masking, per-instance origin/facing attributes, circular-arc rooted wind, gust fronts, tip flutter, color clumps, macro variation, translucency, and rim diagnostics.
Read the [GPU-computed grass implementation](examples/gpu-computed-grass/gpu-grass-system.js) for MRT blade-parameter generation, deterministic terrain-conforming placement, Voronoi clumps, Bezier blade folding, wind-facing yaw, distance LOD/culling, normal/color fading, translucency, and field diagnostics.
Read [references/gpu-culled-flower-field.md](references/gpu-culled-flower-field.md) for the exact virtual-address, ecology, hierarchical-compaction, indirect-draw, distance-tier, atlas, wind, contact, resource, and diagnostic contracts.
Read the [GPU-culled flower-field entry](examples/gpu-culled-flower-field/gpu-culled-flower-field.js) and its complete [raw WebGPU implementation](examples/gpu-culled-flower-field/source/gpu-culled-flower-field.ts) for zero-record integer candidate reconstruction, 32 by 32 tile culling, three visible-ID streams, indirect near/middle/far draws, curved textured petals, identity-preserving horizon heads, and rooted moving-contact response.
Read the [procedural surface ivy entry](examples/procedural-surface-ivy/ivy-effect.js) and its complete [TypeScript implementation](examples/procedural-surface-ivy/source/ivy.ts) for seeded spline-following stems, repeated mesh reprojection, tangent-plane creep and droop, parallel-transport tube rings, growth reveal, instanced leaves and umbels, and rigid petiole-hinge wind. Treat the TypeScript modules as the only implementation; the entry file only re-exports them.
Use `$threejs-procedural-geometry` for generic branch-ring emission without a growth model. This skill owns species tables, vine and branch topology, surface-following growth, foliage, grass fields, roots, and rooted wind.
Example gallery to visually inspect included examples This is a Three.js agent skills pack for producing awesome graphics.
Implement physically motivated sky and aerial-perspective systems in Three.js. Use for planetary atmospheres, ground-to-space…
Implement production bloom in advanced Three.js scenes. Use for HDR signal ordering, bloom-node controls, dual selective bloom…
Direct advanced Three.js camera systems. Use for scale-aware chase rigs, thrust lag, side/orbit cameras, body-relative up…
Build a measured exposure and grading path in Three.js. Use for a 64x36 encoded luminance meter, asynchronous readback, weighted…
Build a deliberate final-image pipeline for advanced Three.js scenes. Use for depth, normal, albedo, and history ownership; GTAO…
Build silhouette-aware parallax occlusion mapping in Three.js WebGPU and TSL. Use for height-field ray marching, relief UVs,…