Laboratory & GPU Computing

3D Graphics Lab

Real-time 3D web craft and graphics benchmarks. Comparing next-generation Three.js WebGPU compute pipelines against traditional WebGL rendering across high-throughput particle simulations, procedural shaders, and modern tooling.

Three.js r184WebGPU WGSL ComputeWebGL 2.0 (GLSL)Spline & BlenderReact Three Fiber v9TSL Node Materials

Performance Benchmark Suite

Interactive Fluid Orb Stress Test

Stress-test your hardware with a real-time fluid particle simulation scaling up to 1,000,000 particles. Observe the architectural performance gap between native GPU compute workgroups and traditional draw pipelines.

Next-Gen ComputeWGSL Pipelines
1,000,000
Simulated Particles
60 FPS
Sustained VRAM

Three.js WebGPU (The New)

Dispatches GPU compute workgroups in parallel using WGSL and Storage Buffers. Positions, velocities, and fluid viscosity updates occur entirely within high-speed VRAM with zero CPU-to-GPU PCIe memory transfers.

  • Parallel GPU compute workgroups (64–128 threads/group)
  • Storage Buffers in VRAM (0 bytes PCIe bus bandwidth)
  • Stateful fluid physics with true inertia & momentum
  • Effortlessly scales to 1,000,000 particles at 60 FPS
Legacy RasterizationOpenGL ES 3.0
GLSL 2.0
Draw Pipeline
Universal
Global Compatibility

Three.js WebGL (The Old)

Traditional vertex and fragment rasterization pipeline. Because WebGL lacks compute shaders, dynamic animations must rely on stateless closed-form vertex shaders or single-threaded CPU loops.

  • Fixed-function vertex and fragment rasterizer
  • Stateless vertex displacement without particle memory
  • Synchronous OpenGL state validation per draw call
  • Universal 99.5% compatibility across all legacy browsers
TSL Procedural ShadersInteractive Geometries

WebGPU Procedural Shader Laboratory

Explore real-time procedural geometry and mathematical materials built with Three Shading Language (TSL). Featuring 3D MaterialX fractal noise vertex displacement, morphing mathematical gyroids, and dynamic Fresnel iridescence.

Plasma Orb

MaterialX 3D Noise

Liquid Gyroid

Trigonometric Surface

Cyber Wave

Harmonic Matrix

Launch Shader LaboratoryIncludes live TSL Code Inspector

Architectural Breakdown: Old vs New

Why WebGPU fundamentally redefines performance thresholds for 3D web applications compared to traditional WebGL.

DimensionWebGPU (WebGPURenderer)WebGL 2.0 (WebGLRenderer)
Compute ArchitectureNative WGSL general-purpose compute workgroupsNot supported (stateless vertex math or GPGPU hacks)
Memory BandwidthGPU Storage Buffers (0 bytes CPU-to-GPU PCIe transfer)Requires Float32Array PCIe upload per frame (needsUpdate)
Physical SimulationStateful integration in VRAM (persistent velocity & inertia)Stateless closed-form displacement (particles have no memory)
Driver OverheadPre-baked Pipeline State Objects (PSOs) & command encodersSynchronous OpenGL ES state validation in JS thread
Throughput at 1M ptsSustained 60 FPS across massive GPU hardware concurrencySevere framerate drop-offs beyond 100K–250K particles
Browser EcosystemChrome 113+, Safari 17.4+, Edge, Firefox NightlyUniversal (99.5% of all global browsers)

Toolchain & Ecosystem

3D Tools, Software & Engineering Resources

The modern design tools, asset optimization pipelines, runtimes, and learning references powering high-craft 3D experiences on the web.

Interactive 3D DesignDesign to Code

Spline — Collaborative 3D in the Browser

Spline bridges the gap between design and production code with real-time browser modeling, physics simulations, and direct React/Three.js export runtimes. Check out Henrik's step-by-step workshop guide to build an interactive 3D rocketship in under 40 minutes.

Interactive Workshop Slide Deck

Houston, we're coding 3D! 🚀

Explore the interactive presentation covering Three.js fundamentals, React Three Fiber composition, shader techniques, and web graphics craft.

Open Workshop Deck