Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
sghiassy
· 3mo ago · 0 comments
Can WASM write to Canvas though?
Comments
[–]
SPascareli13
3mo ago
You need some JS in the middle but yes, you write your image to a buffer and share it with JS, then in the JS you put it in the canvas.
[–]
josephg
3mo ago
WASM can call javascript, and javascript can call canvas. You can use JS bridges to let WASM do more or less anything.