SimulationSand-pour charts
Charts made of falling sand: page elements become glasses that fill with real grains to each value, the brim at the plan and the surplus heaped over it, in…
A real-time lattice Boltzmann (D2Q9) flow in WebGPU compute around solids you describe as plain shapes.
Measured 11 November 2026 on 13th Gen Intel(R) Core(TM) i9-13900H, Chrome 157, 1920×1080 at 1×. 600 frames × 3 rounds, median kept. What ran: The sports car on the 512-wide grid (512 × 214 at 1920 × 1080 with the dock), about 16 lattice steps a frame at 60 Hz, 44 smoke lines of 512 particles, 32,768 tracers, one card swept to and fro along the top (the body stays home); 4× multisampled HDR, bloom and tone map; timed with its own timestamp queries. Phones: tiers are being measured next.
| Machine | GPU ms | CPU ms | CPU p95 |
|---|---|---|---|
| unknown GPU · 13th Gen Intel(R) Core(TM) i9-13900Hreference · measuring tool | 2.26 | 0.26 | 0.41 |
| apple · Apple A19 Proin a browser tab · 16 November 2026 | 6.79 | 1.90 | 2.22 |
| Intel Arc 140V (Xe2-LPG) · Intel Core Ultra 7 258Vin a browser tab · 15 November 2026 | 7.01 | 0.66 | 0.80 |
Bars against one 16.7 ms frame. A browser-tab run is timed in a visible tab without the tool’s scripted input, so read it as close, not exact.
Frames run on a 60 Hz timer (a page demo), so most frames take about one tick, 16.7 ms: the spread around it is what matters.
From HaTac. Fully custom code.
P. L. Bhatnagar, E. P. Gross & M. Krook, A model for collision processes in gases (Physical Review, 1954): The BGK single-relaxation collision every cell does each step.
Y. H. Qian, D. d’Humières & P. Lallemand, Lattice BGK models for Navier–Stokes equation (Europhysics Letters, 1992): The D2Q9 lattice: its nine directions, weights and equilibrium.
Joseph Smagorinsky, General circulation experiments with the primitive equations (Monthly Weather Review, 1963): The eddy viscosity that grows with the local strain and keeps fast, thin flows stable.
Shuling Hou, James Sterling, Shiyi Chen & Gary Doolen, A lattice Boltzmann subgrid model for high Reynolds number flows (1996): Smagorinsky in the lattice: the relaxation time solved in closed form from the non-equilibrium momentum flux.
Anthony J. C. Ladd, Numerical simulations of particulate suspensions via a discretized Boltzmann equation (Journal of Fluid Mechanics, 1994): Halfway bounce-back with a moving wall’s velocity, and the force on a solid by momentum exchange.
Eastman Jacobs, Kenneth Ward & Robert Pinkerton, NACA Report 460 (1933): The four-digit aerofoil sections (the demo’s 2412) from their published thickness and camber formulas.
Theodore von Kármán (1911): The vortex street the cylinder sheds.
Jorge Jimenez, Next generation post processing in Call of Duty: Advanced Warfare (SIGGRAPH 2014): The 13-tap downsample and tent upsample of the bloom pyramid.
Khronos PBR Neutral tone mapper (Emmett Lalish, 2024): The tone map onto the page, written out in WGSL.
Mark Jarzynski & Marc Olano, Hash Functions for GPU Rendering (2020): The PCG hash behind the tracers’ starts and the grain.
WAI-ARIA Authoring Practices Guide (W3C): The radio group pattern for the demo’s body and field pickers (one Tab stop, arrows move).