diff --git a/ts/index.html b/ts/index.html
index d5ba974..fde17f7 100644
--- a/ts/index.html
+++ b/ts/index.html
@@ -135,16 +135,18 @@
label: "Blink (animation)",
make() {
return new MonoDisplayFile({
- elements_always: [{
- type: ElementType.Animation,
- width: W, height: H,
- // updateInterval: 0 = advance every tick (25fps → ~400ms/frame at fps=25 with 2 frames)
- updateInterval: 12, // every 13 ticks ≈ 500ms per frame at 25fps
- frames: [
- { pixels: new Uint8Array(W * H).fill(1) },
- { pixels: new Uint8Array(W * H).fill(0) },
- ],
- }],
+ elements_always: {
+ flags: { drawFront: true, clearBuffer: true },
+ elements: [{
+ type: ElementType.Animation,
+ width: W, height: H,
+ updateInterval: 12, // every 13 ticks ≈ 500ms per frame at 25fps
+ frames: [
+ { pixels: new Uint8Array(W * H).fill(1) },
+ { pixels: new Uint8Array(W * H).fill(0) },
+ ],
+ }],
+ },
}).toBuffer();
},
},