Our great sponsors
-
Graphite
2D raster & vector editor that melds traditional layers & tools with a modern node-based, non-destructive, procedural workflow.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
We are creating Graphite, another 2D graphics editor written with a web frontend. I don't know how similar or different our approach is to Figma's, but I can talk a little bit about how our system works.
https://rustwasm.github.io/docs/book goes over how to compile to WASM and rendering to a canvas.
Afaik they use C++ with emscripten with WebGL for their rendering.
Bevy uses wgpu for rendering and it can target web-assembly as well. Going through its source code could give you an idea where to start and the crates to use.