diff --git a/registry/components/caption-clip-wipe/caption-clip-wipe.html b/registry/components/caption-clip-wipe/caption-clip-wipe.html index d93cc69a6..4ffc09ef9 100644 --- a/registry/components/caption-clip-wipe/caption-clip-wipe.html +++ b/registry/components/caption-clip-wipe/caption-clip-wipe.html @@ -120,16 +120,6 @@ return minSize; } - function mulberry32(seed) { - return function () { - seed |= 0; - seed = (seed + 0x6d2b79f5) | 0; - var t = Math.imul(seed ^ (seed >>> 15), 1 | seed); - t = (t + Math.imul(t ^ (t >>> 7), 61 | t)) ^ t; - return ((t ^ (t >>> 14)) >>> 0) / 4294967296; - }; - } - var WORDS = [ { text: "Every", start: 0.0, end: 0.3 }, { text: "great", start: 0.3, end: 0.55 }, diff --git a/registry/components/caption-clip-wipe/demo.html b/registry/components/caption-clip-wipe/demo.html index d93cc69a6..4ffc09ef9 100644 --- a/registry/components/caption-clip-wipe/demo.html +++ b/registry/components/caption-clip-wipe/demo.html @@ -120,16 +120,6 @@ return minSize; } - function mulberry32(seed) { - return function () { - seed |= 0; - seed = (seed + 0x6d2b79f5) | 0; - var t = Math.imul(seed ^ (seed >>> 15), 1 | seed); - t = (t + Math.imul(t ^ (t >>> 7), 61 | t)) ^ t; - return ((t ^ (t >>> 14)) >>> 0) / 4294967296; - }; - } - var WORDS = [ { text: "Every", start: 0.0, end: 0.3 }, { text: "great", start: 0.3, end: 0.55 }, diff --git a/registry/components/caption-texture-lava/caption-texture-lava.html b/registry/components/caption-texture-lava/caption-texture-lava.html index 39b327133..9265e3504 100644 --- a/registry/components/caption-texture-lava/caption-texture-lava.html +++ b/registry/components/caption-texture-lava/caption-texture-lava.html @@ -21,8 +21,8 @@ filter: contrast(var(--mask-contrast, 1)); } .hf-texture-lava { - -webkit-mask-image: url("/assets/texture-mask-text/masks/lava.png"); - mask-image: url("/assets/texture-mask-text/masks/lava.png"); + -webkit-mask-image: url("lava.png"); + mask-image: url("lava.png"); } *, diff --git a/registry/components/caption-texture-lava/demo.html b/registry/components/caption-texture-lava/demo.html index 39b327133..9265e3504 100644 --- a/registry/components/caption-texture-lava/demo.html +++ b/registry/components/caption-texture-lava/demo.html @@ -21,8 +21,8 @@ filter: contrast(var(--mask-contrast, 1)); } .hf-texture-lava { - -webkit-mask-image: url("/assets/texture-mask-text/masks/lava.png"); - mask-image: url("/assets/texture-mask-text/masks/lava.png"); + -webkit-mask-image: url("lava.png"); + mask-image: url("lava.png"); } *, diff --git a/registry/components/caption-texture-lava/registry-item.json b/registry/components/caption-texture-lava/registry-item.json index 20ab9a891..19daa51c3 100644 --- a/registry/components/caption-texture-lava/registry-item.json +++ b/registry/components/caption-texture-lava/registry-item.json @@ -10,6 +10,11 @@ "path": "caption-texture-lava.html", "target": "compositions/components/caption-texture-lava.html", "type": "hyperframes:snippet" + }, + { + "path": "lava.png", + "target": "compositions/components/lava.png", + "type": "hyperframes:asset" } ], "preview": "https://static.heygen.ai/hyperframes-oss/registry/components/caption-texture-lava/preview.mp4?v=1779051416"