Screen effectsHeat haze & shockwave rings
0.21 GPU · 0.23 CPU ms
Still
The live demo starts when it’s in view.Click anywhere to fire a sonic shot there · drag to orbit
Air that bends what is behind it: shimmering heat over fires and blasts, and sonic shockwaves (rings, shells and a flying core) animated on the GPU from their…
What it costs a frame
0.21 ms
0.23 ms
- GPU
- 0.21 ms
- CPU, median
- 0.23 ms
- CPU, 95th pct
- 0.36 ms
- Draw calls
- 8
- Weight
- Light
Measured 3 November 2026 on RTX 4060 Laptop, 13th Gen Intel(R) Core(TM) i9-13900H, Chrome 156, 1920×1080 at 1×. 600 frames × 3 rounds, median kept. Phones: tiers are being measured next.
| Machine | GPU ms | CPU ms | CPU p95 |
|---|---|---|---|
| RTX 4060 Laptop · 13th Gen Intel(R) Core(TM) i9-13900Hreference · measuring tool | 0.21 | 0.23 | 0.36 |
| apple · Apple A19 Proin a browser tab · 16 November 2026 | 3.03 | 0.32 | 0.70 |
| Intel Arc 140V (Xe2-LPG) · Intel Core Ultra 7 258Vin a browser tab · 15 November 2026 | 0.72 | 0.59 | 0.86 |
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.
What it needs
- Renders with
- WebGPUNeeds WebGPU: current Chrome and Edge, Safari 26+, Firefox 141+ on Windows.
- Your browser
- Checking…Looking for WebGPU
- Depends on
- three.js 0.187.0No other packages
What it’s for
- Heat over fires and exhausts
- Explosions
- Sonic or energy weapons
- Shockwaves
- Portals and lenses
Pitfalls, in brief
- Both read the frame drawn so far: one frame copy each frame they are visible.
- three r187: three’s shared frame copy (viewportSharedTexture) can be created 8-bit before the half-float frame target exists, and then every copy fails.
- A hidden mesh is skipped by compileAsync: compile once with it shown, or the first shimmer builds its pipeline mid-run.
- Draw them after the opaque scene (renderOrder 20/21, transparent, no depth write); anything drawn after them is not bent.
- Smoke and other transparent effects drawn before them get bent too; drawn after, they sit on top of the shimmer.
2 more in brief
- A ring is one-sided: its quad is turned to face the camera along its axis, so there is no second pass for the back.
- Slot rings wrap around (a fixed capacity): a burst that writes more than the capacity overwrites the oldest still alive.
7 pitfalls in full, the hook-up guide, the module source and its tests come with the part.
Where it comes from
From HaTac. Fully custom code.


