dsh-hyperframes 0.3.1 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (375) hide show
  1. package/README.en.md +6 -5
  2. package/README.md +7 -6
  3. package/lib/index.d.ts +1 -1
  4. package/lib/index.js +1 -0
  5. package/package.json +63 -63
  6. package/skills/embedded-captions/SKILL.md +28 -3
  7. package/skills/embedded-captions/references/aesthetic-principles.md +2 -3
  8. package/skills/embedded-captions/references/rail.md +1 -1
  9. package/skills/embedded-captions/scripts/check-occlusion.cjs +4 -1
  10. package/skills/embedded-captions/scripts/check-overflow.cjs +1 -0
  11. package/skills/embedded-captions/scripts/check-rail-climax.cjs +5 -1
  12. package/skills/embedded-captions/scripts/fixtures/heroless/theme.json +11 -0
  13. package/skills/embedded-captions/scripts/hf-cli.cjs +33 -0
  14. package/skills/embedded-captions/scripts/make-theme.cjs +95 -57
  15. package/skills/embedded-captions/scripts/make-theme.test.mjs +131 -0
  16. package/skills/embedded-captions/scripts/matte.cjs +1 -13
  17. package/skills/embedded-captions/scripts/measure-layout.cjs +2 -1
  18. package/skills/embedded-captions/scripts/preview-frames.cjs +39 -11
  19. package/skills/embedded-captions/scripts/preview-frames.test.mjs +24 -0
  20. package/skills/embedded-captions/scripts/render-and-composite.sh +8 -52
  21. package/skills/embedded-captions/scripts/safe-zones.cjs +4 -1
  22. package/skills/embedded-captions/scripts/transcribe.cjs +5 -14
  23. package/skills/embedded-captions/scripts/transcribe.test.mjs +41 -0
  24. package/skills/faceless-explainer/SKILL.md +20 -16
  25. package/skills/faceless-explainer/references/story-design.md +1 -1
  26. package/skills/faceless-explainer/scripts/assemble-index.mjs +6 -4
  27. package/skills/faceless-explainer/scripts/assemble-index.test.mjs +57 -2
  28. package/skills/faceless-explainer/scripts/audio.mjs +2 -0
  29. package/skills/faceless-explainer/scripts/build-frame.mjs +6 -3
  30. package/skills/faceless-explainer/scripts/captions.mjs +7 -4
  31. package/skills/faceless-explainer/scripts/frame-packets.mjs +4 -4
  32. package/skills/faceless-explainer/scripts/lib/bgm-volume.mjs +4 -0
  33. package/skills/faceless-explainer/scripts/lib/captured-fonts.mjs +58 -0
  34. package/skills/{hyperframes-core → faceless-explainer}/scripts/lib/frame-packets-core.mjs +5 -23
  35. package/skills/faceless-explainer/scripts/lib/storyboard.mjs +1 -1
  36. package/skills/faceless-explainer/scripts/lib/transitions.json +3 -3
  37. package/skills/faceless-explainer/scripts/transitions.mjs +1 -0
  38. package/skills/faceless-explainer/scripts/transitions.test.mjs +2 -0
  39. package/skills/faceless-explainer/sub-agents/frame-worker.md +1 -1
  40. package/skills/figma/SKILL.md +2 -0
  41. package/skills/general-video/SKILL.md +13 -11
  42. package/skills/general-video/scripts/frame-packets.mjs +4 -4
  43. package/skills/general-video/scripts/lib/frame-packets-core.mjs +194 -0
  44. package/skills/general-video/sub-agents/frame-worker.md +1 -1
  45. package/skills/hyperframes/SKILL.md +40 -30
  46. package/skills/{hyperframes-core → hyperframes}/references/brief-contract.md +15 -15
  47. package/skills/{hyperframes-core → hyperframes}/references/brief-format.md +8 -8
  48. package/skills/hyperframes/references/capability-menu.md +2 -2
  49. package/skills/{hyperframes-core → hyperframes}/references/frame-worker-core.md +1 -1
  50. package/skills/hyperframes/references/intent-interview.md +16 -16
  51. package/skills/hyperframes/references/plugin-installation.md +43 -0
  52. package/skills/{hyperframes-core → hyperframes}/references/production-loop.md +11 -11
  53. package/skills/hyperframes/references/review-loop.md +37 -0
  54. package/skills/hyperframes/references/route-briefs.md +1 -1
  55. package/skills/hyperframes/references/routes/motion-graphics.md +1 -1
  56. package/skills/{hyperframes-core → hyperframes}/references/script-format.md +3 -3
  57. package/skills/hyperframes/references/skill-lifecycle.md +2 -0
  58. package/skills/{hyperframes-core → hyperframes}/references/storyboard-format.md +3 -34
  59. package/skills/hyperframes/scripts/lib/frame-packets-core.mjs +194 -0
  60. package/skills/hyperframes/scripts/plugin-cli.mjs +88 -0
  61. package/skills/hyperframes/scripts/plugin-cli.test.mjs +117 -0
  62. package/skills/hyperframes-animation/SKILL.md +5 -1
  63. package/skills/hyperframes-animation/adapters/gsap.md +1 -1
  64. package/skills/hyperframes-animation/adapters/lottie.md +15 -2
  65. package/skills/hyperframes-animation/adapters/three.md +14 -0
  66. package/skills/hyperframes-animation/blueprints/titlecard-reveal.md +1 -1
  67. package/skills/hyperframes-animation/references/motion-blur.md +133 -0
  68. package/skills/hyperframes-animation/rules/cursor-click-ripple.md +1 -1
  69. package/skills/hyperframes-animation/rules/dynamic-content-sequencing.md +1 -1
  70. package/skills/hyperframes-animation/rules/hacker-flip-3d.md +1 -1
  71. package/skills/hyperframes-animation/rules/kinetic-beat-slam.md +2 -2
  72. package/skills/hyperframes-animation/rules/motion-blur-streak.md +1 -1
  73. package/skills/hyperframes-animation/rules/vertical-spring-ticker.md +1 -1
  74. package/skills/hyperframes-animation/scripts/package-loader.mjs +47 -16
  75. package/skills/hyperframes-animation/scripts/package-loader.test.mjs +52 -0
  76. package/skills/hyperframes-animation/techniques.md +1 -1
  77. package/skills/hyperframes-animation/transitions/TRANSITION-REGISTRY.md +3 -3
  78. package/skills/hyperframes-animation/transitions/css-push.md +4 -4
  79. package/skills/hyperframes-audio/SKILL.md +30 -22
  80. package/skills/hyperframes-audio/scripts/carve.mjs +6 -3
  81. package/skills/hyperframes-audio/scripts/carve.test.mjs +16 -1
  82. package/skills/hyperframes-cli/SKILL.md +44 -35
  83. package/skills/hyperframes-cli/references/init-and-scaffold.md +8 -6
  84. package/skills/hyperframes-cli/references/lint-validate-inspect.md +3 -3
  85. package/skills/hyperframes-cli/references/preview-render.md +35 -32
  86. package/skills/hyperframes-cli/references/upgrade-info-misc.md +50 -1
  87. package/skills/hyperframes-core/SKILL.md +30 -24
  88. package/skills/hyperframes-core/references/composition-patterns.md +3 -42
  89. package/skills/hyperframes-core/references/creator-editing-recipes.md +131 -7
  90. package/skills/hyperframes-core/references/data-attributes.md +11 -11
  91. package/skills/hyperframes-core/references/determinism-rules.md +2 -19
  92. package/skills/hyperframes-core/references/full-screen-motion.md +0 -9
  93. package/skills/hyperframes-core/references/minimal-composition.md +2 -2
  94. package/skills/hyperframes-core/references/sub-compositions.md +3 -66
  95. package/skills/hyperframes-core/references/tailwind.md +1 -20
  96. package/skills/hyperframes-core/references/tracks-and-clips.md +2 -6
  97. package/skills/hyperframes-core/references/variables-and-media.md +3 -3
  98. package/skills/hyperframes-creative/SKILL.md +2 -0
  99. package/skills/hyperframes-creative/references/house-style.md +15 -15
  100. package/skills/hyperframes-creative/references/story-spine.md +3 -1
  101. package/skills/hyperframes-creative/references/storyboard-recipe.md +57 -0
  102. package/skills/hyperframes-creative/references/typography.md +1 -1
  103. package/skills/hyperframes-creative/scripts/package-loader.mjs +47 -16
  104. package/skills/hyperframes-creative/scripts/package-loader.test.mjs +52 -0
  105. package/skills/hyperframes-keyframes/SKILL.md +4 -2
  106. package/skills/hyperframes-registry/SKILL.md +3 -1
  107. package/skills/hyperframes-registry/references/contributing.md +8 -2
  108. package/skills/hyperframes-registry/references/discovery.md +20 -34
  109. package/skills/hyperframes-studio/SKILL.md +77 -0
  110. package/skills/media-use/SKILL.md +14 -12
  111. package/skills/media-use/audio/references/captions/authoring.md +4 -0
  112. package/skills/media-use/audio/references/remove-background.md +1 -1
  113. package/skills/media-use/audio/references/tts-to-captions.md +11 -2
  114. package/skills/media-use/audio/references/tts.md +84 -6
  115. package/skills/media-use/audio/scripts/audio.mjs +15 -6
  116. package/skills/media-use/audio/scripts/gemini-pipeline.test.mjs +113 -0
  117. package/skills/media-use/audio/scripts/lib/audio-meta.mjs +39 -0
  118. package/skills/media-use/audio/scripts/lib/audio-meta.test.mjs +136 -0
  119. package/skills/media-use/audio/scripts/lib/bgm-volume.mjs +4 -0
  120. package/skills/media-use/audio/scripts/lib/bgm.mjs +2 -6
  121. package/skills/media-use/audio/scripts/lib/gemini-auth.mjs +43 -0
  122. package/skills/media-use/audio/scripts/lib/gemini-auth.py +52 -0
  123. package/skills/media-use/audio/scripts/lib/gemini-auth.test.mjs +86 -0
  124. package/skills/media-use/audio/scripts/lib/gemini-auth_test.py +90 -0
  125. package/skills/media-use/audio/scripts/lib/gemini-tts.mjs +122 -0
  126. package/skills/media-use/audio/scripts/lib/gemini-tts.test.mjs +243 -0
  127. package/skills/media-use/audio/scripts/lib/heygen.mjs +2 -1
  128. package/skills/media-use/audio/scripts/lib/tts.mjs +15 -3
  129. package/skills/media-use/audio/scripts/wait-bgm.mjs +8 -4
  130. package/skills/media-use/audio/scripts/wait-bgm.test.mjs +65 -0
  131. package/skills/media-use/references/audio.md +3 -2
  132. package/skills/media-use/references/grading.md +7 -7
  133. package/skills/media-use/references/media-treatment-recipes.md +1 -1
  134. package/skills/media-use/references/memory.md +2 -2
  135. package/skills/media-use/references/meta.md +2 -2
  136. package/skills/media-use/references/operations.md +15 -13
  137. package/skills/media-use/references/resolve.md +22 -11
  138. package/skills/media-use/references/setup-providers.md +11 -11
  139. package/skills/media-use/scripts/audio-duck.mjs +19 -27
  140. package/skills/media-use/scripts/compatibility.test.mjs +96 -0
  141. package/skills/media-use/scripts/lib/config-lock.mjs +45 -0
  142. package/skills/media-use/scripts/lib/duck.mjs +16 -10
  143. package/skills/media-use/scripts/lib/media-fetch.mjs +85 -0
  144. package/skills/media-use/scripts/lib/media-home.mjs +20 -0
  145. package/skills/media-use/scripts/lib/npx-sync.mjs +28 -2
  146. package/skills/media-use/scripts/lib/prefs-store.mjs +2 -2
  147. package/skills/media-use/scripts/lib/recipe-store.mjs +2 -2
  148. package/skills/media-use/scripts/lib/telemetry.mjs +29 -41
  149. package/skills/media-use/scripts/lib/transcriptCutFade.mjs +21 -0
  150. package/skills/media-use/scripts/prefs.mjs +1 -1
  151. package/skills/media-use/scripts/recipe.mjs +1 -1
  152. package/skills/media-use/scripts/resolve-plugin.test.mjs +62 -0
  153. package/skills/media-use/scripts/resolve.mjs +27 -1267
  154. package/skills/media-use/scripts/transcribe.mjs +39 -25
  155. package/skills/media-use/scripts/transcribe.test.mjs +112 -0
  156. package/skills/media-use/scripts/transcript-cut.mjs +39 -8
  157. package/skills/media-use/scripts/transcript-cut.test.mjs +117 -0
  158. package/skills/motion-graphics/SKILL.md +3 -1
  159. package/skills/motion-graphics/agents/builder.md +1 -0
  160. package/skills/motion-graphics/agents/director.md +2 -1
  161. package/skills/motion-graphics/catalog-map.md +25 -13
  162. package/skills/motion-graphics/categories/charts/module.md +2 -1
  163. package/skills/motion-graphics/categories/lower-thirds/module.md +4 -0
  164. package/skills/motion-graphics/categories/news/module.md +1 -1
  165. package/skills/motion-graphics/references/motion-vocabulary.md +4 -0
  166. package/skills/music-to-video/SKILL.md +8 -6
  167. package/skills/music-to-video/references/montage.md +3 -6
  168. package/skills/music-to-video/references/motion-primitives/3d-card-flip/index.html +10 -111
  169. package/skills/music-to-video/references/motion-primitives/3d-card-flip/scene.html +119 -0
  170. package/skills/music-to-video/references/motion-primitives/bg-flow-field/index.html +11 -284
  171. package/skills/music-to-video/references/motion-primitives/bg-flow-field/scene.html +294 -0
  172. package/skills/music-to-video/references/motion-primitives/binary-decrypt/index.html +10 -76
  173. package/skills/music-to-video/references/motion-primitives/binary-decrypt/scene.html +85 -0
  174. package/skills/music-to-video/references/motion-primitives/blur-resolve/index.html +10 -52
  175. package/skills/music-to-video/references/motion-primitives/blur-resolve/scene.html +60 -0
  176. package/skills/music-to-video/references/motion-primitives/braam-punch/index.html +10 -92
  177. package/skills/music-to-video/references/motion-primitives/braam-punch/scene.html +100 -0
  178. package/skills/music-to-video/references/motion-primitives/chromatic-split/index.html +10 -103
  179. package/skills/music-to-video/references/motion-primitives/chromatic-split/scene.html +111 -0
  180. package/skills/music-to-video/references/motion-primitives/chrome-sweep/index.html +10 -60
  181. package/skills/music-to-video/references/motion-primitives/chrome-sweep/scene.html +68 -0
  182. package/skills/music-to-video/references/motion-primitives/counting-punch/index.html +10 -110
  183. package/skills/music-to-video/references/motion-primitives/counting-punch/scene.html +119 -0
  184. package/skills/music-to-video/references/motion-primitives/crash-zoom-in/index.html +10 -112
  185. package/skills/music-to-video/references/motion-primitives/crash-zoom-in/scene.html +120 -0
  186. package/skills/music-to-video/references/motion-primitives/datamosh-smear/index.html +10 -121
  187. package/skills/music-to-video/references/motion-primitives/datamosh-smear/scene.html +131 -0
  188. package/skills/music-to-video/references/motion-primitives/directional-fill/index.html +10 -90
  189. package/skills/music-to-video/references/motion-primitives/directional-fill/scene.html +103 -0
  190. package/skills/music-to-video/references/motion-primitives/dolly-zoom/index.html +10 -94
  191. package/skills/music-to-video/references/motion-primitives/dolly-zoom/scene.html +102 -0
  192. package/skills/music-to-video/references/motion-primitives/electric-arc/index.html +10 -100
  193. package/skills/music-to-video/references/motion-primitives/electric-arc/scene.html +105 -0
  194. package/skills/music-to-video/references/motion-primitives/flash-cut/index.html +10 -89
  195. package/skills/music-to-video/references/motion-primitives/flash-cut/scene.html +97 -0
  196. package/skills/music-to-video/references/motion-primitives/gooey-metaball/index.html +10 -197
  197. package/skills/music-to-video/references/motion-primitives/gooey-metaball/scene.html +206 -0
  198. package/skills/music-to-video/references/motion-primitives/hard-cut/index.html +10 -74
  199. package/skills/music-to-video/references/motion-primitives/hard-cut/scene.html +82 -0
  200. package/skills/music-to-video/references/motion-primitives/hypercut-whip/index.html +10 -36
  201. package/skills/music-to-video/references/motion-primitives/hypercut-whip/scene.html +44 -0
  202. package/skills/music-to-video/references/motion-primitives/iris-open/index.html +10 -61
  203. package/skills/music-to-video/references/motion-primitives/iris-open/scene.html +69 -0
  204. package/skills/music-to-video/references/motion-primitives/kinetic-letter-in/index.html +10 -55
  205. package/skills/music-to-video/references/motion-primitives/kinetic-letter-in/scene.html +64 -0
  206. package/skills/music-to-video/references/motion-primitives/liquid-morph/index.html +10 -88
  207. package/skills/music-to-video/references/motion-primitives/liquid-morph/scene.html +96 -0
  208. package/skills/music-to-video/references/motion-primitives/mask-reveal/index.html +10 -66
  209. package/skills/music-to-video/references/motion-primitives/mask-reveal/scene.html +74 -0
  210. package/skills/music-to-video/references/motion-primitives/mosaic-pack/index.html +10 -81
  211. package/skills/music-to-video/references/motion-primitives/mosaic-pack/scene.html +89 -0
  212. package/skills/music-to-video/references/motion-primitives/neon-flicker/index.html +10 -65
  213. package/skills/music-to-video/references/motion-primitives/neon-flicker/scene.html +73 -0
  214. package/skills/music-to-video/references/motion-primitives/outline-to-fill/index.html +10 -74
  215. package/skills/music-to-video/references/motion-primitives/outline-to-fill/scene.html +82 -0
  216. package/skills/music-to-video/references/motion-primitives/palette-flip/index.html +10 -89
  217. package/skills/music-to-video/references/motion-primitives/palette-flip/scene.html +97 -0
  218. package/skills/music-to-video/references/motion-primitives/particle-burst/index.html +10 -98
  219. package/skills/music-to-video/references/motion-primitives/particle-burst/scene.html +106 -0
  220. package/skills/music-to-video/references/motion-primitives/pixel-dissolve/index.html +10 -78
  221. package/skills/music-to-video/references/motion-primitives/pixel-dissolve/scene.html +86 -0
  222. package/skills/music-to-video/references/motion-primitives/radial-burst-lines/index.html +10 -117
  223. package/skills/music-to-video/references/motion-primitives/radial-burst-lines/scene.html +130 -0
  224. package/skills/music-to-video/references/motion-primitives/screen-shake/index.html +10 -70
  225. package/skills/music-to-video/references/motion-primitives/screen-shake/scene.html +78 -0
  226. package/skills/music-to-video/references/motion-primitives/slot-machine-reveal/index.html +10 -87
  227. package/skills/music-to-video/references/motion-primitives/slot-machine-reveal/scene.html +100 -0
  228. package/skills/music-to-video/references/motion-primitives/spotlight-sweep/index.html +10 -94
  229. package/skills/music-to-video/references/motion-primitives/spotlight-sweep/scene.html +102 -0
  230. package/skills/music-to-video/references/motion-primitives/staggered-exit/index.html +10 -74
  231. package/skills/music-to-video/references/motion-primitives/staggered-exit/scene.html +82 -0
  232. package/skills/music-to-video/references/motion-primitives/text-spectral-rays/index.html +11 -271
  233. package/skills/music-to-video/references/motion-primitives/text-spectral-rays/scene.html +280 -0
  234. package/skills/music-to-video/references/motion-primitives/text-wave-distort/index.html +10 -92
  235. package/skills/music-to-video/references/motion-primitives/text-wave-distort/scene.html +106 -0
  236. package/skills/music-to-video/references/motion-primitives/tile-mosaic/index.html +10 -101
  237. package/skills/music-to-video/references/motion-primitives/tile-mosaic/scene.html +109 -0
  238. package/skills/music-to-video/references/motion-primitives/typewriter-reveal/index.html +10 -79
  239. package/skills/music-to-video/references/motion-primitives/typewriter-reveal/scene.html +91 -0
  240. package/skills/music-to-video/references/motion-primitives/word-grid-burst/index.html +10 -83
  241. package/skills/music-to-video/references/motion-primitives/word-grid-burst/scene.html +96 -0
  242. package/skills/music-to-video/references/planning.md +2 -2
  243. package/skills/music-to-video/scripts/lib/storyboard.mjs +1 -1
  244. package/skills/music-to-video/sub-agents/frame-worker.md +2 -2
  245. package/skills/pr-to-video/SKILL.md +20 -16
  246. package/skills/pr-to-video/references/code-vocabulary.md +14 -12
  247. package/skills/pr-to-video/references/story-design.md +1 -1
  248. package/skills/pr-to-video/scripts/assemble-index.mjs +6 -4
  249. package/skills/pr-to-video/scripts/assemble-index.test.mjs +57 -2
  250. package/skills/pr-to-video/scripts/audio.mjs +2 -0
  251. package/skills/pr-to-video/scripts/build-frame.mjs +6 -3
  252. package/skills/pr-to-video/scripts/captions.mjs +7 -4
  253. package/skills/pr-to-video/scripts/captions.test.mjs +41 -0
  254. package/skills/pr-to-video/scripts/frame-packets.mjs +4 -4
  255. package/skills/pr-to-video/scripts/lib/bgm-volume.mjs +4 -0
  256. package/skills/pr-to-video/scripts/lib/captured-fonts.mjs +58 -0
  257. package/skills/pr-to-video/scripts/lib/frame-packets-core.mjs +194 -0
  258. package/skills/pr-to-video/scripts/lib/storyboard.mjs +1 -1
  259. package/skills/pr-to-video/scripts/lib/transitions.json +3 -3
  260. package/skills/pr-to-video/scripts/transitions.mjs +7 -5
  261. package/skills/pr-to-video/sub-agents/frame-worker.md +1 -1
  262. package/skills/product-launch-video/SKILL.md +20 -16
  263. package/skills/product-launch-video/references/story-design.md +1 -1
  264. package/skills/product-launch-video/scripts/assemble-index.mjs +6 -4
  265. package/skills/product-launch-video/scripts/assemble-index.test.mjs +57 -2
  266. package/skills/product-launch-video/scripts/audio.mjs +2 -0
  267. package/skills/product-launch-video/scripts/audio.test.mjs +16 -0
  268. package/skills/product-launch-video/scripts/build-frame-subsets.test.mjs +152 -0
  269. package/skills/product-launch-video/scripts/build-frame.mjs +6 -3
  270. package/skills/product-launch-video/scripts/captions.mjs +7 -4
  271. package/skills/product-launch-video/scripts/frame-packets.mjs +4 -4
  272. package/skills/product-launch-video/scripts/lib/bgm-volume.mjs +4 -0
  273. package/skills/product-launch-video/scripts/lib/captured-fonts.mjs +58 -0
  274. package/skills/product-launch-video/scripts/lib/frame-packets-core.mjs +194 -0
  275. package/skills/product-launch-video/scripts/lib/storyboard.mjs +1 -1
  276. package/skills/product-launch-video/scripts/lib/transitions.json +3 -3
  277. package/skills/product-launch-video/scripts/transitions.mjs +7 -5
  278. package/skills/product-launch-video/scripts/transitions.test.mjs +68 -0
  279. package/skills/product-launch-video/sub-agents/frame-worker.md +1 -1
  280. package/skills/remotion-to-hyperframes/SKILL.md +7 -4
  281. package/skills/remotion-to-hyperframes/assets/test-corpus/tier-1-title-card/expected.json +5 -5
  282. package/skills/remotion-to-hyperframes/assets/test-corpus/tier-1-title-card/hf-src/compositions/title.html +31 -0
  283. package/skills/remotion-to-hyperframes/assets/test-corpus/tier-1-title-card/hf-src/index.html +10 -25
  284. package/skills/remotion-to-hyperframes/assets/test-corpus/tier-2-multi-scene/README.md +8 -8
  285. package/skills/remotion-to-hyperframes/assets/test-corpus/tier-2-multi-scene/expected.json +9 -9
  286. package/skills/remotion-to-hyperframes/assets/test-corpus/tier-2-multi-scene/hf-src/compositions/scene-1.html +35 -0
  287. package/skills/remotion-to-hyperframes/assets/test-corpus/tier-2-multi-scene/hf-src/compositions/scene-2.html +35 -0
  288. package/skills/remotion-to-hyperframes/assets/test-corpus/tier-2-multi-scene/hf-src/compositions/scene-3.html +36 -0
  289. package/skills/remotion-to-hyperframes/assets/test-corpus/tier-2-multi-scene/hf-src/index.html +28 -71
  290. package/skills/remotion-to-hyperframes/assets/test-corpus/tier-3-data-driven/expected.json +3 -3
  291. package/skills/remotion-to-hyperframes/assets/test-corpus/tier-3-data-driven/hf-src/compositions/scene-1.html +52 -0
  292. package/skills/remotion-to-hyperframes/assets/test-corpus/tier-3-data-driven/hf-src/compositions/scene-2.html +99 -0
  293. package/skills/remotion-to-hyperframes/assets/test-corpus/tier-3-data-driven/hf-src/compositions/scene-3.html +55 -0
  294. package/skills/remotion-to-hyperframes/assets/test-corpus/tier-3-data-driven/hf-src/index.html +13 -212
  295. package/skills/remotion-to-hyperframes/references/api-map.md +16 -16
  296. package/skills/remotion-to-hyperframes/references/limitations.md +7 -7
  297. package/skills/remotion-to-hyperframes/references/lottie.md +5 -7
  298. package/skills/remotion-to-hyperframes/references/media.md +3 -3
  299. package/skills/remotion-to-hyperframes/references/parameters.md +5 -0
  300. package/skills/remotion-to-hyperframes/references/sequencing.md +71 -18
  301. package/skills/slideshow/SKILL.md +4 -1
  302. package/skills/slideshow/references/standalone-harness.md +0 -3
  303. package/skills/talking-head-recut/SKILL.md +10 -1
  304. package/skills/hyperframes-core/references/review-loop.md +0 -41
  305. package/skills/media-use/scripts/lib/adopt.mjs +0 -128
  306. package/skills/media-use/scripts/lib/adopt.test.mjs +0 -95
  307. package/skills/media-use/scripts/lib/bgm-provider.mjs +0 -20
  308. package/skills/media-use/scripts/lib/brand-provider.mjs +0 -59
  309. package/skills/media-use/scripts/lib/bundled-sfx-provider.mjs +0 -108
  310. package/skills/media-use/scripts/lib/bundled-sfx-provider.test.mjs +0 -85
  311. package/skills/media-use/scripts/lib/cache.mjs +0 -150
  312. package/skills/media-use/scripts/lib/candidates.mjs +0 -91
  313. package/skills/media-use/scripts/lib/candidates.test.mjs +0 -155
  314. package/skills/media-use/scripts/lib/codex-provider.mjs +0 -161
  315. package/skills/media-use/scripts/lib/codex-provider.test.mjs +0 -34
  316. package/skills/media-use/scripts/lib/coverage.test.mjs +0 -117
  317. package/skills/media-use/scripts/lib/cube-build.mjs +0 -181
  318. package/skills/media-use/scripts/lib/cube-build.test.mjs +0 -80
  319. package/skills/media-use/scripts/lib/cube-validate.mjs +0 -198
  320. package/skills/media-use/scripts/lib/cube-validate.test.mjs +0 -125
  321. package/skills/media-use/scripts/lib/cutlist.test.mjs +0 -148
  322. package/skills/media-use/scripts/lib/duck.test.mjs +0 -118
  323. package/skills/media-use/scripts/lib/error-diffusion.test.mjs +0 -102
  324. package/skills/media-use/scripts/lib/freeze.mjs +0 -70
  325. package/skills/media-use/scripts/lib/freeze.test.mjs +0 -46
  326. package/skills/media-use/scripts/lib/grade-analyzer.mjs +0 -264
  327. package/skills/media-use/scripts/lib/grade-analyzer.test.mjs +0 -285
  328. package/skills/media-use/scripts/lib/heygen-cli.mjs +0 -191
  329. package/skills/media-use/scripts/lib/heygen-cli.test.mjs +0 -301
  330. package/skills/media-use/scripts/lib/heygen-search.mjs +0 -45
  331. package/skills/media-use/scripts/lib/heygen-search.test.mjs +0 -49
  332. package/skills/media-use/scripts/lib/heygen-video-provider.mjs +0 -127
  333. package/skills/media-use/scripts/lib/heygen-video-provider.test.mjs +0 -344
  334. package/skills/media-use/scripts/lib/image-provider.mjs +0 -44
  335. package/skills/media-use/scripts/lib/local-models.mjs +0 -318
  336. package/skills/media-use/scripts/lib/local-models.test.mjs +0 -220
  337. package/skills/media-use/scripts/lib/local-run.mjs +0 -78
  338. package/skills/media-use/scripts/lib/local-run.test.mjs +0 -121
  339. package/skills/media-use/scripts/lib/logo-provider.mjs +0 -222
  340. package/skills/media-use/scripts/lib/logo-provider.test.mjs +0 -137
  341. package/skills/media-use/scripts/lib/ltx-video-provider.mjs +0 -94
  342. package/skills/media-use/scripts/lib/ltx-video-provider.test.mjs +0 -316
  343. package/skills/media-use/scripts/lib/lut-preset-provider.mjs +0 -266
  344. package/skills/media-use/scripts/lib/lut-preset-provider.test.mjs +0 -176
  345. package/skills/media-use/scripts/lib/manifest.test.mjs +0 -388
  346. package/skills/media-use/scripts/lib/match.mjs +0 -47
  347. package/skills/media-use/scripts/lib/mflux-provider.mjs +0 -128
  348. package/skills/media-use/scripts/lib/mflux-provider.test.mjs +0 -174
  349. package/skills/media-use/scripts/lib/misses.mjs +0 -49
  350. package/skills/media-use/scripts/lib/misses.test.mjs +0 -78
  351. package/skills/media-use/scripts/lib/npx-sync.test.mjs +0 -50
  352. package/skills/media-use/scripts/lib/parakeet-words.test.mjs +0 -44
  353. package/skills/media-use/scripts/lib/prefs-store.test.mjs +0 -189
  354. package/skills/media-use/scripts/lib/probe.mjs +0 -39
  355. package/skills/media-use/scripts/lib/probe.test.mjs +0 -31
  356. package/skills/media-use/scripts/lib/providers.mjs +0 -5
  357. package/skills/media-use/scripts/lib/recipe-store.test.mjs +0 -367
  358. package/skills/media-use/scripts/lib/registry.mjs +0 -218
  359. package/skills/media-use/scripts/lib/registry.test.mjs +0 -261
  360. package/skills/media-use/scripts/lib/search.mjs +0 -24
  361. package/skills/media-use/scripts/lib/search.test.mjs +0 -32
  362. package/skills/media-use/scripts/lib/sfx-provider.mjs +0 -23
  363. package/skills/media-use/scripts/lib/specs.mjs +0 -132
  364. package/skills/media-use/scripts/lib/specs.test.mjs +0 -157
  365. package/skills/media-use/scripts/lib/stats.mjs +0 -117
  366. package/skills/media-use/scripts/lib/stats.test.mjs +0 -165
  367. package/skills/media-use/scripts/lib/telemetry.test.mjs +0 -373
  368. package/skills/media-use/scripts/lib/tts-local-provider.mjs +0 -92
  369. package/skills/media-use/scripts/lib/tts-local-provider.test.mjs +0 -72
  370. package/skills/media-use/scripts/lib/usage.mjs +0 -57
  371. package/skills/media-use/scripts/lib/usage.test.mjs +0 -54
  372. package/skills/media-use/scripts/lib/voice-provider.mjs +0 -57
  373. package/skills/media-use/scripts/lib/voice-provider.test.mjs +0 -46
  374. package/skills/media-use/scripts/resolve.test.mjs +0 -1120
  375. /package/skills/{hyperframes-core → hyperframes}/references/subagent-dispatch.md +0 -0
