↑ ↓ navigate↵ selectesc close

Flagship 2: Agentic 3D Web Pipelines with Blender, Blender MCP & Three.js

CodingCat.dev tutorial cover image

course lessons.

1 Section · 5 Lessons
1

Core Architecture & Deterministic Implementation

course overview.

1. Production Architecture Problem & Why We Built This Course

Go behind the scenes of how we built 3D AJ the Cat on CodingCat.dev. Connect AI agents to Blender via Blender MCP, export compact glTF 2.0 (.glb) armatures, and render them in Three.js with deterministic window.seek(t) physics. In production engineering teams, the gap between a quick weekend demo and a resilient, multi-tenant system comes down to three architectural boundaries: cold-start latency, compile-time contract validation, and predictable operational cost. Throughout Flagship 2: Agentic 3D Web Pipelines with Blender, Blender MCP & Three.js, we strip away marketing buzzwords and build the exact TypeScript, edge compute, and structured data patterns that power CodingCat.dev in production.

Every lesson in this course pairs a dark-mode Architecture Diagram (contrasting the legacy anti-pattern on the left against the recommended 2026 production pattern on the right) with copy-pasteable TypeScript modules, automated verification checks, and an explicit Trade-Off Matrix. Whether you are reading the official Official GitHub Repository: github.com/blender/blender + ahujasid/mcp-for-blender + mrdoob/three.js or pairing this course with our deep dive on Blog Post: 14 Open-Source Repos Powering Code-Driven Video & How We Built 3D AJ, you can apply every pattern directly to your own repository today.

🐾 AJ's Course Architecture Rule: Never adopt a tool just because it trended on social media. Measure its cold start in milliseconds, verify its TypeScript schema boundary at compile time, and check what happens to your cloud bill when traffic spikes 100x.

2. Lesson-by-Lesson Architectural Walkthrough (5 Lessons)

Work through the lessons in sequence to build the complete system from first principles, or jump directly to the specific architectural boundary you are solving right now:

  • Lesson 1: Lesson 1: From 2D Turnaround Sheet to 3D Mesh & Canonical Node Hierarchy: Replaces the VIBE PROMPT (Timer Drift, Default Slop, Blind Export) anti-pattern with 3D Turnaround -> window.seek(t) + 3D AJ Studio inside src/components/Aj3dScene.ts. Welcome to Lesson 1 of Flagship 2: Agentic 3D Web Pipelines with Blender, Blender MCP & Three.js on CodingCat.dev. Today we break down From 2D Turnaround Sheet to 3D Mesh & Canonical Node Hierarchy and see how it powers our deterministic 3D AJ and code-rendered video pipeline.
  • Lesson 2: Lesson 2: Controlling Blender 5.0 Over TCP Socket with Blender MCP: Replaces the VIBE PROMPT (Timer Drift, Default Slop, Blind Export) anti-pattern with Blender MCP -> window.seek(t) + 3D AJ Studio inside src/components/Aj3dScene.ts. Welcome to Lesson 2 of Flagship 2: Agentic 3D Web Pipelines with Blender, Blender MCP & Three.js on CodingCat.dev. Today we break down Controlling Blender 5.0 Over TCP Socket with Blender MCP and see how it powers our deterministic 3D AJ and code-rendered video pipeline.
  • Lesson 3: Lesson 3: PBR Vinyl-Toy Materials, Royal Purple Rim Lights & ACES Tone Mapping: Replaces the VIBE PROMPT (Timer Drift, Default Slop, Blind Export) anti-pattern with PBR Shaders -> window.seek(t) + 3D AJ Studio inside src/components/Aj3dScene.ts. Welcome to Lesson 3 of Flagship 2: Agentic 3D Web Pipelines with Blender, Blender MCP & Three.js on CodingCat.dev. Today we break down PBR Vinyl-Toy Materials, Royal Purple Rim Lights & ACES Tone Mapping and see how it powers our deterministic 3D AJ and code-rendered video pipeline.
  • Lesson 4: Lesson 4: Zero-LCP-Penalty Lazy Loading & Orbital Camera Controls in Three.js: Replaces the VIBE PROMPT (Timer Drift, Default Slop, Blind Export) anti-pattern with Zero LCP -> window.seek(t) + 3D AJ Studio inside src/components/Aj3dScene.ts. Welcome to Lesson 4 of Flagship 2: Agentic 3D Web Pipelines with Blender, Blender MCP & Three.js on CodingCat.dev. Today we break down Zero-LCP-Penalty Lazy Loading & Orbital Camera Controls in Three.js and see how it powers our deterministic 3D AJ and code-rendered video pipeline.
  • Lesson 5: Lesson 5: Unifying 2D Vector SVG and 3D GLB Bones Under window.seek(t): Replaces the VIBE PROMPT (Timer Drift, Default Slop, Blind Export) anti-pattern with Unified Rig -> window.seek(t) + 3D AJ Studio inside src/components/Aj3dScene.ts. Welcome to Lesson 5 of Flagship 2: Agentic 3D Web Pipelines with Blender, Blender MCP & Three.js on CodingCat.dev. Today we break down Unifying 2D Vector SVG and 3D GLB Bones Under window.seek(t) and see how it powers our deterministic 3D AJ and code-rendered video pipeline.

