We’re going to build a basic in-browser pixel editor with undo & redo using Rust & Webassembly and Javascript & Canvas. We use the rust-webpack-template starter kit and by the end the “im” immutable data structures library to improve the storage of state in our undo queue.

Wasm Bindgen Docs: https://rustwasm.github.io/docs/wasm-bindgen/
Immutable Datastructures library: https://docs.rs/im/15.0.0/im/
rust-webpack-template: https://github.com/rustwasm/rust-webpack-template
npm init: https://docs.npmjs.com/cli/init

#rust #webassembly #javascript

Building a Pixel Editor in Rust & WebAssembly (and JavaScript)
8.85 GEEK