@@ -0,0 +1,206 @@
1
+ <template id="gooey-metaball-template">
2
+ <div data-composition-id="gooey-metaball" data-width="1920" data-height="1080" data-duration="2">
3
+ <style>
4
+ :root {
5
+ --hg-violet: #7c3aed;
6
+ --hg-violet-2: #a855f7;
7
+ --hg-cyan: #2afff0;
8
+ --hg-bg: #0a0a0f;
9
+ --hg-fg: #f5f5fa;
10
+ --hg-dim: #6b6b78;
11
+ }
12
+ * {
13
+ margin: 0;
14
+ padding: 0;
15
+ box-sizing: border-box;
16
+ }
17
+ .hero {
18
+ position: absolute;
19
+ inset: 0;
20
+ display: flex;
21
+ align-items: center;
22
+ justify-content: center;
23
+ font-weight: 900;
24
+ font-size: 280px;
25
+ letter-spacing: -0.04em;
26
+ color: var(--hg-fg);
27
+ z-index: 5;
28
+ pointer-events: none;
29
+ }
30
+ .gooey-stage {
31
+ position: absolute;
32
+ inset: 0;
33
+ filter: url(#gooey-filter);
34
+ }
35
+ .ball {
36
+ position: absolute;
37
+ border-radius: 50%;
38
+ background: var(--hg-violet-2);
39
+ top: 50%;
40
+ left: 50%;
41
+ will-change: transform;
42
+ opacity: 0;
43
+ }
44
+ .ball.a {
45
+ width: 280px;
46
+ height: 280px;
47
+ background: #7c3aed;
48
+ }
49
+ .ball.b {
50
+ width: 240px;
51
+ height: 240px;
52
+ background: #a855f7;
53
+ }
54
+ .ball.c {
55
+ width: 200px;
56
+ height: 200px;
57
+ background: #d946ef;
58
+ }
59
+ .ball.d {
60
+ width: 320px;
61
+ height: 320px;
62
+ background: #8b5cf6;
63
+ }
64
+ .ball.e {
65
+ width: 180px;
66
+ height: 180px;
67
+ background: #c084fc;
68
+ }
69
+ </style>
70
+ <svg style="position: absolute; width: 0; height: 0">
71
+ <defs>
72
+ <filter id="gooey-filter">
73
+ <feGaussianBlur in="SourceGraphic" stdDeviation="20" result="blur" />
74
+ <feColorMatrix
75
+ in="blur"
76
+ mode="matrix"
77
+ values="
78
+ 1 0 0 0 0
79
+ 0 1 0 0 0
80
+ 0 0 1 0 0
81
+ 0 0 0 22 -10"
82
+ result="gooey"
83
+ />
84
+ <feComposite in="SourceGraphic" in2="gooey" operator="atop" />
85
+ </filter>
86
+ </defs>
87
+ </svg>
88
+
89
+ <div class="gooey-stage">
90
+ <div class="ball a" id="ballA"></div>
91
+ <div class="ball b" id="ballB"></div>
92
+ <div class="ball c" id="ballC"></div>
93
+ <div class="ball d" id="ballD"></div>
94
+ <div class="ball e" id="ballE"></div>
95
+ </div>
96
+
97
+ <div class="hero">GOOEY</div>
98
+ <script>
99
+ window.__timelines = window.__timelines || {};
100
+ const tl = gsap.timeline({ paused: true });
101
+
102
+ // Initial: all balls collapsed at center
103
+ ["#ballA", "#ballB", "#ballC", "#ballD", "#ballE"].forEach((id) => {
104
+ tl.set(id, { xPercent: -50, yPercent: -50, scale: 0, opacity: 0 }, 0);
105
+ });
106
+ // Spawn outward
107
+ tl.to(
108
+ "#ballA",
109
+ {
110
+ xPercent: -50 - 120,
111
+ yPercent: -50 + 20,
112
+ scale: 1,
113
+ opacity: 1,
114
+ duration: 0.5,
115
+ ease: "back.out(1.6)",
116
+ },
117
+ 0.15,
118
+ );
119
+ tl.to(
120
+ "#ballB",
121
+ {
122
+ xPercent: -50 + 100,
123
+ yPercent: -50 + 50,
124
+ scale: 1,
125
+ opacity: 1,
126
+ duration: 0.55,
127
+ ease: "back.out(1.6)",
128
+ },
129
+ 0.2,
130
+ );
131
+ tl.to(
132
+ "#ballC",
133
+ {
134
+ xPercent: -50 + 30,
135
+ yPercent: -50 - 80,
136
+ scale: 1,
137
+ opacity: 1,
138
+ duration: 0.55,
139
+ ease: "back.out(1.6)",
140
+ },
141
+ 0.25,
142
+ );
143
+ tl.to(
144
+ "#ballD",
145
+ {
146
+ xPercent: -50 - 50,
147
+ yPercent: -50 - 30,
148
+ scale: 1,
149
+ opacity: 1,
150
+ duration: 0.55,
151
+ ease: "back.out(1.6)",
152
+ },
153
+ 0.3,
154
+ );
155
+ tl.to(
156
+ "#ballE",
157
+ {
158
+ xPercent: -50 + 80,
159
+ yPercent: -50 - 40,
160
+ scale: 1,
161
+ opacity: 1,
162
+ duration: 0.55,
163
+ ease: "back.out(1.6)",
164
+ },
165
+ 0.18,
166
+ );
167
+
168
+ // Idle drift
169
+ tl.to(
170
+ "#ballA",
171
+ { xPercent: "+=20", yPercent: "+=12", duration: 1.0, ease: "sine.inOut" },
172
+ 0.7,
173
+ );
174
+ tl.to(
175
+ "#ballB",
176
+ { xPercent: "-=18", yPercent: "-=10", duration: 1.0, ease: "sine.inOut" },
177
+ 0.7,
178
+ );
179
+ tl.to(
180
+ "#ballC",
181
+ { xPercent: "-=15", yPercent: "+=20", duration: 1.0, ease: "sine.inOut" },
182
+ 0.7,
183
+ );
184
+ tl.to(
185
+ "#ballD",
186
+ { xPercent: "+=25", yPercent: "+=8", duration: 1.0, ease: "sine.inOut" },
187
+ 0.7,
188
+ );
189
+ tl.to(
190
+ "#ballE",
191
+ { xPercent: "-=22", yPercent: "+=18", duration: 1.0, ease: "sine.inOut" },
192
+ 0.7,
193
+ );
194
+
195
+ // Reveal text behind
196
+ tl.fromTo(
197
+ ".hero",
198
+ { opacity: 0, scale: 0.95 },
199
+ { opacity: 1, scale: 1, duration: 0.5, ease: "power3.out" },
200
+ 0.6,
201
+ );
202
+
203
+ window.__timelines["gooey-metaball"] = tl;
204
+ </script>
205
+ </div>
206
+ </template>
@@ -13,11 +13,6 @@
13
13
  --hg-fg: #f5f5fa;
14
14
  --hg-dim: #6b6b78;
15
15
  }
