mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-12-26 11:34:22 +03:00
a5b8c45d28
* adds julia set example * fixes indentation in *.js files * fixes *.js formatting * fixes a typo in function arguments signature |
||
---|---|---|
.. | ||
src | ||
styles | ||
.gitignore | ||
build.sh | ||
Cargo.toml | ||
index.html | ||
index.js | ||
package.json | ||
README.md | ||
webpack.config.js |
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)