rpt icon indicating copy to clipboard operation
rpt copied to clipboard

WASM Support

Open jkelleyrtp opened this issue 4 years ago • 1 comments

Awesome crate!! I'd love to make a little demo in a web app, but some of the deps don't compile for WASM.

Is this something you are interested in? I'd be happy to make a PR adding support if so.

jkelleyrtp avatar Mar 01 '21 18:03 jkelleyrtp

Thanks! A web-based path tracing demo would be awesome. Which dependencies don't compile? I imagine rand, rand_distr, and nalgebra-glm are probably fine. Is the issue rayon?

Happy to take any pull request that would enable a WebAssembly target. If rayon or other libraries aren't compatible, feel free to put the dependency behind an optional feature flag.

ekzhang avatar Mar 01 '21 20:03 ekzhang