16
- * {
17
- margin: 0;
18
- padding: 0;
19
- box-sizing: border-box;
20
- }
21
16
  html,
22
17
  body {
23
18
  margin: 0;
@@ -29,33 +24,6 @@
29
24
  color: var(--hg-fg);
30
25
  -webkit-font-smoothing: antialiased;
31
26
  }
32
- #scene {
33
- position: absolute;
34
- inset: 0;
35
- width: 1920px;
36
- height: 1080px;
37
- }
38
- .stage {
39
- position: absolute;
40
- inset: 0;
41
- }
42
- .panel {
43
- position: absolute;
44
- inset: 0;
45
- display: flex;
46
- align-items: center;
47
- justify-content: center;
48
- opacity: 0;
49
- will-change: opacity;
50
- }
51
- .word {
52
- font-weight: 900;
53
- font-size: 340px;
54
- letter-spacing: -0.05em;
55
- line-height: 0.9;
56
- text-transform: uppercase;
57
- white-space: nowrap;
58
- }
59
27
  </style>
60
28
  </head>
61
29
  <body>
@@ -67,51 +35,19 @@
67
35
  data-width="1920"
68
36
  data-height="1080"
69
37
  >
70
- <div id="scene" class="clip" data-start="0" data-duration="2" data-track-index="1">
71
- <div class="stage" id="stage"></div>
72
- </div>
38
+ <div
39
+ id="scene"
40
+ class="clip"
41
+ data-composition-id="hard-cut"
42
+ data-composition-src="scene.html"
43
+ data-start="0"
44
+ data-duration="2"
45
+ data-track-index="1"
46
+ ></div>
73
47
  </div>
