WebAssembly experiment
Pi, one term at a time
Watch the Leibniz series approach π, with each batch calculated in Rust compiled to WebAssembly.
π = 4 ×
1 − 1⁄3 + 1⁄5 − 1⁄7 + …
Convergence
Approximation by cycle
Calculation engine
Rust source
Loading Rust source…