wasm-bindgen/examples/julia_set
Marcin Baraniecki a5b8c45d28 adds julia set example (#419)
* 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
..
src adds julia set example (#419) 2018-07-08 10:57:19 -05:00
styles adds julia set example (#419) 2018-07-08 10:57:19 -05:00
.gitignore adds julia set example (#419) 2018-07-08 10:57:19 -05:00
build.sh adds julia set example (#419) 2018-07-08 10:57:19 -05:00
Cargo.toml adds julia set example (#419) 2018-07-08 10:57:19 -05:00
index.html adds julia set example (#419) 2018-07-08 10:57:19 -05:00
index.js adds julia set example (#419) 2018-07-08 10:57:19 -05:00
package.json adds julia set example (#419) 2018-07-08 10:57:19 -05:00
README.md adds julia set example (#419) 2018-07-08 10:57:19 -05:00
webpack.config.js adds julia set example (#419) 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)