2019-06-05 23:15:39 +02:00
..
2019-06-05 23:15:39 +02:00
2019-03-08 14:24:48 +01:00
2019-02-22 15:06:34 +01:00

Mandelbrot Set

An AssemblyScript example. Renders the Mandelbrot set to a canvas. Compiles to ~590 bytes of optimized WASM.

Instructions

First, install the development dependencies:

$> npm install

Now, to build assembly/index.ts to an untouched and an optimized .wasm including their respective .wat representations, run:

$> npm run asbuild

Afterwards, run npm run server to start a local server. Should also automatically launch a browser.