Elektrine lite

← Feed

@jaffathecake@mastodon.social

Post #1381702

2026-04-02 10:54 UTC

@Jespertheend in Chrome, you can read the pixels back. It's how I make these videos https://mastodon.social/@firefoxwebdevs/116295985768415581 - it's mostly web content, captured with canvas, and piped to the video encoder API. However, at Firefox, we're a little unsure about the readback stuff. What's your use-case for that in particular?

Replies (1)

  • @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.

    Open ##1381703