You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running the examples on WASM would be absolutely amazing – do we have a sense of how far away we might be from achieving this goal? Since the website is being shared in promotional materials now, would it make sense to introduce a temporary solution before WASM is ready to use? I'd be happy to contribute a few visuals if that's allowed :)
Hey! wasm api coverage (libprocessing #193) is a precursor to a lot of examples so that's something that should go along with this issue. For this one I was thinking we could
build processing_wasm and drop the .js and .wasm files into this repo, although I'm not sure if we wanna track these (this should be done by CI later on)
add a small astro component ExampleRunner with a canvas and a “run” button. if the browser doesn’t have webgpu it just shows the normal image
couple things i noticed while looking:
crates/processing_wasm/examples/index.html is a bit out of date, it calls createSurface / fill / loadImage, which aren’t exported anymore. I'd be happy to fix those while I am at it
I haven’t actually built it yet so i don’t know how big the wasm ends up. Cloudflare caps static files at 25mb, so if it’s over that we might need to host it somewhere else.
hi @Nitish-bot! thank you for your interest. it sounds like you'll be working in the libprocessing codebase. Let's start small, how about you make that that change you're talking about with catching up processing_wasm with the API.
Activity
xinemata commentedon Nov 13, 2026
Running the examples on WASM would be absolutely amazing – do we have a sense of how far away we might be from achieving this goal? Since the website is being shared in promotional materials now, would it make sense to introduce a temporary solution before WASM is ready to use? I'd be happy to contribute a few visuals if that's allowed :)
Nitish-bot commentedon Nov 13, 2026
Hey! wasm api coverage (libprocessing #193) is a precursor to a lot of examples so that's something that should go along with this issue. For this one I was thinking we could
.jsand.wasmfiles into this repo, although I'm not sure if we wanna track these (this should be done by CI later on)ExampleRunnerwith a canvas and a “run” button. if the browser doesn’t have webgpu it just shows the normal imagecouple things i noticed while looking:
createSurface/fill/loadImage, which aren’t exported anymore. I'd be happy to fix those while I am at itcatilac commentedon Nov 13, 2026
hi @Nitish-bot! thank you for your interest. it sounds like you'll be working in the libprocessing codebase. Let's start small, how about you make that that change you're talking about with catching up processing_wasm with the API.