Post #1381699
2026-04-02 10:52 UTC
@jaffathecake Holy shitballs that slider at the bottom is cool! Can you still read pixels from the canvas, or does it get tainted? I've been looking for a way to include html content within webgl/webgpu games for so long.
Replies (1)
-
@jaffathecake@mastodon.social 2026-04-02 10:54
@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?