mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-11-29 08:53:03 +03:00
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)
|