Daniel Wirtz 252b843c4b
General cleanup (#525)
* Cleans up and trims the overly large builtins file by ~1600 lines
* Properly propagate inline assembler-like argument types
* Use https in examples
* Reformat README
2019-03-08 14:24:48 +01:00
..
2019-03-01 00:09:06 +01:00
2019-03-08 14:24:48 +01:00
2018-11-09 12:28:10 +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.