LAB 154 / ATOMIC BROADPHASE

Atomic spatial hash

A particle swarm writes into a fixed cell histogram: clear atomic counters, accumulate occupancy in parallel, then turn density into a live GPU field.

—Preparing

Studying the atomic storage contract…

LIVE PARAMETERS

Stress the histogram

WebGPU uses atomic storage fields for a flat 16 × 8 × 16 cell histogram. The CPU companion uses the same cell mapping with a typed-array reference; no WebGL2 atomic-compute claim is made.

Particles—
Cells—
Atomic ops—
Dispatches—
Draw calls—
Storage—

The route will identify whether the current renderer is using atomic GPU accumulation or the CPU histogram reference.

Benchmark: not run