home / skills / bbeierle12 / skill-mcp-claude / immersive-visuals-router

immersive-visuals-router skill

/skills/immersive-visuals-router

This skill orchestrates multiple domain routers for immersive 3D visuals, shaders, particles, and audio to deliver cohesive experiences.

npx playbooks add skill bbeierle12/skill-mcp-claude --skill immersive-visuals-router

Review the files below or copy the command above to add this skill to your agents.

Files (2)
SKILL.md
11.0 KB
---
name: immersive-visuals-router
description: Master router for immersive visual experiences combining React Three Fiber, shaders, particles, post-processing, GSAP animation, and audio. Use when building 3D web experiences, visualizers, creative coding projects, interactive installations, or any project requiring multiple visual technologies. Dispatches to 6 specialized domain routers covering 29 total skills.
---

# Immersive Visuals Router

Master router dispatching to 6 domain routers for comprehensive visual experiences.

## Routing Protocol

1. **Classify** — Identify primary domains from user request
2. **Route to Domain** — Select appropriate domain router(s)
3. **Combine Domains** — Most projects need 3-4 domains together
4. **Load Skills** — Domain routers will load specific skills

## Domain Overview

| Domain | Router | Skills | Focus |
|--------|--------|--------|-------|
| 3D Rendering | `r3f-router` | 6 | React Three Fiber, scenes, materials, camera |
| Shaders | `shaders-router` | 5 | GLSL, custom materials, visual effects |
| Particles | `particles-router` | 4 | Particle systems, physics, GPU optimization |
| Post-Processing | `postfx-router` | 3 | Bloom, effects, EffectComposer |
| Animation | `gsap-router` | 4 | GSAP tweens, timelines, scroll, React |
| Audio | `audio-router` | 3 | Playback, analysis, audio-reactive |

**Total: 6 routers, 25 specialized skills**

## Quick Route by Project Type

### 3D Scene (R3F Focus)
```
Primary:   r3f-router → Scene setup, components, materials
Secondary: postfx-router → Bloom, cinematic effects
Optional:  gsap-router → Camera animations
```

### Audio Visualizer
```
Primary:   audio-router → Playback, analysis, reactive
Secondary: r3f-router → 3D scene for visuals
Supporting: shaders-router → Custom visual effects
           postfx-router → Bloom, glow
           particles-router → Beat-reactive particles
```

### Creative Coding / Generative Art
```
Primary:   shaders-router → Custom fragment shaders
Secondary: r3f-router → Render pipeline
Supporting: postfx-router → Effects chain
```

### Interactive Experience
```
Primary:   r3f-router → 3D scene, interaction
Secondary: gsap-router → Smooth animations
Supporting: postfx-router → Visual polish
           audio-router → Sound feedback
```

### Countdown / Event Page
```
Primary:   gsap-router → Sequenced animations
Secondary: r3f-router → 3D elements
Supporting: postfx-router → Dramatic effects
           audio-router → Ambient, countdown audio
           particles-router → Celebration effects
```

### Particle-Heavy Effect
```
Primary:   particles-router → Particle systems
Secondary: r3f-router → Scene setup
Supporting: postfx-router → Bloom for particles
           shaders-router → Custom particle shaders
```

## Signal-Based Routing

### Domain Detection Signals

**r3f-router** (3D Rendering):
- "3D", "Three.js", "R3F", "React Three Fiber"
- "scene", "mesh", "geometry", "camera"
- "3D model", "GLTF", "environment"
- "orbit controls", "transform"

**shaders-router** (Custom Shaders):
- "shader", "GLSL", "fragment", "vertex"
- "custom material", "uniform"
- "procedural", "noise", "pattern"
- "ray marching", "SDF"

**particles-router** (Particle Systems):
- "particle", "emitter", "particle system"
- "dust", "sparks", "confetti", "stars"
- "instancing", "GPU particles"

**postfx-router** (Post-Processing):
- "bloom", "glow", "post-processing"
- "vignette", "chromatic aberration"
- "depth of field", "color grading"
- "EffectComposer"

**gsap-router** (Animation):
- "GSAP", "GreenSock", "animate"
- "timeline", "sequence", "tween"
- "scroll animation", "ScrollTrigger"
- "entrance animation"

**audio-router** (Audio):
- "audio", "music", "sound"
- "visualizer", "audio reactive"
- "beat", "frequency", "FFT"
- "Tone.js"

