Mandelbrot visualization using WebAssembly for major calculations.
- Requires Node, NPM, Rust, Cargo.
- Requires wasm-pack for building Rust to WebAssembly.
Install NPM packages:
npm install
Build the Rust WebAssembly package found in rs/
:
npm run wasm
npm run dev
This command builds the WASM package and then runs the Vite development server. Any edits to WASM don't trigger Vite's hot reload, so they must be rebuilt which can be done by running the command again.
npm run wasm
npm run build
Build the WASM package, then bundle the application (via Vite) to dist/
.