wasm-bindgen/examples/julia_set
Alex Crichton 906cd7adcc Remove usage of wasm_import_module feature
This is now stabilized! Also tweak usage of it to the stable version.
2018-07-21 19:00:40 -07:00
..
src Remove usage of wasm_import_module feature 2018-07-21 19:00:40 -07: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)