## Domain Combinations

### Cinematic 3D Scene
```
r3f-router     → Scene, camera, lighting
shaders-router → Custom materials
postfx-router  → Bloom, color grading, vignette
gsap-router    → Camera movements
```

### Music Visualizer
```
audio-router     → Load music, analyze frequencies
r3f-router       → 3D visualization geometry
shaders-router   → Audio-reactive shaders
particles-router → Beat-triggered particles
postfx-router    → Bloom, chromatic aberration
```

### Landing Page Hero
```
r3f-router     → Background 3D scene
gsap-router    → Text animations, scroll effects
postfx-router  → Subtle bloom, film grain
```

### Interactive Installation
```
r3f-router       → 3D environment
particles-router → Interaction feedback
gsap-router      → Transition animations
audio-router     → Sound feedback
postfx-router    → Immersive effects
```

### Product Showcase
```
r3f-router     → 3D product model
gsap-router    → Rotation, zoom animations
postfx-router  → Lighting effects, environment
```

## Temporal Collapse Stack

Complete domain routing for the New Year countdown:

```
┌─────────────────────────────────────────────────┐
│           TEMPORAL COLLAPSE PROJECT             │
├─────────────────────────────────────────────────┤
│                                                 │
│  ┌─────────────┐  ┌─────────────┐              │
│  │ r3f-router  │  │gsap-router  │              │
│  │ - Scene     │  │ - Digit flip│              │
│  │ - Digits    │  │ - Sequences │              │
│  │ - Camera    │  │ - Countdown │              │
│  └──────┬──────┘  └──────┬──────┘              │
│         │                │                      │
│  ┌──────┴────────────────┴──────┐              │
│  │       postfx-router          │              │
│  │  - Bloom (cosmic glow)       │              │
│  │  - Chromatic aberration      │              │
│  │  - Vignette (void edge)      │              │
│  └──────────────┬───────────────┘              │
│                 │                               │
│  ┌──────────────┴───────────────┐              │
│  │      particles-router        │              │
│  │  - Time dilation particles   │              │
│  │  - Star field                │              │
│  │  - Celebration burst         │              │
│  └──────────────┬───────────────┘              │
│                 │                               │
│  ┌──────────────┴───────────────┐              │
│  │       audio-router           │              │
│  │  - Cosmic ambient loop       │              │
│  │  - Countdown ticks           │              │
│  │  - Beat-reactive visuals     │              │
│  │  - Celebration music         │              │
│  └──────────────────────────────┘              │
│                                                 │
└─────────────────────────────────────────────────┘
```

### Domain Responsibilities

| Domain | Temporal Collapse Role |
|--------|------------------------|
| r3f | 3D countdown digits, camera orbit, environment |
| shaders | Digit morphing effect, custom glow material |
| particles | Time dilation particles, star field, celebration |
| postfx | Bloom on digits, vignette, chromatic on beat |
| gsap | Digit flip animation, intensity ramp, celebration |
| audio | Ambient loop, ticks, beat detection, celebration |

### Color Palette Reference

```javascript
const TEMPORAL_PALETTE = {
  void: '#050508',      // Background
  cyan: '#00F5FF',      // Primary glow
  magenta: '#FF00FF',   // Accent
  gold: '#FFD700',      // Celebration highlight
  white: '#FFFFFF'      // Text, bright elements
};
```

## Project Initialization Guide

### Step 1: Identify Core Requirements
- What is the primary visual experience?
- Is there audio involvement?
- Does it need animation/interaction?
- What level of visual fidelity?

### Step 2: Select Primary Domain
Choose the domain that represents the main technical challenge.

### Step 3: Add Supporting Domains
Based on secondary requirements:
- Need glow effects? → `postfx-router`
- Need smooth animations? → `gsap-router`
- Need particles? → `particles-router`
- Need audio? → `audio-router`
- Need custom materials? → `shaders-router`

### Step 4: Load Domain Skills
Each domain router will direct to specific skills.

## Performance Considerations

### By Domain

| Domain | Performance Impact | Optimization |
|--------|-------------------|--------------|
| r3f | Medium-High | LOD, frustum culling |
| shaders | Low-High* | Simplify math, reduce loops |
| particles | High | GPU instancing, LOD |
| postfx | Medium-High | Reduce passes, resolution |
| gsap | Low | Kill unused tweens |
| audio | Low | Appropriate FFT size |

