-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] Webassembly #1056
base: main
Are you sure you want to change the base?
[WIP] Webassembly #1056
Conversation
|
||
``` | ||
|
||
We want to edit the function `edit_bitmap`. `image_data` is a reference to the [Uint8ClampedArray](https://rustwasm.github.io/wasm-bindgen/api/js_sys/struct.Uint8ClampedArray.html) being rendered on your screen. `Uint8ClampedArray` is a flat array of unsigned int of `8` bits. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you update dprint.json
to include the new files under src/exercises/webassembly/
and src/webassembly/
? That way we can ensure they're formatted in a consistent way!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey, I don't know how to do this, do you have an example?
Hey @sakex, thanks a lot for putting this up! It's really cool to get a new section for the course 😄 I haven't yet checked it locally, but I like the exercises you've found. |
@mgeisler I pushed a commit with your fixes. I will do a pass next week to find what I'm missing and where the aspect ratio looks bad. Thanks for having a first look :) |
No description provided.