74
48
  <script>
75
49
  window.__timelines = window.__timelines || {};
76
- const tl = gsap.timeline({ paused: true });
77
-
78
- // Deterministic palette + word list. Variation is derived from index only.
79
- const BG = ["#7c3aed", "#0a0a0f", "#ff2a4a", "#2afff0", "#a855f7", "#f5f5fa", "#0a0a0f"];
80
- const FG = ["#f5f5fa", "#a855f7", "#0a0a0f", "#0a0a0f", "#0a0a0f", "#7c3aed", "#f5f5fa"];
81
- const WORDS = ["CUT", "NOW", "HARD", "SNAP", "STOP", "GO", "CUT"];
82
- const STEP = 0.28; // beat interval
83
- const N = WORDS.length;
84
-
85
- // Build one full-frame panel per cut, all hidden but the first.
86
- const stage = document.getElementById("stage");
87
- for (let i = 0; i < N; i++) {
88
- const panel = document.createElement("div");
89
- panel.className = "panel";
90
- panel.id = "p" + i;
91
- panel.style.background = BG[i];
92
- panel.style.opacity = i === 0 ? "1" : "0";
93
- const word = document.createElement("div");
94
- word.className = "word";
95
- word.style.color = FG[i];
96
- word.textContent = WORDS[i];
97
- panel.appendChild(word);
98
- stage.appendChild(panel);
99
- }
100
-
101
- // Sample-accurate 0ms cuts: at each beat, hide current panel, show next.
102
- // tl.set has no duration and no ease — brutal instant switching.
103
- for (let i = 1; i < N; i++) {
104
- const t = i * STEP;
105
- tl.set("#p" + (i - 1), { opacity: 0 }, t);
106
- tl.set("#p" + i, { opacity: 1 }, t);
107
- }
108
-
109
- // Loop gracefully: snap back to the first panel before the clip ends so a
110
- // re-entry starts clean on the same color/word it began with.
111
- tl.set("#p" + (N - 1), { opacity: 0 }, N * STEP);
112
- tl.set("#p0", { opacity: 1 }, N * STEP);
113
-
114
- window.__timelines["main"] = tl;
50
+ window.__timelines["main"] = gsap.timeline({ paused: true });
115
51
  </script>
