Showcase
Archive
Gemini 4 Neon3D Worlds & Ecosystems2026-11-21

MotionBrain — Real-Time Neural Character

Zero pre-baked animations · Zero NVIDIA GPU · 60 fps live neural character & PS5 DualSense parkour built on NVIDIA MotionBricks

01 / The Story & Idea

Most 3D games rely on dozens of pre-recorded animation loops stitched together with brittle state machines. MotionBrain replaces all of them with a single live neural motion brain — running NVIDIA’s unquantized SIGGRAPH 2026 MotionBricks (SOMA) model locally on Apple Silicon at ~25 ms per chunk with zero NVIDIA GPU, zero CUDA, and zero TensorRT, streaming 60 fps human motion straight into Three.js. Pick up a real PS5 DualSense controller over WebHID to walk, sprint, throw boxing combos, execute 360° shoulder rolls, crawl, or charge toward obstacles while a 3D spatial sensor automatically vaults, ducks, leaps, or crawls — and because it drives a standard humanoid skeleton, any stylized 3D game character can drop onto this exact brain without hand-animating a single clip.

02 / How It Was Built

  1. 01

    Zero NVIDIA GPU — Local AI Motion Brain

    NVIDIA’s full 363 MB unquantized MotionBricks SOMA FP16 ONNX model runs locally on Apple Silicon CPU (~25 ms/chunk, zero CUDA/TensorRT), taking 4 recent Context poses plus your next Target intent and generating continuous grounded motion on the fly.

  2. 02

    Automatic 3D Obstacle Intelligence

    A forward-ray 3D bounding-box sensor inspects obstacle height and overhead clearance automatically — chaining one-handed Parkour Vaults, Hurdle Leaps, Overhead Ducks, and Auto-Crawls without hardcoded per-prop trigger scripts.

  3. 03

    Hybrid Neural + Biomechanical Control

    Pairs SOMA’s neural locomotion with crisp biomechanical controllers for clenched-fist boxing jabs/crosses, 360° parkour shoulder rolls, hands-and-knees crawl, Catmull-Rom 60 fps smoothing, and grounded foot-locking on a Blender-dressed 77-bone athlete.

  4. 04

    Live PS5 DualSense WebHID & X-Ray Guides

    Connect a PS5 DualSense over USB or Bluetooth for live controller HUD illumination, Strict Keyboard Lockout, adaptive R2/L2 triggers, footstep haptics, Emerald/Cyan AI Context-to-Target ghosts, and translucent line-art skeletal X-Ray.

Visual Pipeline Proof · Click Any Frame to Inspect6 Stages
NVIDIA MotionBricks (SOMA)ONNX Runtime FP16Zero NVIDIA GPUThree.js r174PS5 DualSense WebHIDBlender 5.2Python

03 / Under the Hood

Deep Engineering Specs, Shaders & Architecture (6 technical notes)

