An online viewer/generator for fractals using C → WASM for fast generation.
This is very much a work in progress. You can view the current version at https://alexbr.dev/fractals
- Install Emscripten and add
emcc
to your$PATH
- Build the project
$ npm run build
Prerequisite: Install Emscripten and add emcc
to your $PATH
- Start the Vite development server with
npm run dev
- Re-compile the lib to WASM with
npm run build-lib
- Lib can be built directly with CMake. Make sure you have SDL2 installed.
- Deploy with
npm run deploy