Canvas and WebGL, recorded the smart way.
A canvas is a bitmap with no DOM inside it.
Naive approaches freeze the page and eat memory. Backstory treats each visible canvas as a separately budgeted media stream with three capture strategies and a seven-level quality ladder.
Three strategies, chosen for you.
Chosen automatically, re-evaluated every five seconds.
Command recording
For 2D canvases with fewer than about 2,000 draw calls a second: record the drawing commands, replay them exactly. Tiny bandwidth, resolution independent. Image sources are captured once by hash.
Frame snapshot
WebCodecs captures a VideoFrame and encodes AV1, VP9, or H.264 in a worker, with keyframes aligned to checkpoints. Unchanged frames are hashed away, so idle dashboards cost nothing.
WebGL and WebGPU
No readPixels. Frames are captured as VideoFrames inside the same animation frame, or the app calls markFrame when a scene is complete.
Hidden canvases are never recorded.
Only what the user saw. Each test, and what happens when a canvas fails it.
- Attached to the document Scratch canvases created in JavaScript and never appended are ignored
- Rendered No display none, visibility hidden, opacity zero, or content-visibility hidden on the canvas or an ancestor
- Non-zero size On screen and in the backing store
- In or near the viewport Scrolling out pauses; scrolling in captures a keyframe and resumes
- Page visible A background tab pauses every canvas
- Allowlisted or auto-detect Strict privacy mode requires an explicit allowlist
Degrade in steps, and say so.
| Level | Max fps | Resolution scale | Encoder target | Notes |
|---|---|---|---|---|
| L0 Full | 15 | 1.0 (max 1920 px wide) | 800 kbps per canvas | Only when HEALTHY and visible |
| L1 | 8 | 0.75 | 400 kbps | Default for most sessions |
| L2 | 4 | 0.5 | 200 kbps | |
| L3 | 2 | 0.5 | 100 kbps | |
| L4 | 1 | 0.33 | 50 kbps | |
| L5 Interaction-only | keyframe on click, tap, key; else 1 per 10 s | 0.33 | burst only | The accept-loss tier |
| L6 Off | 0 | — | — | Placeholder with a reason |
Every canvas has its own budget.
- Governor level memory + drain time
- Per-canvas budget bytes per second
- Strategy command, video, snapshot
- Encode in worker off the main thread
- Chunk stream keyframes at checkpoints
Product updates by email.
Leave a work email and we will tell you when something ships. Or book a demo with an engineer.
You are on the list.
Product updates will go to .
Free for 1,000 stored sessions a month, with unlimited seats. Create a workspace and add one script tag.
Start