3 ms·
I had a look at both WebAssembly and Rust a few months back, in the hope they could help me write some nice, fast graphics filters that I could then compile out
by rikroots 5y ago
I had a look at both WebAssembly and Rust a few months back, in the hope they could help me write some nice, fast graphics filters that I could then compile out and use via Wasm in a 2d canvas. Entirely do-able, but beyond my limits of understanding and patience.
Since then, I've stuck with what I know (Javascript) and branched instead into consuming Wasm written by others (in whatever language) on the frontend for my own experiments - for instance Rapier[1] which is a physics engine written in Rust, and some of the MediaPipe ML models[2].
[1] - Rapier getting started page - https://rapier.rs/docs/user_guides/javascript/getting_started_js https://rapier.rs/docs/user_guides/javascript/getting_starte...
[2] - MediaPipe face mesh model getting started page - https://google.github.io/mediapipe/solutions/face_mesh#javascript-solution-api https://google.github.io/mediapipe/solutions/face_mesh#javas...
- pjmlp 5y agoYou are better off learning WebGL and Houdini for that.