Skip to content

alexanderbira/fractals

Repository files navigation

Fractals

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

Building

  1. Install Emscripten and add emcc to your $PATH
  2. Build the project
$ npm run build

Developing

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.

Deploying

  • Deploy with npm run deploy