Use WGPU optimized pipeline to render the mandelbrot set in real time,
even at high zoom level, around
To achieve this, a reference point is computed in CPU with arbitrary precision. Then perturbation theory is used to compute the other points around the reference point.
Where
Reference points with arbitrary precision are computed in WebAssembly.
The WebAssembly part is done in Rust, using AstroFloat crate and compiled to WebAssembly with wasm-pack.
https://gcollombet.github.io/mandelbrot/
Use mouse to navigate and mouse wheel to zoom.
You can also use keyboard: ZQSD to move, A and E to rotate
Rust and wasm-pack are required as well as nodejs.
cd reference_calculus/pkg
npm link
cd ../..
npm link mandelbrot
npm install
npm run devThen open http://localhost:5173 in your browser.