Write HTML. Render video. Built for agents.
JavaScript aiai-agentsanimationclaude-codeffmpegframeworkgsaphtmlhtml-to-videomcpmotion-graphicspuppeteerrenderingtypescriptvideo-editor
fix(registry): slow down matrix-decode scramble and extend hold times
Miguel Ángelf23dd4b541ce
diff --git a/registry/components/caption-matrix-decode/caption-matrix-decode.html b/registry/components/caption-matrix-decode/caption-matrix-decode.htmlindex 3d91fb7c1b..11ac39f608 100644--- a/registry/components/caption-matrix-decode/caption-matrix-decode.html+++ b/registry/components/caption-matrix-decode/caption-matrix-decode.html@@ -181,16 +181,16 @@];var GROUPS = [- { wordStart: 0, wordEnd: 3, start: 0.0, end: 1.05 },- { wordStart: 4, wordEnd: 7, start: 1.1, end: 2.05 },- { wordStart: 8, wordEnd: 8, start: 2.1, end: 2.6 },- { wordStart: 9, wordEnd: 12, start: 2.65, end: 3.5 },- { wordStart: 13, wordEnd: 15, start: 3.55, end: 4.4 },- { wordStart: 16, wordEnd: 16, start: 3.95, end: 4.75 },- { wordStart: 17, wordEnd: 19, start: 4.9, end: 5.4 },- { wordStart: 20, wordEnd: 22, start: 5.65, end: 6.2 },- { wordStart: 23, wordEnd: 24, start: 6.35, end: 6.75 },- { wordStart: 25, wordEnd: 27, start: 6.8, end: 7.8 },+ { wordStart: 0, wordEnd: 3, start: 0.0, end: 1.35 },+ { wordStart: 4, wordEnd: 7, start: 1.1, end: 2.35 },+ { wordStart: 8, wordEnd: 8, start: 2.1, end: 2.9 },+ { wordStart: 9, wordEnd: 12, start: 2.65, end: 3.8 },+ { wordStart: 13, wordEnd: 15, start: 3.55, end: 4.7 },+ { wordStart: 16, wordEnd: 16, start: 3.95, end: 5.0 },+ { wordStart: 17, wordEnd: 19, start: 4.9, end: 5.7 },+ { wordStart: 20, wordEnd: 22, start: 5.65, end: 6.5 },+ { wordStart: 23, wordEnd: 24, start: 6.35, end: 7.05 },+ { wordStart: 25, wordEnd: 27, start: 6.8, end: 7.9 },];var container = document.getElementById("sc-container");@@ -248,10 +248,10 @@var scr1El = document.getElementById("sc-scr1-" + wi);tl.set(scr0El, { display: "inline" }, w.start);- tl.set(scr1El, { display: "inline" }, w.start + 0.05);- tl.set(scr0El, { display: "none" }, w.start + 0.05);- tl.set(realEl, { display: "inline" }, w.start + 0.1);- tl.set(scr1El, { display: "none" }, w.start + 0.1);+ tl.set(scr1El, { display: "inline" }, w.start + 0.1);+ tl.set(scr0El, { display: "none" }, w.start + 0.1);+ tl.set(realEl, { display: "inline" }, w.start + 0.2);+ tl.set(scr1El, { display: "none" }, w.start + 0.2);});tl.to(grp, { opacity: 0, duration: 0.12 }, g.end - 0.12);diff --git a/registry/components/caption-matrix-decode/demo.html b/registry/components/caption-matrix-decode/demo.htmlindex 3d91fb7c1b..11ac39f608 100644--- a/registry/components/caption-matrix-decode/demo.html+++ b/registry/components/caption-matrix-decode/demo.html@@ -181,16 +181,16 @@];var GROUPS = [- { wordStart: 0, wordEnd: 3, start: 0.0, end: 1.05 },- { wordStart: 4, wordEnd: 7, start: 1.1, end: 2.05 },- { wordStart: 8, wordEnd: 8, start: 2.1, end: 2.6 },- { wordStart: 9, wordEnd: 12, start: 2.65, end: 3.5 },- { wordStart: 13, wordEnd: 15, start: 3.55, end: 4.4 },- { wordStart: 16, wordEnd: 16, start: 3.95, end: 4.75 },- { wordStart: 17, wordEnd: 19, start: 4.9, end: 5.4 },- { wordStart: 20, wordEnd: 22, start: 5.65, end: 6.2 },- { wordStart: 23, wordEnd: 24, start: 6.35, end: 6.75 },- { wordStart: 25, wordEnd: 27, start: 6.8, end: 7.8 },+ { wordStart: 0, wordEnd: 3, start: 0.0, end: 1.35 },+ { wordStart: 4, wordEnd: 7, start: 1.1, end: 2.35 },+ { wordStart: 8, wordEnd: 8, start: 2.1, end: 2.9 },+ { wordStart: 9, wordEnd: 12, start: 2.65, end: 3.8 },+ { wordStart: 13, wordEnd: 15, start: 3.55, end: 4.7 },+ { wordStart: 16, wordEnd: 16, start: 3.95, end: 5.0 },+ { wordStart: 17, wordEnd: 19, start: 4.9, end: 5.7 },+ { wordStart: 20, wordEnd: 22, start: 5.65, end: 6.5 },+ { wordStart: 23, wordEnd: 24, start: 6.35, end: 7.05 },+ { wordStart: 25, wordEnd: 27, start: 6.8, end: 7.9 },];var container = document.getElementById("sc-container");@@ -248,10 +248,10 @@var scr1El = document.getElementById("sc-scr1-" + wi);tl.set(scr0El, { display: "inline" }, w.start);- tl.set(scr1El, { display: "inline" }, w.start + 0.05);- tl.set(scr0El, { display: "none" }, w.start + 0.05);- tl.set(realEl, { display: "inline" }, w.start + 0.1);- tl.set(scr1El, { display: "none" }, w.start + 0.1);+ tl.set(scr1El, { display: "inline" }, w.start + 0.1);+ tl.set(scr0El, { display: "none" }, w.start + 0.1);+ tl.set(realEl, { display: "inline" }, w.start + 0.2);+ tl.set(scr1El, { display: "none" }, w.start + 0.2);});tl.to(grp, { opacity: 0, duration: 0.12 }, g.end - 0.12);diff --git a/registry/components/caption-matrix-decode/registry-item.json b/registry/components/caption-matrix-decode/registry-item.jsonindex a4fd0015a7..b3d2cad2fd 100644--- a/registry/components/caption-matrix-decode/registry-item.json+++ b/registry/components/caption-matrix-decode/registry-item.json@@ -12,5 +12,5 @@"type": "hyperframes:snippet"}],- "preview": "https://static.heygen.ai/hyperframes-oss/registry/components/caption-matrix-decode/preview.mp4?v=1779051416"+ "preview": "https://static.heygen.ai/hyperframes-oss/registry/components/caption-matrix-decode/preview.mp4?v=1779060427"}