*Depends on shader complexity

### Recommended Limits

- Particles: 10,000-50,000 with instancing
- Post-processing passes: 3-5 max
- Shader uniforms: Keep minimal
- Audio FFT: 128-256 for reactive, 1024+ for visualization

## Fallback Routing

- **"3D" mentioned** → Start with `r3f-router`
- **"Visualizer" mentioned** → `audio-router` + `r3f-router`
- **"Animation" only** → `gsap-router`
- **"Effect" unclear** → `postfx-router`
- **No clear signals** → Ask about project type

## Skill Dependencies

```
r3f-router
├── Independent (can use alone)
└── Enhanced by: shaders, postfx, particles

shaders-router
├── Requires: r3f (for Three.js context)
└── Enhanced by: postfx

particles-router
├── Requires: r3f (for scene)
└── Enhanced by: postfx (bloom), shaders (custom)

postfx-router
├── Requires: r3f (for scene)
└── Enhanced by: shaders (custom effects)

gsap-router
├── Independent (can use alone)
└── Enhanced by: r3f (3D animation)

audio-router
├── Independent (can use alone)
└── Enhanced by: all domains for reactive visuals
```

## Quick Reference Matrix

| Project Type | R3F | Shaders | Particles | PostFX | GSAP | Audio |
|--------------|-----|---------|-----------|--------|------|-------|
| 3D Scene | ● | ○ | ○ | ● | ○ | - |
| Visualizer | ● | ● | ● | ● | - | ● |
| Landing Page | ● | - | ○ | ● | ● | - |
| Particle Effect | ● | ○ | ● | ● | - | - |
| Countdown | ● | ○ | ● | ● | ● | ● |
| Product 3D | ● | - | - | ● | ● | - |
| Generative Art | ● | ● | ○ | ○ | - | - |

● Required  ○ Optional  - Not needed

Overview

This skill is a master router for building immersive visual experiences that combine React Three Fiber, shaders, particles, post-processing, GSAP animation, and audio. It analyzes a project request, classifies core domains, and dispatches to one or more specialized domain routers. The router is optimized to combine 3–4 domains by default to deliver rich, interactive 3D web experiences. Use it to coordinate complementary technologies and load targeted skills for each domain.

How this skill works

The router first classifies the user request using signal keywords to determine primary and secondary domains. It then routes the request to the appropriate domain routers (r3f, shaders, particles, postfx, gsap, audio) and suggests domain combinations commonly used together. Each domain router loads specific skills and returns focused guidance or snippets, while the master router ensures dependencies and performance considerations are respected. For unclear input it prompts for core project requirements before routing.

When to use it

  • Building a 3D web scene, product showcase, or interactive hero with React Three Fiber
  • Creating audio-reactive visualizers or music-driven installations
  • Designing generative art or shader-driven visuals requiring GLSL
  • Implementing particle-heavy effects with GPU instancing or physics
  • Adding cinematic post-processing (bloom, DOF, chromatic aberration)
  • Coordinating sequenced animations and interactions with GSAP

Best practices

  • Pick one primary domain that represents the main technical challenge, then add 1–3 supporting domains
  • Limit post-processing passes and shader complexity to control GPU cost
  • Use GPU instancing and LOD for particle-heavy scenes (10k–50k suggested with instancing)
  • Keep audio FFT sizes moderate (128–256) for responsive reactive visuals
  • Profile and cull unused objects in R3F (frustum culling, LOD) and kill unused GSAP tweens

Example use cases

  • Music visualizer: audio analysis → r3f scene → audio-reactive shaders → beat-triggered particles → postfx bloom
  • Landing page hero: R3F background scene → subtle post-processing → GSAP text and scroll animations
  • Generative art piece: shader-first pipeline with R3F render and postfx chain for polish
  • Interactive installation: R3F environment with particle feedback, GSAP transitions, and spatial audio
  • Countdown event: GSAP sequenced digits, R3F digits and camera, postfx glow, particles and audio cues

FAQ

What signals determine the primary domain?

The router looks for keywords like '3D', 'shader', 'particle', 'bloom', 'GSAP', or 'audio' to map to r3f, shaders, particles, postfx, gsap, and audio routers respectively.

How many domains should a typical project use?

Most projects benefit from 3–4 domains (for example r3f + shaders + postfx + gsap); the router recommends combinations based on common project types.