116
52
  </body>
117
53
  </html>
@@ -0,0 +1,82 @@
1
+ <template id="hard-cut-template">
2
+ <div data-composition-id="hard-cut" data-width="1920" data-height="1080" data-duration="2">
3
+ <style>
4
+ :root {
5
+ --hg-violet: #7c3aed;
6
+ --hg-violet-2: #a855f7;
7
+ --hg-bg: #0a0a0f;
8
+ --hg-fg: #f5f5fa;
9
+ --hg-dim: #6b6b78;
10
+ }
11
+ * {
12
+ margin: 0;
13
+ padding: 0;
14
+ box-sizing: border-box;
15
+ }
16
+ .stage {
17
+ position: absolute;
18
+ inset: 0;
19
+ }
20
+ .panel {
21
+ position: absolute;
22
+ inset: 0;
23
+ display: flex;
24
+ align-items: center;
25
+ justify-content: center;
26
+ opacity: 0;
27
+ will-change: opacity;
28
+ }
29
+ .word {
30
+ font-weight: 900;
31
+ font-size: 340px;
32
+ letter-spacing: -0.05em;
33
+ line-height: 0.9;
34
+ text-transform: uppercase;
35
+ white-space: nowrap;
36
+ }
37
+ </style>
38
+ <div class="stage" id="stage"></div>
39
+ <script>
40
+ window.__timelines = window.__timelines || {};
41
+ const tl = gsap.timeline({ paused: true });
42
+
43
+ // Deterministic palette + word list. Variation is derived from index only.
44
+ const BG = ["#7c3aed", "#0a0a0f", "#ff2a4a", "#2afff0", "#a855f7", "#f5f5fa", "#0a0a0f"];
45
+ const FG = ["#f5f5fa", "#a855f7", "#0a0a0f", "#0a0a0f", "#0a0a0f", "#7c3aed", "#f5f5fa"];
46
+ const WORDS = ["CUT", "NOW", "HARD", "SNAP", "STOP", "GO", "CUT"];
47
+ const STEP = 0.28; // beat interval
48
+ const N = WORDS.length;
49
+
50
+ // Build one full-frame panel per cut, all hidden but the first.
51
+ const stage = document.getElementById("stage");
52
+ for (let i = 0; i < N; i++) {
53
+ const panel = document.createElement("div");
54
+ panel.className = "panel";
55
+ panel.id = "p" + i;
56
+ panel.style.background = BG[i];
57
+ panel.style.opacity = i === 0 ? "1" : "0";
58
+ const word = document.createElement("div");
59
+ word.className = "word";
60
+ word.style.color = FG[i];
61
+ word.textContent = WORDS[i];
62
+ panel.appendChild(word);
63
+ stage.appendChild(panel);
64
+ }
65
+
66
+ // Sample-accurate 0ms cuts: at each beat, hide current panel, show next.
67
+ // tl.set has no duration and no ease — brutal instant switching.
68
+ for (let i = 1; i < N; i++) {
69
+ const t = i * STEP;
70
+ tl.set("#p" + (i - 1), { opacity: 0 }, t);
71
+ tl.set("#p" + i, { opacity: 1 }, t);
72
+ }
73
+
74
+ // Loop gracefully: snap back to the first panel before the clip ends so a
75
+ // re-entry starts clean on the same color/word it began with.
76
+ tl.set("#p" + (N - 1), { opacity: 0 }, N * STEP);
77
+ tl.set("#p0", { opacity: 1 }, N * STEP);
78
+
79
+ window.__timelines["hard-cut"] = tl;
80
+ </script>
81
+ </div>
82
+ </template>
@@ -13,11 +13,6 @@
13
13
  --hg-fg: #f5f5fa;
