Brooooooklyn / canvas

High performance skia binding to Node.js. Zero system dependencies and pure npm packages without any postinstall scripts nor node-gyp.
https://vercel.skia.rs
MIT License
1.78k stars 76 forks source link

WebAssembly #313

Open Brooooooklyn opened 3 years ago

Brooooooklyn commented 3 years ago

WebAssembly could be built via wasm-bindgen.

zuozuomuxi commented 2 years ago

这个事情有进展吗?我clone仓库后尝试添加wasm支持,但是我对C++和它的工具链不是很熟悉,我看到了这里的讨论,看起来同时使用 rust + wasm-bindgen + c++ 并不是一件简单的事情。你有建议吗?

ducan-ne commented 5 months ago

seems like https://github.com/rust-skia/rust-skia/issues/39 supported WebAssembly. Use canvas api on cloudflare would be awesome