3. Alex's 2026 Ecosystem & Architectural Tier List

Before writing a single line of configuration, you need to know how the available platforms and patterns stack up in real production environments. Here is how I rank the ecosystem from S-Tier (our default production choice on CodingCat.dev) down to D-Tier anti-patterns to avoid:

Never ship the first unreviewed render! Deterministic window.seek(t) + automated contact-sheet critique is how 3D AJ stays locked at 60fps! 🐾
💡
TIER LIST

Alex's 2026 Architectural Tier List: 3D AJ Rig Blender + Three

Ranking production approaches for Flagship 2: Agentic 3D Web Pipelines with Blender, Blender MCP & Three.js across frame determinism, visual quality, agentic automation, and compute cost.

SPurrfect
1 pick

Combines github.com/blender/blender + ahujasid/mcp-for-blender + mrdoob/three.js with pure time-indexed math, W3C design tokens, and automated FFmpeg contact-sheet visual critique.

Frame Determinism:100% reproducible f(t) at any timestamp
Visual QA Gate:Automated contact-sheet + DOM bounds check
Marginal Render Cost:$0.00 on local workstation / CI
AStrong Pick
1 pick
BSolid w/ Caveats
1 pick

Manual GUI Keyframing in After Effects / Premiere Without Code Version Control

Traditional Manual NLE Workflow

Capable of great visual polish when operated by a senior motion designer, but impossible for an AI agent to diff, parameterize across 95 lessons, or re-render automatically when code snippets change.

Batch Scalability:Hours of manual re-export per lesson update
CSituational
0 picks
No platforms currently in C-Tier (Niche Fit, Early Preview, or Steep Quotas)
DPass / Caution
1 pick

One-Shot Unreviewed 'Vibe Prompt' with setTimeout(), CSS Transitions & No Critique Loop

AI Slop Anti-Pattern

Uses non-deterministic browser timers that drift under CPU load, defaults to generic purple gradients, and ships the first uninspected render with clipped text and dead air.

Fix:Ban setTimeout, enforce window.seek(t), and run contact-sheet QA
S: PurrfectA: Production ReadyB: Solid w/ CaveatsC: SituationalD: Pass
Click AJ to celebrate! 🐾

4. Production Starter Configuration & Local Setup

To follow along with the code examples in Flagship 2: Agentic 3D Web Pipelines with Blender, Blender MCP & Three.js, start with this baseline src/components/Aj3dScene.ts configuration. It enables strict TypeScript verification, observability tracing, and local development bindings that match production 1-to-1:

