Skip to content

dkozyr/wasm-mandelbrot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mandelbrot Fractal WASM Plugin

This is a plugin for building Mandelbrot fractals using the WebAssembly System Interface (WASI) Software Development Kit (SDK).

Prerequisites

In order to use build plugin, you must have the WASI SDK installed on your system and set correct path in CMakeLists.txt:

set(WASI_VERSION_FULL "19.0")
set(WASI_SDK_PATH $ENV{HOME}/deps/wasi-sdk-${WASI_VERSION_FULL})

How to build

mkdir build
cd build
cmake -GNinja -DCMAKE_BUILD_TYPE=Release ..
ninja

Example

Mandelbrot Fractal WASM