Realtime Graphics on CPU

Rendering & dynamics · C++ / WebAssembly

EXECUTIONLoading WebAssembly…Technical notes ↗

A DIFFERENT COMPUTE CANVAS

Every ray. Every constraint.
On the CPU.

Ray tracing, volumetric effects and grid solvers are natural GPU workloads. Here, C++ compiled to WebAssembly does the computation: coupled smoke and cloth, path tracing, and the final image effects. Explore what SIMD and threads accelerate—and where memory access and divergent work set the limit.

Coupled canopyLIVE SIMULATION
– fresh images / s0 samples / pixel448 × 336 CPU image– worker compute

The work behind the image

Measured C++ stage time
01DynamicsFluid + cloth + coupling–
02GeometryMesh + BVH rebuild–
03Light transportSurfaces + volume–
04Image finishHistory + denoise + effects–

CPU → finished RGBA image→WebGL2 → texture presentation only