Wasm visualize option

What would be the best/easiest way to visualize a 2d game for wasm? I was thinking about porting a snake clone I made in Clojure. As that works with an HTML canvas it's probably the easiest, but maybe there are better options?

Maybe this, https://crates.io/crates/wasm-rgame would be the easiest to start with, as long as I keep the code clean it should be pretty easy moving to something else.

The Rust WASM indroductory texts provide 2 ways on how to render your Rust code to the web. Specifically it shows rendering as usual (i.e. using a regular HTML tag), and rendering straight from Rust state using a <canvas></canvas>.
The latter can be much more efficient in terms of FFI overhead.

And webgl, like used here?, https://github.com/unrust/unrust