Anthony FirnEvolveTech

Emergence · Live Rust + WebAssembly

Just enough physics.

Start with a cheap model. Check its error. Unfold to a finer model where it stops being good enough. Try the same idea in light, fluids and engineering design.

Explore the source ↗

Loading the Rust models…

One sphere, three ways to solve it

Audited against Mie
Rayleigh expansionFolded tableMie series― reference

When does a shortcut stop working?

Small particles admit a cheap expansion. Larger ones use a table folded from the full wave solution, or unfold to the series.

x = 2πr / λ in air; the chart spans x = 0.01 to 12.

Preparing the first closure table…

The check is part of the demo. Every plotted result is compared with the existing Wiscombe-truncated Mie series. Rayleigh claims are asymptotic; table and series claims are validated. The reference itself claims 2 × 10⁻⁸, so a tighter request must be reported unmet.

Fixed monochromatic refractive indices, homogeneous spheres and independent scattering. This is one optical building block for atmosphere and water rendering. The native repository includes radiation transport, fluids and spectral rendering; a coupled weather model is beyond this demo. Methods, benchmarks and limits ↗