📄 src/components/Aj3dScene.tstypescript
import * as THREE from "three";
import { GLTFLoader } from "three/examples/jsm/loaders/GLTFLoader.js";
import { computeAjPoseAtTime } from "@/lib/aj-motion-engine";

export async function loadRiggedAjModel(scene: THREE.Scene) {
  const loader = new GLTFLoader();
  const gltf = await loader.loadAsync("/models/aj-3d-mascot.glb");
  const head = gltf.scene.getObjectByName("AjHeadGroup");
  const pose = computeAjPoseAtTime(2.5, "idle-wave");
  if (head) head.rotation.z = THREE.MathUtils.degToRad(pose.headRotateDeg);
  scene.add(gltf.scene);
}

5. Course-Wide Production Trade-Off Matrix

Every architectural decision involves trade-offs. Use this reference table during design reviews with your team to justify why we choose edge-native TypeScript, explicit schema validation, and deterministic workflows over legacy alternatives:

Architectural Dimension2026 CodingCat.dev Course PatternLegacy Industry DefaultProduction Impact at Scale
Compute & Cold StartsV8 Isolates / Native Browser Compositor (< 5ms)Heavy Container VMs / Main-Thread JS Bloat (500ms+)Eliminates tail-latency spikes on every request and interaction.
Contract & Type SafetyEnd-to-End TypeScript + Zod / GROQ TypeGenUntyped JSON payloads & manual interface driftCatches breaking schema changes in CI before deployment.
State & Database TopologyCloudflare D1 Batch / Durable SQLite / Sanity Content LakeExhausted TCP pools & unindexed N+1 loopsPredictable sub-10ms reads with zero connection pool errors.
Security & Multi-TenancyOAuth 2.1 PKCE + Better-Auth Scoped SessionsShared static API keys & unescaped DOM stringsZero-trust tenant isolation and $0 per-MAU SaaS tax.
AI & Agent ReadinessStreamable HTTP MCP + WebMCP + RFC 9727 + Daily Spend Caps20k-token headless DOM scraping & uncapped retry loopsCuts token spend by 95%+ while preventing runaway bills.

6. Official Specifications, Docs & Related CodingCat.dev Deep Dives

Bookmark these official specifications and related CodingCat.dev Courses, Blog Posts, and Podcast Episodes as you work through the lessons:

Ready to write code? Jump straight into Lesson 1: Lesson 1: From 2D Turnaround Sheet to 3D Mesh & Canonical Node Hierarchy →

✏️ Visual Architecture Diagram

how this course connects together.

Follow AJ through the sequence topology from input contract to production output.

✏️ Architecture Diagram: Flagship 2: Agentic 3D Web Pipelines with Blende…
UML SEQUENCE DIAGRAMARCHITECTURE DIAGRAM
Architecture Diagram: Flagship 2: Agentic 3D Web Pipelines with Blende…UML SEQUENCE DIAGRAM showing: Node 1: Core Architecture & Deterministic Implementation (Schema & deterministic boundary) -> Node 2: Agentic 3D Web Pipelines (Execution & state transitions) -> Node 3: Blender (Production output & telemetry). Content-driven sequence diagram for Flagship 2: Agentic 3D Web Pipelines with Blender, Blender MCP & Three.js: Core Architecture & Deterministic Implementation -> Agentic 3D Web Pipelines -> Blender.loop [deterministic execution]Core Architecture & DeSchema & deterministic bAgentic 3D Web PipelinExecution & state transiBlenderProduction output & tele1. Core Architecture ack / verified state2. Agentic 3D Web Pipack / verified state
[Diagram Walkthrough]Content-driven sequence diagram for Flagship 2: Agentic 3D Web Pipelines with Blender, Blender MCP & Three.js: Core Architecture & Deterministic Implementation -> Agentic 3D Web Pipelines -> Blender.
AAA Contrast Verified