4 ms·
They were working on a wasm version some time ago I believe [0]. Not sure how usable this is insofar, but it may be of interest. [0]: https://github.com/terras
by Koffiepoeder 1y ago
They were working on a wasm version some time ago I believe [0]. Not sure how usable this is insofar, but it may be of interest.
[0]: https://github.com/terrastruct/d2/pull/436/files https://github.com/terrastruct/d2/pull/436/files
- mdaniel 1y agohttps://play.d2lang.com/ https://play.d2lang.com/ loads https://play.d2lang.com/d2.wasm https://play.d2lang.com/d2.wasm so presumably "all done"
- Koffiepoeder 1y agoI have the impression this is still using api.d2lang.com/render/svg as the primary source for its renders. So to me it seems that - although wasm is being loaded/used - this is maybe more for client-side processing steps, rather than the full rendering being done in wasm.