compute-toys / wgpu-compute-toy

Cross-platform compute shader engine
https://compute.toys
MIT License
119 stars 16 forks source link

JS implementation? #26

Open wcandillon opened 3 months ago

wcandillon commented 3 months ago

Congratulation on this amazing work. I would like to run some of these shaders on React Native where WebGPU is available via a JS binding. I was looking at lib.rs to get a sense of how much boilerplate would need to be rebuilt to run it in JS. Do you think it something doable? If I were to tackle this, would be be open to give me some guidelines on what would need to be done to get this working?

munrocket commented 1 month ago

WASM already in JS VM except Hermes https://github.com/facebook/hermes/issues/429

If someone will port compute.toys to JS we probably will switch to JavaScript, because wgpu not support some experimental web-sys features https://github.com/gfx-rs/wgpu/issues/5685