Zero-dependency JavaScript blast engineering physics — vibration, damage, detonation, flyrock, frequency analysis and blast movement. Runs in the browser as ES modules and in Node.js. Every demo below computes from the library itself, in your browser.
Three draggable orthogonal planes slice a live-computed field through the blast. Eleven models, evaluated on demand from the KAP.
Yang 3DMuck kinematic launch feeding a sphere DEM transport solver. Fire the pattern and watch the muckpile build.
Forward wave field from the initiation sequence as an orbitable 3D membrane, with inter-detonation interval, FFT spectrum and a synthesised monitor trace.
| Model | Unit | Module |
|---|---|---|
| PPV (Site Law) | mm/s | vibration/PPV |
| PPV Per-Deck | mm/s | vibration/PPVDeck |
| Scaled Heelan | mm/s | vibration/ScaledHeelan |
| Scaled Heelan Blair | mm/s | vibration/ScaledHeelanBlair |
| Heelan Original | mm/s | vibration/HeelanOriginal |
| Holmberg-Persson | mm/s | damage/HolmbergPerssonDamage |
| Jointed Rock | ratio | damage/JointedRockDamage |
| Borehole Pressure | MPa | pressure/BoreholePressure |
| Powder Factor | kg/m³ | pressure/PowderFactor |
| Specific Energy | GJ/m³ | pressure/SEE |
| Scaled Depth of Burial | m/kg1/3 | flyrock/SDoB |
Blair & Minchinton is in the library but is not offered live — it costs roughly
0.75 s per evaluated point, so it belongs in an offline pass. See
examples/precompute.mjs.
All three demos load the same SWELLFACTOR.kap sample. Drop your own Kirra
.kap file onto any viewport to run the models against your own blast — nothing
is uploaded, parsing and evaluation happen locally.