Post #1381703
2026-04-02 11:05 UTC
@jaffathecake We make a bunch of web games (https://pelicanparty.games/) and every once in a while we want to render some UI within the world as opposed to as an overlay. Right now the only way to do this is using a 2d canvas, but that's pretty painful to work with. Even something as simple as multi line text is very difficult to do without a third party library. Being able to style and layout the UI using regular CSS would be a complete game changer.
Replies (1)
-
@jaffathecake@mastodon.social 2026-04-02 11:19
@Jespertheend nice! But it sounds like you don't need pixel read-back in this case? The new API lets you use elements inside the canvas element as textures.