Lab · Live
Three.js Scene
A minimal WebGL scene loaded only when you open this lab — camera, lights, and a procedural object with proper renderer cleanup.
Loading WebGL scene…
- Technology
- Three.js · WebGL · Dynamic import
- How it works
- The demo component is dynamically imported on the client. Three.js initializes after mount, renders on a requestAnimationFrame loop, and disposes geometry, materials, and the renderer on unmount so WebGL does not keep running in the background.