Open sakex opened 1 year ago
Great, let's flesh out the details a bit in the description and make sure to link it from #32.
We provide the rendering logic in Javascript, the student has to implement the game logic in Rust.
From javascript, get the live camera buffer, pass it to rust for image processing. For instance, grayscale, gaussian blur, invert the image, etc.
Working on this branch
Objective
Add a chapter to cover WebAssembly in Comprehensive Rust 🦀.
Design Goals
WASM can be thought of both as a compilation target and a platform. Therefore, we want to add a simple entry into “Interoperability > With the web” and a more exhaustive “WebAssembly” class. WASM’s main appeal is the development of applications for the web, so we’ll want to have a setup with a web page that can load the student’s WASM code. Exercises should be visual.
Requirements
With the Web
It should reference the new course for an in-depth diveCreate a new class with the following chapters: