A simple graphics library written in Rust for WebAssembly targets. Used to demonstrate benchmarks, unit tests and simple graphics routines.
This library is not hardware accelerated and therefore should not be used for anything serious. It was built for fun and learning!
This project is built with: -
wasm-pack
wasm-bindgen
for communicating between WebAssembly and JavaScript.console_error_panic_hook
for logging panic messages to the developer console.wee_alloc
, an allocator optimized for small code size.
Build with wasm-pack
: -
wasm-pack build