mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-11-28 23:14:12 +03:00
a5b8c45d28
* adds julia set example * fixes indentation in *.js files * fixes *.js formatting * fixes a typo in function arguments signature
384 B
384 B
Julia Set
This is an example of more complex computations needed to generate a fractal (Julia Set).
It's also an example of direct interaction with CanvasRenderingContext2D's API via #[wasm_bindgen]
macro.
You can build the example with:
$ ./build.sh
(or running the commands on Windows manually)