Shaderous is a browser-based GPU code for compressible gas dynamics and magnetohydrodynamics. Its author reports 206 validation tests, while noting that each run uses one GPU and is not aimed at the largest simulations.
AI-generated conceptual illustration; not documentary evidence.
Could students explore simulations of stars or shock waves without installing specialist software? A preprint describes Shaderous, a browser-based code for three-dimensional fluid calculations that runs on a computer’s GPU. The abstract reports a broad set of physics capabilities and validation tests; the supplied abstract alone does not allow an independent assessment of the evidence.
A physics code that runs in a browser
Shaderous, introduced by astrophysicist James Guillochon, is a three-dimensional code for compressible gas dynamics and magnetohydrodynamics. It runs in a web browser using WebGPU compute shaders. The abstract says it can run on GPUs from any vendor and that a simulation setup can be shared as a link, including for use on a student’s laptop or phone.
The proposal aims to make a broad set of physics calculations available through a browser. But browser-based does not mean hardware-free: each run is limited to one GPU.
A broad set of numerical tools
The software combines an unsplit MUSCL-Hancock scheme and HLLC fluxes for hydrodynamics with a multigrid Poisson solver. It also includes block-structured adaptive mesh refinement with per-block timesteps. For magnetohydrodynamics, it uses constrained transport with HLLD fluxes.
The abstract lists further capabilities: point masses with sinks, gray radiation transport using the M1 closure, implicit pressure for low Mach numbers, tabulated equations of state spanning degenerate electrons to rock and iron, cooling, viscosity, conduction, resistivity, mixtures of gases, and nuclear burning represented by a neural network trained on a 13-isotope reaction network.
One design choice concerns fluxes at cell faces. The solver does not store face fluxes; instead, the two cells sharing a face compute bit-identical fluxes. The author says this allows fluxes at boundaries between refinement levels and timesteps to be recomputed instead of kept in a flux register. The abstract reports conservation of mass, momentum and energy to round-off on the adaptive mesh. It also says compensated sums keep magnetic-field divergence at round-off.
The author says the whole timestep and assignment of blocks to time bins run on the GPU. Ghost cells are computed as they are loaded, rather than exchanged. These are presented as design features of the code.
What the tests report
The author reports 206 validation tests and says the code uses single precision while reproducing a range of astrophysical systems accurately. Examples named in the abstract include stars and atmospheres in hydrostatic balance, shocks, gravitational collapse and magnetized flows. These are claims about the author’s test suite, not a guarantee that every problem or configuration will be accurate. The supplied abstract does not provide the detailed test results needed to assess each case independently.
The reported scale also needs context. The largest adaptive mesh so far held about 175 million cells on an NVIDIA H200. This result on one GPU does not show that ordinary laptops or phones can handle a mesh of that size. The author says Shaderous is suited to parameter studies—sets of runs exploring different inputs, including sweeps launched from the command line—rather than the largest single simulations.
What remains uncertain
This article is based on the paper’s abstract, not a full-text review. We cannot independently examine the methods, validation setup, comparisons or claims of novelty. The author describes three design aspects as new “as far as we can find”; that qualified wording is not an independently established finding about priority.
The source is an arXiv preprint. Its claims should be read as the author’s report, not as conclusions independently confirmed here through peer review or replication. The abstract presents a combination of physics options, GPU execution and browser access; assessing its reliability and practical usefulness requires evidence beyond the supplied abstract.
Shaderous
hydrodynamics
magnetohydrodynamics
WebGPU
adaptive mesh refinement
astrophysics simulations
physics education
Related reading
Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.