Engineered end-to-end with Gemini 4 Neon across local unquantized neural inference, Blender 5.2 rigging, real-time Three.js r174 WebGL2 smoothing, and WebHID hardware integration: (1) a zero-dependency Python ThreadingHTTPServer runs NVIDIA’s unquantized 363 MB mmm_v6_soma_fp16.onnx model via 8-thread ONNX Runtime CPU (~23–28 ms/chunk, zero NVIDIA GPU/CUDA/TensorRT), maintaining a 5-chunk 77-joint session ring buffer and returning compact ~20.8 KB zero-parse binary packets plus L/R foot-contact probabilities; (2) Blender 5.2 skinned fitted multi-material athletic techwear (AI Compass front / ashutoshai.com back jersey, compression shorts, sneakers, obsidian eyes; 10 meshes) onto the official 77-bone SOMA skeleton inside an enclosed 15.4 × 25.3 m concrete pavilion with 3-layer wall collision and Dark ↔ Alabaster Daylight themes; (3) Three.js r174 runs a forward-ray 3D OBB spatial sensor (Auto-Duck, Auto-Vault, compact 1.70 m Auto-Hurdle, Auto-Crawl with per-obstacle cooldowns), lookahead prefetch splicing, 4-point Catmull-Rom splines, shortest-arc quaternion SLERP, 120 ms Hermite inertialization, neural foot-lock, Emerald Context & Cyan Target guides, and pure line-art X-Ray; and (4) ps5-controller-webhid drives live USB/Bluetooth DualSense input, Strict PS5 Exclusive Keyboard Lockout (0 leaks), live controller SVG button illumination, adaptive R2/L2 triggers, and ONNX-driven L/R footstep haptics.

  1. 01Dual Runtime Modes (Pre-Baked + Live ONNX): Boots instantly anywhere in the browser at 60 fps using the 0.38 MB motion-bank.bin neural motion bank (Pre-Baked), and seamlessly unlocks real-time ~23–28 ms unquantized FP16 synthesis (Live ONNX) when running the local Apple Silicon ONNX server (http://127.0.0.1:8765) with zero NVIDIA GPU.
  2. 02Full Action & Style Roster (11 Styles + Combat + Parkour): Real-time switching across Walk, Jog, Sprint, Crouch, Crawl (hands-and-knees with flat palms and contralateral knee alternation), Combat Guard, Zombie, Vogue, Skipping, Injured, and Warm-Up — plus orthodox Left Jab (0.781 m reach) & Right Cross (0.795 m reach), 360° inverted forward shoulder roll (26 frames, 0.00000 m ONNX exit continuity), Auto-Vault, Auto-Duck, compact 1.70 m Auto-Hurdle, Sit/Stand on bench, 0.25× Slow-Mo, and Emotes.
  3. 03Interactive Edit Gym Sandbox (Zero-Hardcoding Proof): Toggle Edit Gym (G) in the top bar to drag any Vault Plinth, Overhead Duck Gantry, Low Hurdle Rail, or Gallery Bench anywhere across the pavilion floor, Rotate 90° (R), Shuffle all 7 obstacles into a fresh randomized arena, or Reset to default. Moved and rotated props sync live to the 60 fps 3D OBB ray sensor, the local Live ONNX server (POST /api/obstacles), and the Pre-Baked engine simultaneously so you can prove the character adapts to any obstacle layout with zero hardcoded paths.
  4. 04Architectural Mocap Pavilion & Visual AI Guides: Enclosed 15.4 m × 25.3 m (4.55 m ceiling) 4-wall concrete studio with 3-layer wall-sliding collision (0.000 m wall penetration), warm tungsten overhead skylight baffles, Dark Brutalist ↔ Warm Alabaster Daylight theme toggle, live AI Guides visualizing the Emerald Context Ghost, Cyan Target Ghost, trajectory path, Gold ONNX foot-contact ring, and Auto-Parkour OBB zones, plus pure translucent Line-Art Neural X-Ray (0 robot body).
  5. 05PS5 DualSense WebHID & Strict Exclusive Lockout: Powered by ps5-controller-webhid over USB/Bluetooth (with Gamepad fallback). Connecting a DualSense immediately engages PS5 Exclusive · Keys Locked (0 keyboard leaks until disconnected), illuminates every pressed button live on the interactive DualSense SVG and action legend, triggers L/R footstep haptics directly from ONNX foot-contact outputs, and applies adaptive R2/L2 trigger tension.
  6. 06User Controls: PS5 DualSense (Exclusive when connected): L-Stick 360° Move, R-Stick Orbit Camera, R1/L3 Hold Sprint, ✕ Jump/Vault, ○ Crouch, □ Left Jab Combo, R2 Heavy Right Cross, R3 360° Combat Roll, △ Sit/Stand, L2 Hold 0.25× Slow-Mo, L1 Wide/Center Cam, D-Pad ←/→ Cycle Styles, D-Pad ↓ Overhead Duck, D-Pad ↑ Emotes, Touchpad Neural X-Ray, Options AI Guides, Create Reset. Keyboard & Mouse (when PS5 disconnected): WASD Move, Shift Sprint, Space Jump/Vault, C Crouch, J Punch, V Vault, B Duck, F Roll, E Sit, Tab Slow-Mo, G Edit Gym (R Rotate 90° / Esc Done while editing), Click-to-Move / Click Obstacle, drag/wheel orbit camera, ? System Overview Modal.

04 / Element-by-Element Build Breakdown

MotionBrain — Zero pre-baked clips, zero NVIDIA GPU: NVIDIA MotionBricks FP16 ONNX, 77-bone dressed rig, 3D auto-parkour & PS5 DualSense WebHID

Scene ElementPipeline / ToolingHow It Was Built
NVIDIA MotionBricks (SOMA) Model
NVIDIA MotionBricks ONNX (FP16)Full unquantized 363 MB SIGGRAPH 2026 pose-to-pose neural motion network synthesizing 30 Hz 77-joint local rotations, root translation, and L/R foot-contact probabilities in ~23–28 ms on Apple Silicon CPU (zero NVIDIA GPU)
0.38 MB Pre-Baked Neural Motion Bank
Pre-Baked Neural Motion BankPrecision Int16-quantized (0.25 mm pos / 0.003° quat) browser binary exported from the live FP16 server with drop-in BinaryChunk parity and a Pre-Baked / Live ONNX mode toggle
Dressed 77-Bone SOMA Athlete
Blender 5.2 Rig & OutfitOfficial NVIDIA 77-bone SOMA skeleton skinned in Blender with custom fitted multi-material athletic techwear (AI Compass front / ashutoshai.com back jersey, compression shorts, sneakers, obsidian eyes; 10 meshes)
Local Neural Planner & Binary API
Python Stdlib Neural ServerZero-dependency ThreadingHTTPServer managing per-session 5-chunk ring buffers, dynamic obstacle target planning, 4-wall target clipping, post-ONNX hard clamping, and compact ~20.8 KB zero-parse binary responses
Universal 3D OBB Parkour Sensor
Three.js r174 WebGL2Real-time 60 fps forward-ray 2D/3D oriented bounding box scanner classifying overhead gantries (0.90–1.65 m), concrete vault plinths (>= 0.60 m), and low hurdles (0.25–0.59 m) with per-obstacle cooldown chaining
60 fps Neural Motion Smoother
Three.js r174 WebGL2Lookahead prefetch splicing coupled with 4-point Catmull-Rom position splines, shortest-arc quaternion SLERP, 120 ms Hermite inertialization, neural foot-lock stabilization, and floor/wall clamping
Brutalist Concrete Mocap Pavilion
Three.js r174 WebGL2Enclosed 15.4 m × 25.3 m (389 m²) 4-wall architectural hall with 10 colonnade pillars, recessed warm tungsten skylight baffles, inlaid charcoal rubber runway, cast-in-concrete upper-wall branding, and Dark/Light themes
AI Context/Target Guides & Line-Art X-Ray
Three.js r174 WebGL2Real-time Emerald 4-frame Context ghost, Cyan Target ghost, trajectory path, Gold ONNX foot-contact rings, Auto-Parkour OBB outlines, and pure translucent 77-bone skeletal line-art X-Ray mode
PS5 DualSense WebHID & Editorial HUD
PS5 DualSense WebHIDBuilt on ps5-controller-webhid (dualsense-ts) with Strict PS5 Exclusive Keyboard Lockout, live DualSense SVG illumination, adaptive R2/L2 trigger resistance, ONNX footstep haptics, and ? Architecture Modal
60-Second 4K Showcase Film
4K Capture + Studio SoundtrackNative 3840×2160 (60.0 s) live studio capture demonstrating PS5 DualSense combat, parkour vaulting, overhead ducking, crawling, AI Context/Target guides, Line-Art X-Ray, and Dark/Light themes paired with stereo 48 kHz studio music

More Built With Gemini 4 Neon

View Full Archive →

3D Drops & AI Briefing

Don’t miss the next build

Reserve early access to Ashutosh’s 5-minute AI briefing and new WebGPU 3D drops.

Zero spam · Privacy

! Please enter a valid email address (for example, you@domain.com).

Morning Edition Alerts

Get a 1-click alert at 11:00 IST

One quiet browser alert when Ashutosh’s daily AI briefing or Sunday synthesis goes live. No email required. Privacy