1
0
mirror of https://github.com/fluencelabs/wasm-bindgen synced 2025-03-30 08:51:05 +00:00
Marcin Baraniecki a5b8c45d28 adds julia set example ()
* adds julia set example

* fixes indentation in *.js files

* fixes *.js formatting

* fixes a typo in function arguments signature
2018-07-08 10:57:19 -05:00
..
2018-07-08 10:57:19 -05:00
2018-07-08 10:57:19 -05:00
2018-07-08 10:57:19 -05:00
2018-07-08 10:57:19 -05:00
2018-07-08 10:57:19 -05:00
2018-07-08 10:57:19 -05:00
2018-07-08 10:57:19 -05:00
2018-07-08 10:57:19 -05:00
2018-07-08 10:57:19 -05:00

Julia Set

View this example online

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)