mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-11-29 08:53:03 +03:00
a5b8c45d28
* adds julia set example * fixes indentation in *.js files * fixes *.js formatting * fixes a typo in function arguments signature
15 lines
384 B
Markdown
15 lines
384 B
Markdown
# Julia Set
|
|
|
|
[View this example online](https://webassembly.studio/?f=qmg1c6dbjos)
|
|
|
|
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)
|