14
14
  --hg-dim: #6b6b78;
15
15
  }
16
- * {
17
- margin: 0;
18
- padding: 0;
19
- box-sizing: border-box;
20
- }
21
16
  html,
22
17
  body {
23
18
  margin: 0;
@@ -29,28 +24,6 @@
29
24
  color: var(--hg-fg);
30
25
  -webkit-font-smoothing: antialiased;
31
26
  }
32
- #scene {
33
- position: absolute;
34
- inset: 0;
35
- width: 1920px;
36
- height: 1080px;
37
- }
38
- .stage {
39
- position: absolute;
40
- inset: 0;
41
- display: flex;
42
- align-items: center;
43
- justify-content: center;
44
- }
45
- .hero {
46
- font-weight: 900;
47
- font-size: 280px;
48
- letter-spacing: -0.04em;
49
- line-height: 0.95;
50
- color: var(--hg-fg);
51
- white-space: nowrap;
52
- will-change: transform, filter;
53
- }
54
27
  </style>
55
28
  </head>
56
29
  <body>
@@ -62,18 +35,19 @@
62
35
  data-width="1920"
63
36
  data-height="1080"
64
37
  >
65
- <div id="scene" class="clip" data-start="0" data-duration="2" data-track-index="1">
66
- <div class="stage"><div class="hero" id="hero">HYPERCUT</div></div>
67
- </div>
38
+ <div
39
+ id="scene"
40
+ class="clip"
41
+ data-composition-id="hypercut-whip"
42
+ data-composition-src="scene.html"
43
+ data-start="0"
44
+ data-duration="2"
45
+ data-track-index="1"
46
+ ></div>
68
47
  </div>
