mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-03-20 12:10:52 +00:00
Adapted from https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API/Tutorial/Drawing_shapes
6 lines
164 B
JavaScript
6 lines
164 B
JavaScript
// For more comments about what's going on here, check out the `hello_world`
|
|
// example.
|
|
import('./wasm_bindgen_canvas_demo').then(canvas => {
|
|
canvas.draw();
|
|
});
|