69
48
  <script>
70
49
  window.__timelines = window.__timelines || {};
71
- const tl = gsap.timeline({ paused: true });
72
-
73
- tl.set("#hero", { x: 0, filter: "blur(0px)" }, 0);
74
- tl.to("#hero", { x: 1800, filter: "blur(30px)", duration: 0.18, ease: "power4.in" }, 1.65);
75
-
76
- window.__timelines["main"] = tl;
50
+ window.__timelines["main"] = gsap.timeline({ paused: true });
77
51
  </script>
78
52
  </body>
79
53
  </html>
@@ -0,0 +1,44 @@
1
+ <template id="hypercut-whip-template">
2
+ <div data-composition-id="hypercut-whip" data-width="1920" data-height="1080" data-duration="2">
3
+ <style>
4
+ :root {
5
+ --hg-violet: #7c3aed;
6
+ --hg-violet-2: #a855f7;
7
+ --hg-bg: #0a0a0f;
8
+ --hg-fg: #f5f5fa;
9
+ --hg-dim: #6b6b78;
10
+ }
11
+ * {
12
+ margin: 0;
13
+ padding: 0;
14
+ box-sizing: border-box;
15
+ }
16
+ .stage {
17
+ position: absolute;
18
+ inset: 0;
19
+ display: flex;
20
+ align-items: center;
21
+ justify-content: center;
22
+ }
23
+ .hero {
24
+ font-weight: 900;
25
+ font-size: 280px;
26
+ letter-spacing: -0.04em;
27
+ line-height: 0.95;
28
+ color: var(--hg-fg);
29
+ white-space: nowrap;
30
+ will-change: transform, filter;
31
+ }
32
+ </style>
33
+ <div class="stage"><div class="hero" id="hero">HYPERCUT</div></div>
34
+ <script>
35
+ window.__timelines = window.__timelines || {};
36
+ const tl = gsap.timeline({ paused: true });
37
+
38
+ tl.set("#hero", { x: 0, filter: "blur(0px)" }, 0);
39
+ tl.to("#hero", { x: 1800, filter: "blur(30px)", duration: 0.18, ease: "power4.in" }, 1.65);
40
+
41
+ window.__timelines["hypercut-whip"] = tl;
42
+ </script>
43
+ </div>
44
+ </template>
@@ -13,11 +13,6 @@
13
13
  --hg-fg: #f5f5fa;
14
14
  --hg-dim: #6b6b78;
15
15
  }
16
- * {
17
- margin: 0;
18
- padding: 0;
19
- box-sizing: border-box;
20
- }
21
16
  html,
22
17
  body {
23
18
  margin: 0;
@@ -29,39 +24,6 @@
29
24
  color: var(--hg-fg);
30
25
  -webkit-font-smoothing: antialiased;
31
26
  }
32
- #scene {
33
- position: absolute;
34
- inset: 0;
35
- width: 1920px;
36
- height: 1080px;
37
- }
38
- .iris-stage {
39
- position: absolute;
40
- inset: 0;
41
- display: flex;
42
- align-items: center;
43
- justify-content: center;
44
- clip-path: circle(0% at 50% 50%);
45
- will-change: clip-path;
46
- background: linear-gradient(135deg, #1a0033 0%, #0a0a0f 60%);
47
- }
48
- .iris-stage .hero {
49
- font-family: "Playfair Display", serif;
50
- font-weight: 900;
51
- font-size: 280px;
52
- letter-spacing: -0.04em;
53
- line-height: 0.95;
54
- color: var(--hg-fg);
55
- white-space: nowrap;
56
- }
57
- .iris-ring {
58
- position: absolute;
59
- border-radius: 50%;
60
- border: 2px solid var(--hg-violet);
61
- box-shadow: 0 0 40px var(--hg-violet);
62
- opacity: 0;
63
- will-change: transform, opacity;
64
- }
65
27
  </style>
66
28
  </head>
67
29
  <body>
@@ -73,32 +35,19 @@
73
35
  data-width="1920"
74
36
  data-height="1080"
75
37
  >
76
- <div id="scene" class="clip" data-start="0" data-duration="2" data-track-index="1">
77
- <div class="iris-stage">
78
- <div class="iris-ring" style="width: 200px; height: 200px"></div>
79
- <div class="hero">IRIS</div>
80
- </div>
81
- </div>
38
+ <div
39
+ id="scene"
40
+ class="clip"
41
+ data-composition-id="iris-open"
42
+ data-composition-src="scene.html"
43
+ data-start="0"
44
+ data-duration="2"
45
+ data-track-index="1"
46
+ ></div>
82
47
  </div>
83
48
  <script>
84
49
  window.__timelines = window.__timelines || {};
85
- const tl = gsap.timeline({ paused: true });
86
-
87
- tl.set(".iris-stage", { clipPath: "circle(0% at 50% 50%)" }, 0);
88
- tl.fromTo(
89
- ".iris-ring",
90
- { scale: 0, opacity: 0.9 },
91
- { scale: 9, opacity: 0, duration: 0.85, ease: "expo.out" },
92
- 0.2,
93
- );
94
- tl.to(
95
- ".iris-stage",
96
- { clipPath: "circle(75% at 50% 50%)", duration: 0.9, ease: "expo.out" },
97
- 0.3,
98
- );
99
- tl.from(".iris-stage .hero", { y: 40, opacity: 0, duration: 0.6, ease: "power3.out" }, 0.6);
100
-
101
- window.__timelines["main"] = tl;
50
+ window.__timelines["main"] = gsap.timeline({ paused: true });
102
51
  </script>
103
52
  </body>
104
53
  </html>
@@ -0,0 +1,69 @@
1
+ <template id="iris-open-template">
2
+ <div data-composition-id="iris-open" data-width="1920" data-height="1080" data-duration="2">
3
+ <style>
4
+ :root {
5
+ --hg-violet: #7c3aed;
6
+ --hg-violet-2: #a855f7;
7
+ --hg-bg: #0a0a0f;
8
+ --hg-fg: #f5f5fa;
9
+ --hg-dim: #6b6b78;
10
+ }
11
+ * {
12
+ margin: 0;
13
+ padding: 0;
14
+ box-sizing: border-box;
15
+ }
16
+ .iris-stage {
17
+ position: absolute;
18
+ inset: 0;
19
+ display: flex;
20
+ align-items: center;
21
+ justify-content: center;
22
+ clip-path: circle(0% at 50% 50%);
23
+ will-change: clip-path;
24
+ background: linear-gradient(135deg, #1a0033 0%, #0a0a0f 60%);
25
+ }
26
+ .iris-stage .hero {
27
+ font-family: "Playfair Display", serif;
28
+ font-weight: 900;
29
+ font-size: 280px;
30
+ letter-spacing: -0.04em;
31
+ line-height: 0.95;
32
+ color: var(--hg-fg);
33
+ white-space: nowrap;
34
+ }
35
+ .iris-ring {
36
+ position: absolute;
37
+ border-radius: 50%;
38
+ border: 2px solid var(--hg-violet);
39
+ box-shadow: 0 0 40px var(--hg-violet);
40
+ opacity: 0;
41
+ will-change: transform, opacity;
42
+ }
43
+ </style>
44
+ <div class="iris-stage">
45
+ <div class="iris-ring" style="width: 200px; height: 200px"></div>
46
+ <div class="hero">IRIS</div>
47
+ </div>
48
+ <script>
49
+ window.__timelines = window.__timelines || {};
50
+ const tl = gsap.timeline({ paused: true });
51
+
52
+ tl.set(".iris-stage", { clipPath: "circle(0% at 50% 50%)" }, 0);
53
+ tl.fromTo(
54
+ ".iris-ring",
55
+ { scale: 0, opacity: 0.9 },
56
+ { scale: 9, opacity: 0, duration: 0.85, ease: "expo.out" },
57
+ 0.2,
58
+ );
59
+ tl.to(
60
+ ".iris-stage",
61
+ { clipPath: "circle(75% at 50% 50%)", duration: 0.9, ease: "expo.out" },
62
+ 0.3,
63
+ );
64
+ tl.from(".iris-stage .hero", { y: 40, opacity: 0, duration: 0.6, ease: "power3.out" }, 0.6);
65
+
66
+ window.__timelines["iris-open"] = tl;
67
+ </script>
68
+ </div>
69
+ </template>