hyper-animator-codex 0.7.0 → 0.8.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 (321) hide show
  1. package/README.md +67 -7
  2. package/bin/hyper-animator-codex.mjs +31 -9
  3. package/bin/postinstall.mjs +19 -0
  4. package/lib/install-options.mjs +3 -0
  5. package/lib/install-skill.mjs +84 -2
  6. package/lib/minimax-config.mjs +3 -3
  7. package/package.json +3 -2
  8. package/skills/hyper-animator-codex/SKILL.md +58 -20
  9. package/skills/hyper-animator-codex/agents/openai.yaml +2 -2
  10. package/skills/hyper-animator-codex/contracts/shot-plan.schema.json +214 -0
  11. package/skills/hyper-animator-codex/contracts/workflow-policy.json +85 -0
  12. package/skills/hyper-animator-codex/references/HyperFrames-AI-Generation-Patterns-codex.md +788 -0
  13. package/skills/hyper-animator-codex/references/beat-sync-workflow.md +7 -0
  14. package/skills/hyper-animator-codex/references/examples/shot-plan-dual-catalog.json +69 -0
  15. package/skills/hyper-animator-codex/references/hyperframes-agent-pseudocode.ts +1 -1
  16. package/skills/hyper-animator-codex/references/hyperframes-catalog-map.json +97 -230
  17. package/skills/hyper-animator-codex/references/hyperframes-intent-workflow.md +23 -7
  18. package/skills/hyper-animator-codex/references/minimax-music-workflow.md +24 -4
  19. package/skills/hyper-animator-codex/references/narration-audio-workflow.md +31 -1
  20. package/skills/hyper-animator-codex/references/shotcraft/LICENSE +202 -0
  21. package/skills/hyper-animator-codex/references/shotcraft/cards/ai-stream-response/README.md +46 -0
  22. package/skills/hyper-animator-codex/references/shotcraft/cards/autolayout-gap-dial/README.md +53 -0
  23. package/skills/hyper-animator-codex/references/shotcraft/cards/beat-cut-moves/README.md +54 -0
  24. package/skills/hyper-animator-codex/references/shotcraft/cards/beat-step-list-theme-cycle/README.md +59 -0
  25. package/skills/hyper-animator-codex/references/shotcraft/cards/before-after-slider-scrub/README.md +47 -0
  26. package/skills/hyper-animator-codex/references/shotcraft/cards/bottom-push-stack-wipe/README.md +58 -0
  27. package/skills/hyper-animator-codex/references/shotcraft/cards/brand-frame-snap/README.md +51 -0
  28. package/skills/hyper-animator-codex/references/shotcraft/cards/brand-ink-open/README.md +35 -0
  29. package/skills/hyper-animator-codex/references/shotcraft/cards/bubble-swarm-takeover/README.md +62 -0
  30. package/skills/hyper-animator-codex/references/shotcraft/cards/canvas-materialize-moves/README.md +55 -0
  31. package/skills/hyper-animator-codex/references/shotcraft/cards/card-flip-reveal/README.md +50 -0
  32. package/skills/hyper-animator-codex/references/shotcraft/cards/card-flock-tumble/README.md +54 -0
  33. package/skills/hyper-animator-codex/references/shotcraft/cards/cel-flash-stomp/README.md +54 -0
  34. package/skills/hyper-animator-codex/references/shotcraft/cards/chart-live-moves/README.md +51 -0
  35. package/skills/hyper-animator-codex/references/shotcraft/cards/circle-match-iris/README.md +53 -0
  36. package/skills/hyper-animator-codex/references/shotcraft/cards/cloner-depth-echo/README.md +38 -0
  37. package/skills/hyper-animator-codex/references/shotcraft/cards/collab-cursor-moves/README.md +48 -0
  38. package/skills/hyper-animator-codex/references/shotcraft/cards/color-block-step-wipe/README.md +54 -0
  39. package/skills/hyper-animator-codex/references/shotcraft/cards/command-palette-summon/README.md +45 -0
  40. package/skills/hyper-animator-codex/references/shotcraft/cards/crane-rise-reveal/README.md +47 -0
  41. package/skills/hyper-animator-codex/references/shotcraft/cards/crash-zoom-punch/README.md +38 -0
  42. package/skills/hyper-animator-codex/references/shotcraft/cards/dataviz-landscape-open/README.md +54 -0
  43. package/skills/hyper-animator-codex/references/shotcraft/cards/deck-deal-flyin/README.md +45 -0
  44. package/skills/hyper-animator-codex/references/shotcraft/cards/depth-layer-moves/README.md +40 -0
  45. package/skills/hyper-animator-codex/references/shotcraft/cards/document-typewriter-reveal/README.md +40 -0
  46. package/skills/hyper-animator-codex/references/shotcraft/cards/draw-svg-trace/README.md +50 -0
  47. package/skills/hyper-animator-codex/references/shotcraft/cards/edit-hook-moves/README.md +38 -0
  48. package/skills/hyper-animator-codex/references/shotcraft/cards/element-body-moves/README.md +49 -0
  49. package/skills/hyper-animator-codex/references/shotcraft/cards/fui-hud-moves/README.md +44 -0
  50. package/skills/hyper-animator-codex/references/shotcraft/cards/gauge-readout-moves/README.md +45 -0
  51. package/skills/hyper-animator-codex/references/shotcraft/cards/glow-flyline-moves/README.md +51 -0
  52. package/skills/hyper-animator-codex/references/shotcraft/cards/gradient-word-sweep/README.md +49 -0
  53. package/skills/hyper-animator-codex/references/shotcraft/cards/graze-face-tour/README.md +56 -0
  54. package/skills/hyper-animator-codex/references/shotcraft/cards/hashtag-to-pill-materialize/README.md +57 -0
  55. package/skills/hyper-animator-codex/references/shotcraft/cards/hires-rasterize-3d-text/README.md +34 -0
  56. package/skills/hyper-animator-codex/references/shotcraft/cards/icon-field-colorize/README.md +53 -0
  57. package/skills/hyper-animator-codex/references/shotcraft/cards/icon-performance-moves/README.md +46 -0
  58. package/skills/hyper-animator-codex/references/shotcraft/cards/impact-feedback/README.md +50 -0
  59. package/skills/hyper-animator-codex/references/shotcraft/cards/input-trigger-moves/README.md +49 -0
  60. package/skills/hyper-animator-codex/references/shotcraft/cards/integration-hub-map/README.md +54 -0
  61. package/skills/hyper-animator-codex/references/shotcraft/cards/letterspace-materialize/README.md +52 -0
  62. package/skills/hyper-animator-codex/references/shotcraft/cards/light-play-moves/README.md +49 -0
  63. package/skills/hyper-animator-codex/references/shotcraft/cards/line-boil/README.md +52 -0
  64. package/skills/hyper-animator-codex/references/shotcraft/cards/line-carry-transition/README.md +52 -0
  65. package/skills/hyper-animator-codex/references/shotcraft/cards/list-stack-press/README.md +43 -0
  66. package/skills/hyper-animator-codex/references/shotcraft/cards/magician-card-flourish/README.md +63 -0
  67. package/skills/hyper-animator-codex/references/shotcraft/cards/marker-underline-title/README.md +48 -0
  68. package/skills/hyper-animator-codex/references/shotcraft/cards/montage-rhythm-moves/README.md +55 -0
  69. package/skills/hyper-animator-codex/references/shotcraft/cards/morph-from-primitive/README.md +51 -0
  70. package/skills/hyper-animator-codex/references/shotcraft/cards/neon-frame-forerun/README.md +50 -0
  71. package/skills/hyper-animator-codex/references/shotcraft/cards/neon-frame-orbit-drop/README.md +50 -0
  72. package/skills/hyper-animator-codex/references/shotcraft/cards/neon-triple-marquee/README.md +55 -0
  73. package/skills/hyper-animator-codex/references/shotcraft/cards/odometer-digit-roll/README.md +54 -0
  74. package/skills/hyper-animator-codex/references/shotcraft/cards/outro-group-photo-launch/README.md +39 -0
  75. package/skills/hyper-animator-codex/references/shotcraft/cards/overhead-camera-moves/README.md +50 -0
  76. package/skills/hyper-animator-codex/references/shotcraft/cards/page-turn-transitions/README.md +48 -0
  77. package/skills/hyper-animator-codex/references/shotcraft/cards/page-waterfall-wall/README.md +52 -0
  78. package/skills/hyper-animator-codex/references/shotcraft/cards/panel-grid-moves/README.md +52 -0
  79. package/skills/hyper-animator-codex/references/shotcraft/cards/paper-craft-moves/README.md +46 -0
  80. package/skills/hyper-animator-codex/references/shotcraft/cards/paper-plane-messenger/README.md +62 -0
  81. package/skills/hyper-animator-codex/references/shotcraft/cards/paper-title-card/README.md +36 -0
  82. package/skills/hyper-animator-codex/references/shotcraft/cards/particle-celebrate-hits/README.md +42 -0
  83. package/skills/hyper-animator-codex/references/shotcraft/cards/particle-sand-fill/README.md +39 -0
  84. package/skills/hyper-animator-codex/references/shotcraft/cards/pill-slot-cycle/README.md +57 -0
  85. package/skills/hyper-animator-codex/references/shotcraft/cards/print-texture-transitions/README.md +40 -0
  86. package/skills/hyper-animator-codex/references/shotcraft/cards/rhythm-interrupt-moves/README.md +44 -0
  87. package/skills/hyper-animator-codex/references/shotcraft/cards/riso-print-hits/README.md +54 -0
  88. package/skills/hyper-animator-codex/references/shotcraft/cards/row-embed/README.md +36 -0
  89. package/skills/hyper-animator-codex/references/shotcraft/cards/runway-ground-skim/README.md +52 -0
  90. package/skills/hyper-animator-codex/references/shotcraft/cards/sakuga-timing-shift/README.md +50 -0
  91. package/skills/hyper-animator-codex/references/shotcraft/cards/scene-locked-title/README.md +43 -0
  92. package/skills/hyper-animator-codex/references/shotcraft/cards/scroll-brake-moves/README.md +45 -0
  93. package/skills/hyper-animator-codex/references/shotcraft/cards/segmented-thumb-hero/README.md +57 -0
  94. package/skills/hyper-animator-codex/references/shotcraft/cards/shot-transitions/README.md +60 -0
  95. package/skills/hyper-animator-codex/references/shotcraft/cards/skeleton-reveal/README.md +54 -0
  96. package/skills/hyper-animator-codex/references/shotcraft/cards/slam-entrance-moves/README.md +53 -0
  97. package/skills/hyper-animator-codex/references/shotcraft/cards/smear-multiples/README.md +49 -0
  98. package/skills/hyper-animator-codex/references/shotcraft/cards/space-camera-moves/README.md +53 -0
  99. package/skills/hyper-animator-codex/references/shotcraft/cards/spectrum-morph-ui/README.md +50 -0
  100. package/skills/hyper-animator-codex/references/shotcraft/cards/speed-ramp-freeze/README.md +42 -0
  101. package/skills/hyper-animator-codex/references/shotcraft/cards/split-flap-title/README.md +52 -0
  102. package/skills/hyper-animator-codex/references/shotcraft/cards/spotlight-hero-card/README.md +39 -0
  103. package/skills/hyper-animator-codex/references/shotcraft/cards/spotlight-sweep-moves/README.md +51 -0
  104. package/skills/hyper-animator-codex/references/shotcraft/cards/steep-tilt-glide/README.md +53 -0
  105. package/skills/hyper-animator-codex/references/shotcraft/cards/stroke-segment-build/README.md +43 -0
  106. package/skills/hyper-animator-codex/references/shotcraft/cards/tear-streak-transitions/README.md +43 -0
  107. package/skills/hyper-animator-codex/references/shotcraft/cards/tension-camera-moves/README.md +55 -0
  108. package/skills/hyper-animator-codex/references/shotcraft/cards/text-as-mask/README.md +50 -0
  109. package/skills/hyper-animator-codex/references/shotcraft/cards/text-column-converge/README.md +55 -0
  110. package/skills/hyper-animator-codex/references/shotcraft/cards/theme-switch-moves/README.md +44 -0
  111. package/skills/hyper-animator-codex/references/shotcraft/cards/timeline-travel/README.md +43 -0
  112. package/skills/hyper-animator-codex/references/shotcraft/cards/title-demote-to-label/README.md +58 -0
  113. package/skills/hyper-animator-codex/references/shotcraft/cards/trailer-grammar-moves/README.md +51 -0
  114. package/skills/hyper-animator-codex/references/shotcraft/cards/transition-hidden-cut/README.md +52 -0
  115. package/skills/hyper-animator-codex/references/shotcraft/cards/transition-travel/README.md +48 -0
  116. package/skills/hyper-animator-codex/references/shotcraft/cards/type-and-filter/README.md +37 -0
  117. package/skills/hyper-animator-codex/references/shotcraft/cards/type-assembly-moves/README.md +50 -0
  118. package/skills/hyper-animator-codex/references/shotcraft/cards/type-entrance-moves/README.md +46 -0
  119. package/skills/hyper-animator-codex/references/shotcraft/cards/type-rhythm-sync/README.md +47 -0
  120. package/skills/hyper-animator-codex/references/shotcraft/cards/typewriter-moves/README.md +50 -0
  121. package/skills/hyper-animator-codex/references/shotcraft/cards/ui-strip-away-outro/README.md +63 -0
  122. package/skills/hyper-animator-codex/references/shotcraft/cards/ui-to-brand-morph/README.md +52 -0
  123. package/skills/hyper-animator-codex/references/shotcraft/cards/voice-waveform-live/README.md +52 -0
  124. package/skills/hyper-animator-codex/references/shotcraft/cards/wall-reveal-moves/README.md +53 -0
  125. package/skills/hyper-animator-codex/references/shotcraft/cards/wipe-transitions/README.md +47 -0
  126. package/skills/hyper-animator-codex/references/shotcraft/cards/word-relay-filmstrip/README.md +50 -0
  127. package/skills/hyper-animator-codex/references/shotcraft/catalog.json +3946 -0
  128. package/skills/hyper-animator-codex/references/shotcraft/references/aesthetic-rules.md +157 -0
  129. package/skills/hyper-animator-codex/references/shotcraft/references/final-review.md +107 -0
  130. package/skills/hyper-animator-codex/references/shotcraft/references/guided-free-creation.md +197 -0
  131. package/skills/hyper-animator-codex/references/shotcraft/references/music-beat-sync.md +125 -0
  132. package/skills/hyper-animator-codex/references/shotcraft/references/pipeline.md +357 -0
  133. package/skills/hyper-animator-codex/references/shotcraft/references/sound-design.md +126 -0
  134. package/skills/hyper-animator-codex/references/shotcraft/source/assets/lib/Caption.tsx +50 -0
  135. package/skills/hyper-animator-codex/references/shotcraft/source/assets/lib/DigitRoll.tsx +45 -0
  136. package/skills/hyper-animator-codex/references/shotcraft/source/assets/lib/FlashCut.tsx +20 -0
  137. package/skills/hyper-animator-codex/references/shotcraft/source/assets/lib/FlatPanel.tsx +65 -0
  138. package/skills/hyper-animator-codex/references/shotcraft/source/assets/lib/PageCam.tsx +151 -0
  139. package/skills/hyper-animator-codex/references/shotcraft/source/assets/lib/VerticalTicker.tsx +129 -0
  140. package/skills/hyper-animator-codex/references/shotcraft/source/assets/lib/helpers/camera.tsx +75 -0
  141. package/skills/hyper-animator-codex/references/shotcraft/source/assets/lib/helpers/motion.ts +40 -0
  142. package/skills/hyper-animator-codex/references/shotcraft/source/assets/lib/helpers/rand.ts +11 -0
  143. package/skills/hyper-animator-codex/references/shotcraft/source/assets/lib/helpers/shake.ts +10 -0
  144. package/skills/hyper-animator-codex/references/shotcraft/source/demos/_fixtures/Fixtures.tsx +83 -0
  145. package/skills/hyper-animator-codex/references/shotcraft/source/demos/ai-stream-response/StreamResponse.tsx +146 -0
  146. package/skills/hyper-animator-codex/references/shotcraft/source/demos/autolayout-gap-dial/AutolayoutGapDial.tsx +174 -0
  147. package/skills/hyper-animator-codex/references/shotcraft/source/demos/beat-cut-moves/BeatCutAccelerando.tsx +77 -0
  148. package/skills/hyper-animator-codex/references/shotcraft/source/demos/beat-cut-moves/PaparazziFlash.tsx +115 -0
  149. package/skills/hyper-animator-codex/references/shotcraft/source/demos/beat-step-list-theme-cycle/BeatStepListThemeCycle.tsx +98 -0
  150. package/skills/hyper-animator-codex/references/shotcraft/source/demos/before-after-slider-scrub/BeforeAfterSliderScrub.tsx +99 -0
  151. package/skills/hyper-animator-codex/references/shotcraft/source/demos/bottom-push-stack-wipe/BottomPushStackWipe.tsx +79 -0
  152. package/skills/hyper-animator-codex/references/shotcraft/source/demos/brand-frame-snap/BrandFrameSnap.tsx +110 -0
  153. package/skills/hyper-animator-codex/references/shotcraft/source/demos/bubble-swarm-takeover/BubbleSwarmTakeover.tsx +189 -0
  154. package/skills/hyper-animator-codex/references/shotcraft/source/demos/canvas-materialize-moves/DiagramCascadeBuild.tsx +172 -0
  155. package/skills/hyper-animator-codex/references/shotcraft/source/demos/canvas-materialize-moves/PanelToCanvasMaterialize.tsx +254 -0
  156. package/skills/hyper-animator-codex/references/shotcraft/source/demos/card-flip-reveal/CardFlipReveal.tsx +139 -0
  157. package/skills/hyper-animator-codex/references/shotcraft/source/demos/card-flock-tumble/CardFlockTumble.tsx +382 -0
  158. package/skills/hyper-animator-codex/references/shotcraft/source/demos/cel-flash-stomp/CelFlashStomp.tsx +111 -0
  159. package/skills/hyper-animator-codex/references/shotcraft/source/demos/chart-live-moves/AxisRescaleShockV2.tsx +282 -0
  160. package/skills/hyper-animator-codex/references/shotcraft/source/demos/chart-live-moves/OscilloscopeStreamV2.tsx +227 -0
  161. package/skills/hyper-animator-codex/references/shotcraft/source/demos/chart-live-moves/UnitDotSwarmRegroupV2.tsx +248 -0
  162. package/skills/hyper-animator-codex/references/shotcraft/source/demos/circle-match-iris/CircleMatchIris.tsx +124 -0
  163. package/skills/hyper-animator-codex/references/shotcraft/source/demos/cloner-depth-echo/ClonerDepthEcho.tsx +90 -0
  164. package/skills/hyper-animator-codex/references/shotcraft/source/demos/collab-cursor-moves/CursorCastEnsemble.tsx +136 -0
  165. package/skills/hyper-animator-codex/references/shotcraft/source/demos/collab-cursor-moves/CursorDialogueDuet.tsx +145 -0
  166. package/skills/hyper-animator-codex/references/shotcraft/source/demos/color-block-step-wipe/ColorBlockStepWipe.tsx +157 -0
  167. package/skills/hyper-animator-codex/references/shotcraft/source/demos/command-palette-summon/CommandPaletteSummon.tsx +173 -0
  168. package/skills/hyper-animator-codex/references/shotcraft/source/demos/crane-rise-reveal/CraneRiseReveal.tsx +91 -0
  169. package/skills/hyper-animator-codex/references/shotcraft/source/demos/crash-zoom-punch/CrashImpactReal.tsx +63 -0
  170. package/skills/hyper-animator-codex/references/shotcraft/source/demos/crash-zoom-punch/CrashZoomReal.tsx +60 -0
  171. package/skills/hyper-animator-codex/references/shotcraft/source/demos/dataviz-landscape-open/DatavizLandscapeOpen.tsx +401 -0
  172. package/skills/hyper-animator-codex/references/shotcraft/source/demos/depth-layer-moves/DollyZoomReal.tsx +55 -0
  173. package/skills/hyper-animator-codex/references/shotcraft/source/demos/depth-layer-moves/MultiplaneReal.tsx +45 -0
  174. package/skills/hyper-animator-codex/references/shotcraft/source/demos/draw-svg-trace/DrawSvgTrace.tsx +199 -0
  175. package/skills/hyper-animator-codex/references/shotcraft/source/demos/edit-hook-moves/LogoStingButton.tsx +106 -0
  176. package/skills/hyper-animator-codex/references/shotcraft/source/demos/element-body-moves/AxialStretch.tsx +112 -0
  177. package/skills/hyper-animator-codex/references/shotcraft/source/demos/element-body-moves/ContactShadowLift.tsx +117 -0
  178. package/skills/hyper-animator-codex/references/shotcraft/source/demos/fui-hud-moves/LineUnfoldPanel.tsx +125 -0
  179. package/skills/hyper-animator-codex/references/shotcraft/source/demos/fui-hud-moves/ReticleLockOn.tsx +139 -0
  180. package/skills/hyper-animator-codex/references/shotcraft/source/demos/gauge-readout-moves/NeedleSweepSelftest.tsx +146 -0
  181. package/skills/hyper-animator-codex/references/shotcraft/source/demos/gauge-readout-moves/TapeScrollFixedPointer.tsx +120 -0
  182. package/skills/hyper-animator-codex/references/shotcraft/source/demos/glow-flyline-moves/FlylineArc.tsx +158 -0
  183. package/skills/hyper-animator-codex/references/shotcraft/source/demos/glow-flyline-moves/GlowOrbAmbient.tsx +131 -0
  184. package/skills/hyper-animator-codex/references/shotcraft/source/demos/glow-flyline-moves/OrbFlylineRelay.tsx +268 -0
  185. package/skills/hyper-animator-codex/references/shotcraft/source/demos/gradient-word-sweep/GradientWordSweep.tsx +307 -0
  186. package/skills/hyper-animator-codex/references/shotcraft/source/demos/graze-face-tour/GrazeFaceTour.tsx +469 -0
  187. package/skills/hyper-animator-codex/references/shotcraft/source/demos/hashtag-to-pill-materialize/HashtagToPillMaterialize.tsx +166 -0
  188. package/skills/hyper-animator-codex/references/shotcraft/source/demos/icon-field-colorize/IconFieldColorize.tsx +93 -0
  189. package/skills/hyper-animator-codex/references/shotcraft/source/demos/icon-performance-moves/AttentionBounce.tsx +193 -0
  190. package/skills/hyper-animator-codex/references/shotcraft/source/demos/icon-performance-moves/PopBurstConfirm.tsx +162 -0
  191. package/skills/hyper-animator-codex/references/shotcraft/source/demos/impact-feedback/AnimeImpact.tsx +149 -0
  192. package/skills/hyper-animator-codex/references/shotcraft/source/demos/impact-feedback/HitCounter.tsx +147 -0
  193. package/skills/hyper-animator-codex/references/shotcraft/source/demos/input-trigger-moves/CursorPerformancePunchIn.tsx +154 -0
  194. package/skills/hyper-animator-codex/references/shotcraft/source/demos/input-trigger-moves/KeycapSmashCut.tsx +217 -0
  195. package/skills/hyper-animator-codex/references/shotcraft/source/demos/integration-hub-map/IntegrationHubMap.tsx +554 -0
  196. package/skills/hyper-animator-codex/references/shotcraft/source/demos/letterspace-materialize/LetterspaceMaterialize.tsx +85 -0
  197. package/skills/hyper-animator-codex/references/shotcraft/source/demos/light-play-moves/HalationBloom.tsx +139 -0
  198. package/skills/hyper-animator-codex/references/shotcraft/source/demos/light-play-moves/SheenSweepRetry.tsx +85 -0
  199. package/skills/hyper-animator-codex/references/shotcraft/source/demos/light-play-moves/SpotlightSweepReveal.tsx +102 -0
  200. package/skills/hyper-animator-codex/references/shotcraft/source/demos/line-boil/LineBoil.tsx +140 -0
  201. package/skills/hyper-animator-codex/references/shotcraft/source/demos/line-carry-transition/LineCarryTransition.tsx +151 -0
  202. package/skills/hyper-animator-codex/references/shotcraft/source/demos/magician-card-flourish/MagicianCardFlourish.tsx +294 -0
  203. package/skills/hyper-animator-codex/references/shotcraft/source/demos/marker-underline-title/MarkerUnderlineTitle.tsx +87 -0
  204. package/skills/hyper-animator-codex/references/shotcraft/source/demos/montage-rhythm-moves/DominoCascade.tsx +125 -0
  205. package/skills/hyper-animator-codex/references/shotcraft/source/demos/montage-rhythm-moves/DropBlackoutSlam.tsx +135 -0
  206. package/skills/hyper-animator-codex/references/shotcraft/source/demos/montage-rhythm-moves/WrightTripleCut.tsx +175 -0
  207. package/skills/hyper-animator-codex/references/shotcraft/source/demos/morph-from-primitive/MorphFromPrimitive.tsx +190 -0
  208. package/skills/hyper-animator-codex/references/shotcraft/source/demos/neon-frame-forerun/NeonFrameForerun.tsx +279 -0
  209. package/skills/hyper-animator-codex/references/shotcraft/source/demos/neon-frame-orbit-drop/NeonFrameForerunOrbit.tsx +273 -0
  210. package/skills/hyper-animator-codex/references/shotcraft/source/demos/neon-triple-marquee/NeonTripleMarquee.tsx +111 -0
  211. package/skills/hyper-animator-codex/references/shotcraft/source/demos/odometer-digit-roll/OdometerDigitRoll.tsx +178 -0
  212. package/skills/hyper-animator-codex/references/shotcraft/source/demos/overhead-camera-moves/OverheadTabletopDrop.tsx +129 -0
  213. package/skills/hyper-animator-codex/references/shotcraft/source/demos/overhead-camera-moves/TiltReveal.tsx +55 -0
  214. package/skills/hyper-animator-codex/references/shotcraft/source/demos/page-turn-transitions/BarnDoorSplit.tsx +138 -0
  215. package/skills/hyper-animator-codex/references/shotcraft/source/demos/page-turn-transitions/CubeRotate.tsx +114 -0
  216. package/skills/hyper-animator-codex/references/shotcraft/source/demos/page-waterfall-wall/PageWaterfallWall.tsx +76 -0
  217. package/skills/hyper-animator-codex/references/shotcraft/source/demos/page-waterfall-wall/VerticalTicker.tsx +129 -0
  218. package/skills/hyper-animator-codex/references/shotcraft/source/demos/panel-grid-moves/ComicPanelSplit.tsx +171 -0
  219. package/skills/hyper-animator-codex/references/shotcraft/source/demos/panel-grid-moves/FlipGridReflow.tsx +121 -0
  220. package/skills/hyper-animator-codex/references/shotcraft/source/demos/panel-grid-moves/GridFlashMosaic.tsx +182 -0
  221. package/skills/hyper-animator-codex/references/shotcraft/source/demos/paper-craft-moves/MaskingTapeSlap.tsx +163 -0
  222. package/skills/hyper-animator-codex/references/shotcraft/source/demos/paper-craft-moves/PopupBookRise.tsx +134 -0
  223. package/skills/hyper-animator-codex/references/shotcraft/source/demos/paper-plane-messenger/PaperPlaneMessenger.tsx +183 -0
  224. package/skills/hyper-animator-codex/references/shotcraft/source/demos/particle-celebrate-hits/ConfettiCrossfire.tsx +115 -0
  225. package/skills/hyper-animator-codex/references/shotcraft/source/demos/particle-celebrate-hits/CounterTickSparks.tsx +103 -0
  226. package/skills/hyper-animator-codex/references/shotcraft/source/demos/particle-sand-fill/ParticleSandFill.tsx +119 -0
  227. package/skills/hyper-animator-codex/references/shotcraft/source/demos/pill-slot-cycle/PillSlotCycle.tsx +220 -0
  228. package/skills/hyper-animator-codex/references/shotcraft/source/demos/print-texture-transitions/InkBleedReveal.tsx +81 -0
  229. package/skills/hyper-animator-codex/references/shotcraft/source/demos/rhythm-interrupt-moves/JumpCutPunchIn.tsx +72 -0
  230. package/skills/hyper-animator-codex/references/shotcraft/source/demos/rhythm-interrupt-moves/StrobeBlackFrames.tsx +99 -0
  231. package/skills/hyper-animator-codex/references/shotcraft/source/demos/riso-print-hits/RisoBeatPump.tsx +155 -0
  232. package/skills/hyper-animator-codex/references/shotcraft/source/demos/riso-print-hits/RisoMisregistrationHit.tsx +120 -0
  233. package/skills/hyper-animator-codex/references/shotcraft/source/demos/runway-ground-skim/RunwayGroundSkim.tsx +258 -0
  234. package/skills/hyper-animator-codex/references/shotcraft/source/demos/sakuga-timing-shift/SakugaTimingShift.tsx +178 -0
  235. package/skills/hyper-animator-codex/references/shotcraft/source/demos/scene-locked-title/SceneLockedTitle.tsx +98 -0
  236. package/skills/hyper-animator-codex/references/shotcraft/source/demos/scroll-brake-moves/BrakeReticleLock.tsx +171 -0
  237. package/skills/hyper-animator-codex/references/shotcraft/source/demos/scroll-brake-moves/ChangelogScrollBrake.tsx +117 -0
  238. package/skills/hyper-animator-codex/references/shotcraft/source/demos/segmented-thumb-hero/SegmentedThumbHero.tsx +213 -0
  239. package/skills/hyper-animator-codex/references/shotcraft/source/demos/shot-transitions/MaskWipeReal.tsx +67 -0
  240. package/skills/hyper-animator-codex/references/shotcraft/source/demos/shot-transitions/PortalWipeV2.tsx +128 -0
  241. package/skills/hyper-animator-codex/references/shotcraft/source/demos/shot-transitions/WhipBrakeReal.tsx +60 -0
  242. package/skills/hyper-animator-codex/references/shotcraft/source/demos/shot-transitions/WhipPanReal.tsx +45 -0
  243. package/skills/hyper-animator-codex/references/shotcraft/source/demos/skeleton-reveal/SkeletonReveal.tsx +283 -0
  244. package/skills/hyper-animator-codex/references/shotcraft/source/demos/slam-entrance-moves/ImpactBurstKit.tsx +185 -0
  245. package/skills/hyper-animator-codex/references/shotcraft/source/demos/slam-entrance-moves/KanadaPerspectiveSnap.tsx +91 -0
  246. package/skills/hyper-animator-codex/references/shotcraft/source/demos/slam-entrance-moves/ScoreSlam.tsx +225 -0
  247. package/skills/hyper-animator-codex/references/shotcraft/source/demos/smear-multiples/SmearMultiples.tsx +88 -0
  248. package/skills/hyper-animator-codex/references/shotcraft/source/demos/space-camera-moves/DroneDiveLanding.tsx +91 -0
  249. package/skills/hyper-animator-codex/references/shotcraft/source/demos/space-camera-moves/ExplodedView.tsx +178 -0
  250. package/skills/hyper-animator-codex/references/shotcraft/source/demos/space-camera-moves/SnorricamLock.tsx +130 -0
  251. package/skills/hyper-animator-codex/references/shotcraft/source/demos/spectrum-morph-ui/SpectrumMorphUi.tsx +129 -0
  252. package/skills/hyper-animator-codex/references/shotcraft/source/demos/speed-ramp-freeze/FreezeAnnotateReal.tsx +70 -0
  253. package/skills/hyper-animator-codex/references/shotcraft/source/demos/speed-ramp-freeze/SpeedRampReal.tsx +58 -0
  254. package/skills/hyper-animator-codex/references/shotcraft/source/demos/split-flap-title/SplitFlapFlip.tsx +189 -0
  255. package/skills/hyper-animator-codex/references/shotcraft/source/demos/spotlight-sweep-moves/CornerSpotlightReveal.tsx +121 -0
  256. package/skills/hyper-animator-codex/references/shotcraft/source/demos/spotlight-sweep-moves/GlowWakeSleepPanel.tsx +183 -0
  257. package/skills/hyper-animator-codex/references/shotcraft/source/demos/spotlight-sweep-moves/SlideSpotlightPan.tsx +171 -0
  258. package/skills/hyper-animator-codex/references/shotcraft/source/demos/steep-tilt-glide/SteepTiltGlide.tsx +315 -0
  259. package/skills/hyper-animator-codex/references/shotcraft/source/demos/stroke-segment-build/StrokeSegmentBuild.tsx +126 -0
  260. package/skills/hyper-animator-codex/references/shotcraft/source/demos/tear-streak-transitions/GlitchDisplace.tsx +107 -0
  261. package/skills/hyper-animator-codex/references/shotcraft/source/demos/tension-camera-moves/BulletTimeFreezeOrbit.tsx +219 -0
  262. package/skills/hyper-animator-codex/references/shotcraft/source/demos/tension-camera-moves/DutchRollToLevel.tsx +110 -0
  263. package/skills/hyper-animator-codex/references/shotcraft/source/demos/tension-camera-moves/PullBackIsolation.tsx +120 -0
  264. package/skills/hyper-animator-codex/references/shotcraft/source/demos/tension-camera-moves/SlowPushIn.tsx +96 -0
  265. package/skills/hyper-animator-codex/references/shotcraft/source/demos/text-as-mask/TextAsMask.tsx +94 -0
  266. package/skills/hyper-animator-codex/references/shotcraft/source/demos/text-column-converge/TextColumnConverge.tsx +122 -0
  267. package/skills/hyper-animator-codex/references/shotcraft/source/demos/theme-switch-moves/PaletteThemeRipple.tsx +207 -0
  268. package/skills/hyper-animator-codex/references/shotcraft/source/demos/theme-switch-moves/ThemeSweepToggle.tsx +123 -0
  269. package/skills/hyper-animator-codex/references/shotcraft/source/demos/timeline-travel/TimelineTravel.tsx +123 -0
  270. package/skills/hyper-animator-codex/references/shotcraft/source/demos/title-demote-to-label/TitleDemoteToLabel.tsx +174 -0
  271. package/skills/hyper-animator-codex/references/shotcraft/source/demos/trailer-grammar-moves/CardFootageCadence.tsx +118 -0
  272. package/skills/hyper-animator-codex/references/shotcraft/source/demos/trailer-grammar-moves/SmashCut.tsx +105 -0
  273. package/skills/hyper-animator-codex/references/shotcraft/source/demos/trailer-grammar-moves/TrailerBumper.tsx +103 -0
  274. package/skills/hyper-animator-codex/references/shotcraft/source/demos/transition-hidden-cut/InvisibleCut.tsx +93 -0
  275. package/skills/hyper-animator-codex/references/shotcraft/source/demos/transition-hidden-cut/LightLeakBurn.tsx +122 -0
  276. package/skills/hyper-animator-codex/references/shotcraft/source/demos/transition-hidden-cut/VersusSlam.tsx +104 -0
  277. package/skills/hyper-animator-codex/references/shotcraft/source/demos/transition-travel/LetterformZoom.tsx +141 -0
  278. package/skills/hyper-animator-codex/references/shotcraft/source/demos/transition-travel/SharedElementMorph.tsx +101 -0
  279. package/skills/hyper-animator-codex/references/shotcraft/source/demos/type-assembly-moves/LetterformDriftAssembly.tsx +107 -0
  280. package/skills/hyper-animator-codex/references/shotcraft/source/demos/type-assembly-moves/SplitTextStagger.tsx +101 -0
  281. package/skills/hyper-animator-codex/references/shotcraft/source/demos/type-assembly-moves/TextOnPath.tsx +92 -0
  282. package/skills/hyper-animator-codex/references/shotcraft/source/demos/type-assembly-moves/TrackingExpandReveal.tsx +109 -0
  283. package/skills/hyper-animator-codex/references/shotcraft/source/demos/type-entrance-moves/LetterDropPhysics.tsx +100 -0
  284. package/skills/hyper-animator-codex/references/shotcraft/source/demos/type-entrance-moves/ScrambleDecode.tsx +90 -0
  285. package/skills/hyper-animator-codex/references/shotcraft/source/demos/type-rhythm-sync/FontWeightPump.tsx +124 -0
  286. package/skills/hyper-animator-codex/references/shotcraft/source/demos/type-rhythm-sync/KaraokeFillSync.tsx +93 -0
  287. package/skills/hyper-animator-codex/references/shotcraft/source/demos/typewriter-moves/TerminalTypewriter.tsx +122 -0
  288. package/skills/hyper-animator-codex/references/shotcraft/source/demos/typewriter-moves/TypewriterErrorRetype.tsx +109 -0
  289. package/skills/hyper-animator-codex/references/shotcraft/source/demos/ui-strip-away-outro/UiStripAwayOutro.tsx +218 -0
  290. package/skills/hyper-animator-codex/references/shotcraft/source/demos/ui-to-brand-morph/IconFlipBloomLogo.tsx +199 -0
  291. package/skills/hyper-animator-codex/references/shotcraft/source/demos/ui-to-brand-morph/InputMorphsIntoLogo.tsx +215 -0
  292. package/skills/hyper-animator-codex/references/shotcraft/source/demos/voice-waveform-live/VoiceWaveformLive.tsx +171 -0
  293. package/skills/hyper-animator-codex/references/shotcraft/source/demos/wall-reveal-moves/BentoLightUp.tsx +135 -0
  294. package/skills/hyper-animator-codex/references/shotcraft/source/demos/wipe-transitions/BlindsSlice.tsx +107 -0
  295. package/skills/hyper-animator-codex/references/shotcraft/source/demos/wipe-transitions/ClockWipe.tsx +83 -0
  296. package/skills/hyper-animator-codex/references/shotcraft/source/demos/word-relay-filmstrip/WordRelayFilmstrip.tsx +300 -0
  297. package/skills/hyper-animator-codex/references/shotcraft/source/template/src/Root.tsx +15 -0
  298. package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/Caption.tsx +49 -0
  299. package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/DigitRoll.tsx +44 -0
  300. package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/FlashCut.tsx +19 -0
  301. package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/Main.tsx +163 -0
  302. package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/PaperTitleCard.tsx +89 -0
  303. package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/live/PageCam.tsx +145 -0
  304. package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/live/SceneDetail.tsx +146 -0
  305. package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/live/SceneFlyIn.tsx +447 -0
  306. package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/live/SceneOpen.tsx +532 -0
  307. package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/live/SceneOutroLive.tsx +394 -0
  308. package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/live/ScenePapers.tsx +185 -0
  309. package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/live/SceneWbr.tsx +299 -0
  310. package/skills/hyper-animator-codex/references/shotcraft/source/template/src/index.ts +4 -0
  311. package/skills/hyper-animator-codex/references/shotcraft/source-notes.md +10 -0
  312. package/skills/hyper-animator-codex/scripts/generate_minimax_music.mjs +27 -10
  313. package/skills/hyper-animator-codex/scripts/generate_minimax_tts.mjs +142 -13
  314. package/skills/hyper-animator-codex/scripts/generate_subtitles.mjs +42 -3
  315. package/skills/hyper-animator-codex/scripts/minimax_runtime_config.mjs +3 -3
  316. package/skills/hyper-animator-codex/scripts/query_shotcraft.mjs +140 -0
  317. package/skills/hyper-animator-codex/scripts/validate_hyperframes_html.py +22 -0
  318. package/skills/hyper-animator-codex/scripts/validate_provider_policy.mjs +108 -0
  319. package/skills/hyper-animator-codex/scripts/validate_shot_plan.mjs +193 -0
  320. package/skills/hyper-animator-codex/vendor/music-beat-detector/beat_detector/analyzer.py +3 -1
  321. package/skills/hyper-animator-codex/vendor/music-beat-detector/beat_detector/beat.py +37 -1
@@ -0,0 +1,83 @@
1
+ // clock-wipe|时钟扫描擦除
2
+ // FakeDashboard A → B。30–90f 一根隐形雷达指针从 12 点方向顺时针扫一圈,
3
+ // B 页在上层用大扇形 clip-path polygon 逐帧张开;扫描沿带亮线(白核+暗描边+柔光)。
4
+ // 90–96f 亮线淡出,96f 起摘罩(B 直接满屏、无 clip-path、亮线卸载),
5
+ // 96–150f 真静止 54f ≥ 40f。帧确定,无随机。
6
+ import React from 'react';
7
+ import { AbsoluteFill, useCurrentFrame, interpolate } from 'remotion';
8
+ import { FakeDashboard } from '../_fixtures/Fixtures';
9
+
10
+ const CX = 960;
11
+ const CY = 540;
12
+ const R = 1400; // 大于中心到角的距离 ~1101,扇形完全盖角
13
+ const SEGS = 72; // 顶点数固定且够密,避免锯齿跳变
14
+
15
+ // 12 点方向为 0°,顺时针(屏幕坐标 y 向下)
16
+ const polar = (deg: number, r: number): [number, number] => {
17
+ const a = (deg * Math.PI) / 180;
18
+ return [CX + r * Math.sin(a), CY - r * Math.cos(a)];
19
+ };
20
+
21
+ const fanClip = (theta: number): string => {
22
+ const pts: string[] = [`${CX}px ${CY}px`];
23
+ for (let i = 0; i <= SEGS; i++) {
24
+ const [x, y] = polar((theta * i) / SEGS, R);
25
+ pts.push(`${x.toFixed(1)}px ${y.toFixed(1)}px`);
26
+ }
27
+ return `polygon(${pts.join(', ')})`;
28
+ };
29
+
30
+ export const ClockWipe: React.FC = () => {
31
+ const frame = useCurrentFrame();
32
+
33
+ // 30–90f 指针 0→360°,linear(时钟扫描要匀速才像雷达)
34
+ const theta = interpolate(frame, [30, 90], [0, 360], {
35
+ extrapolateLeft: 'clamp',
36
+ extrapolateRight: 'clamp',
37
+ });
38
+ const wipeDone = frame >= 90;
39
+
40
+ // 亮线:扫描期间常亮,90–96f 线性淡出,96f 起条件卸载(摘罩判例)
41
+ const lineOpacity = interpolate(frame, [90, 96], [1, 0], {
42
+ extrapolateLeft: 'clamp',
43
+ extrapolateRight: 'clamp',
44
+ });
45
+ const lineMounted = frame >= 30 && frame < 96;
46
+
47
+ const [x2, y2] = polar(theta, R);
48
+
49
+ return (
50
+ <AbsoluteFill style={{ background: '#ececea' }}>
51
+ {/* 底层:A 页。擦完后卸载(上层 B 已满屏) */}
52
+ {!wipeDone && (
53
+ <AbsoluteFill>
54
+ <FakeDashboard variant="A" />
55
+ </AbsoluteFill>
56
+ )}
57
+
58
+ {/* 上层:B 页。扫描期挂扇形 clip-path,擦完后摘罩直出 */}
59
+ {frame >= 30 && (
60
+ <AbsoluteFill style={wipeDone ? undefined : { clipPath: fanClip(theta) }}>
61
+ <FakeDashboard variant="B" />
62
+ </AbsoluteFill>
63
+ )}
64
+
65
+ {/* 扫描亮线:柔光 + 暗描边 + 白核,从屏心指向当前角度 */}
66
+ {lineMounted && (
67
+ <svg
68
+ width={1920}
69
+ height={1080}
70
+ style={{ position: 'absolute', inset: 0, opacity: lineOpacity, pointerEvents: 'none' }}
71
+ >
72
+ {/* 柔光带(QA 后加码 1.5x:白底看不清就加深+加宽) */}
73
+ <line x1={CX} y1={CY} x2={x2} y2={y2} stroke="rgba(255,255,255,0.35)" strokeWidth={26} strokeLinecap="round" />
74
+ <line x1={CX} y1={CY} x2={x2} y2={y2} stroke="rgba(255,255,255,0.60)" strokeWidth={13} strokeLinecap="round" />
75
+ {/* 暗描边:白底上"提亮"不可见,加深保证浅色区也读得出指针 */}
76
+ <line x1={CX} y1={CY} x2={x2} y2={y2} stroke="rgba(0,0,0,0.55)" strokeWidth={9} strokeLinecap="round" />
77
+ {/* 白核 */}
78
+ <line x1={CX} y1={CY} x2={x2} y2={y2} stroke="rgba(255,255,255,0.95)" strokeWidth={4} strokeLinecap="round" />
79
+ </svg>
80
+ )}
81
+ </AbsoluteFill>
82
+ );
83
+ };
@@ -0,0 +1,300 @@
1
+ // word-relay-filmstrip v3 —— 批次 12 单点微调:右侧大词块(Computer+动词)
2
+ // 的垂直中心与左列当前页面卡的垂直中点(y=540)对齐(top 462→402)。
3
+ // 其余沿用 v2:对照用户截图重做(perplexity-promo01,7 张):
4
+ // ① 左列页面卡黑白相间、每张等高(940x530,间距 105);
5
+ // ② 左列平时静止,只在右侧切词的窗口内滚动一格(滚动与切词同步);
6
+ // ③ 尺寸/字号/位置按截图量取:卡 x=106 宽 940,词右对齐至 x≈1710,
7
+ // Didot 系衬线 116px,"Computer" 固定第一行,动词第二行原位灰化淡出换词。
8
+ import React from 'react';
9
+ import { AbsoluteFill, interpolate, useCurrentFrame } from 'remotion';
10
+
11
+ const mulberry32 = (a: number) => () => {
12
+ let t = (a += 0x6d2b79f5);
13
+ t = Math.imul(t ^ (t >>> 15), t | 1);
14
+ t ^= t + Math.imul(t ^ (t >>> 7), t | 61);
15
+ return ((t ^ (t >>> 14)) >>> 0) / 4294967296;
16
+ };
17
+
18
+ const CARD_W = 940;
19
+ const CARD_H = 530;
20
+ const GAP = 105;
21
+ const STEP = CARD_H + GAP;
22
+
23
+ // —— 页面卡集合:黑白相间(奇偶强制交替),内容各异 ——
24
+ const DarkArticle: React.FC<{ seed: number }> = ({ seed }) => {
25
+ const rand = mulberry32(seed);
26
+ return (
27
+ <div style={{ position: 'absolute', inset: 0, background: '#101318', padding: '38px 46px' }}>
28
+ <div style={{ display: 'flex', gap: 26, alignItems: 'center', marginBottom: 34 }}>
29
+ <div style={{ width: 90, height: 13, background: '#d8b25a', borderRadius: 3, opacity: 0.9 }} />
30
+ <div style={{ marginLeft: 'auto', display: 'flex', gap: 18 }}>
31
+ {[0, 1, 2, 3].map((i) => <div key={i} style={{ width: 54, height: 9, background: '#3a3f48', borderRadius: 3 }} />)}
32
+ </div>
33
+ </div>
34
+ <div style={{ width: 150, height: 9, background: '#a8452e', borderRadius: 3, marginBottom: 20 }} />
35
+ <div style={{ width: '62%', height: 30, background: '#e8e6df', borderRadius: 5, marginBottom: 14 }} />
36
+ <div style={{ width: '44%', height: 30, background: '#e8e6df', borderRadius: 5, marginBottom: 30 }} />
37
+ <div style={{ display: 'flex', gap: 30 }}>
38
+ <div style={{ flex: 1.3 }}>
39
+ {Array.from({ length: 6 }).map((_, i) => (
40
+ <div key={i} style={{ height: 9, width: `${62 + rand() * 34}%`, background: '#41454e', borderRadius: 3, marginBottom: 13 }} />
41
+ ))}
42
+ </div>
43
+ <div style={{ flex: 1, border: '1px solid #2c313a', borderRadius: 8, background: '#151a22', padding: 20 }}>
44
+ {Array.from({ length: 4 }).map((_, i) => (
45
+ <div key={i} style={{ display: 'flex', gap: 12, alignItems: 'center', marginBottom: 15 }}>
46
+ <div style={{ width: 58, height: 12, background: '#6d5423', borderRadius: 3 }} />
47
+ <div style={{ width: `${34 + rand() * 30}%`, height: 9, background: '#4a4f58', borderRadius: 3 }} />
48
+ </div>
49
+ ))}
50
+ </div>
51
+ </div>
52
+ </div>
53
+ );
54
+ };
55
+
56
+ const LightMedal: React.FC<{ seed: number }> = ({ seed }) => {
57
+ const rand = mulberry32(seed);
58
+ return (
59
+ <div style={{ position: 'absolute', inset: 0, background: '#ffffff', padding: '36px 44px' }}>
60
+ <div style={{ width: 120, height: 9, background: '#b9bcc2', borderRadius: 3, marginBottom: 14 }} />
61
+ <div style={{ display: 'flex', gap: 14, marginBottom: 24 }}>
62
+ <div style={{ width: 150, height: 32, background: '#17181a', borderRadius: 5 }} />
63
+ <div style={{ width: 170, height: 32, background: '#2f6fd6', borderRadius: 5, opacity: 0.85 }} />
64
+ </div>
65
+ <div style={{ display: 'flex', gap: 10, marginBottom: 22 }}>
66
+ {[64, 96, 78, 110, 70, 88, 92].map((w, i) => (
67
+ <div key={i} style={{ width: w, height: 24, borderRadius: 12, background: i === 0 ? '#2f6fd6' : '#f2f3f5', border: i === 0 ? 'none' : '1px solid #dfe1e5' }} />
68
+ ))}
69
+ </div>
70
+ <div style={{ height: 34, borderRadius: 6, border: '1px solid #dfe1e5', marginBottom: 26 }} />
71
+ <div style={{ display: 'flex', gap: 16 }}>
72
+ {[0, 1, 2].map((c) => (
73
+ <div key={c} style={{ flex: 1, border: '1px solid #e4e6ea', borderRadius: 8, padding: 18 }}>
74
+ <div style={{ width: 74, height: 8, background: '#9aa0aa', borderRadius: 3, marginBottom: 12 }} />
75
+ <div style={{ width: `${52 + rand() * 30}%`, height: 13, background: '#1c1d20', borderRadius: 4, marginBottom: 10 }} />
76
+ <div style={{ display: 'flex', gap: 8, alignItems: 'center' }}>
77
+ <div style={{ width: 20, height: 13, background: c === 0 ? '#c8342f' : c === 1 ? '#2c8a4b' : '#c8342f', borderRadius: 2 }} />
78
+ <div style={{ width: 60, height: 8, background: '#c3c7cd', borderRadius: 3 }} />
79
+ </div>
80
+ </div>
81
+ ))}
82
+ </div>
83
+ </div>
84
+ );
85
+ };
86
+
87
+ const DarkStats: React.FC<{ seed: number }> = ({ seed }) => {
88
+ const rand = mulberry32(seed);
89
+ return (
90
+ <div style={{ position: 'absolute', inset: 0, background: '#0e0d12', padding: '44px 52px' }}>
91
+ <div style={{ borderLeft: '3px solid #6a2430', paddingLeft: 34 }}>
92
+ {[
93
+ { n: 92, accent: false }, { n: 74, accent: false }, { n: 58, accent: false }, { n: 118, accent: true },
94
+ ].map((row, i) => (
95
+ <div key={i} style={{ display: 'flex', gap: 20, alignItems: 'center', marginBottom: 26 }}>
96
+ <div style={{ width: row.n, height: row.accent ? 30 : 20, background: row.accent ? '#c33b2e' : '#d6d3cc', borderRadius: 4, opacity: row.accent ? 0.95 : 0.85 }} />
97
+ <div style={{ width: 130, height: 11, background: row.accent ? '#7a3328' : '#4c4a52', borderRadius: 3 }} />
98
+ <div style={{ width: `${20 + rand() * 26}%`, height: 8, background: '#33323a', borderRadius: 3 }} />
99
+ </div>
100
+ ))}
101
+ </div>
102
+ <div style={{ marginTop: 30, background: '#1c1216', borderRadius: 8, padding: '22px 30px', display: 'flex', gap: 60 }}>
103
+ {[0, 1, 2].map((i) => (
104
+ <div key={i}>
105
+ <div style={{ width: 96, height: 16, background: '#c3564a', borderRadius: 3, marginBottom: 10, opacity: 0.9 }} />
106
+ <div style={{ width: 76, height: 8, background: '#5a4448', borderRadius: 3 }} />
107
+ </div>
108
+ ))}
109
+ </div>
110
+ </div>
111
+ );
112
+ };
113
+
114
+ const LightTable: React.FC<{ seed: number }> = ({ seed }) => {
115
+ const rand = mulberry32(seed);
116
+ return (
117
+ <div style={{ position: 'absolute', inset: 0, background: '#ffffff', padding: '34px 44px' }}>
118
+ <div style={{ display: 'flex', justifyContent: 'space-between', marginBottom: 26 }}>
119
+ <div style={{ display: 'flex', gap: 12, alignItems: 'center' }}>
120
+ <div style={{ width: 34, height: 22, background: '#1d4f9e', borderRadius: 4 }} />
121
+ <div style={{ width: 130, height: 11, background: '#2a2b2e', borderRadius: 3 }} />
122
+ </div>
123
+ <div style={{ display: 'flex', gap: 16 }}>
124
+ <div style={{ width: 84, height: 10, background: '#c6c9cf', borderRadius: 3 }} />
125
+ <div style={{ width: 70, height: 10, background: '#c6c9cf', borderRadius: 3 }} />
126
+ </div>
127
+ </div>
128
+ {Array.from({ length: 7 }).map((_, i) => (
129
+ <div key={i} style={{ display: 'flex', alignItems: 'center', gap: 20, padding: '13px 0', borderBottom: '1px solid #eceef1' }}>
130
+ <div style={{ width: 22, height: 10, background: '#9aa0aa', borderRadius: 3 }} />
131
+ <div style={{ width: 26, height: 16, background: ['#b23a3a', '#2c62b8', '#caa53c', '#3a8a52'][i % 4], borderRadius: 2, opacity: 0.85 }} />
132
+ <div style={{ width: 90 + rand() * 60, height: 10, background: '#3a3c40', borderRadius: 3 }} />
133
+ <div style={{ marginLeft: 'auto', display: 'flex', gap: 46 }}>
134
+ <div style={{ width: 16, height: 16, background: i % 3 === 1 ? '#8d8f94' : '#eceef1', borderRadius: 3 }} />
135
+ <div style={{ width: 16, height: 16, background: i % 3 === 2 ? '#a5772e' : '#eceef1', borderRadius: 3 }} />
136
+ <div style={{ width: 14, height: 10, background: '#5a5c60', borderRadius: 3 }} />
137
+ </div>
138
+ </div>
139
+ ))}
140
+ </div>
141
+ );
142
+ };
143
+
144
+ const DarkMri: React.FC = () => (
145
+ <div style={{ position: 'absolute', inset: 0, background: '#08090b', padding: 0 }}>
146
+ <div style={{ height: 44, borderBottom: '1px solid #1c1e22', display: 'flex', alignItems: 'center', gap: 16, padding: '0 26px' }}>
147
+ <div style={{ width: 100, height: 10, background: '#cfd2d6', borderRadius: 3, opacity: 0.8 }} />
148
+ <div style={{ marginLeft: 'auto', width: 60, height: 8, background: '#2c2f34', borderRadius: 3 }} />
149
+ </div>
150
+ <div style={{ display: 'flex', height: CARD_H - 44 }}>
151
+ <div style={{ width: 190, borderRight: '1px solid #17191d', padding: 20 }}>
152
+ <div style={{ width: 110, height: 10, background: '#b8a24e', borderRadius: 3, marginBottom: 14 }} />
153
+ {Array.from({ length: 5 }).map((_, i) => (
154
+ <div key={i} style={{ height: 7, width: `${58 + (i * 13) % 36}%`, background: '#2e3138', borderRadius: 3, marginBottom: 10 }} />
155
+ ))}
156
+ <div style={{ marginTop: 24, width: 44, height: 130, margin: '24px auto 0', border: '1px solid #4a4330', borderRadius: 6 }} />
157
+ </div>
158
+ <div style={{ flex: 1, display: 'flex', alignItems: 'center', justifyContent: 'center' }}>
159
+ <div style={{
160
+ width: 300, height: 360, borderRadius: 16,
161
+ background: 'radial-gradient(ellipse 46% 40% at 50% 42%, #b9bcc0 0%, #6c7076 34%, #33363c 62%, #101216 100%)',
162
+ position: 'relative',
163
+ }}>
164
+ {[[120, 100], [200, 150], [96, 210]].map(([x, y], i) => (
165
+ <div key={i} style={{ position: 'absolute', left: x, top: y, width: 12, height: 12, borderRadius: 6, border: '2px solid #d8b25a' }} />
166
+ ))}
167
+ </div>
168
+ </div>
169
+ <div style={{ width: 170, borderLeft: '1px solid #17191d', padding: 18 }}>
170
+ {Array.from({ length: 8 }).map((_, i) => (
171
+ <div key={i} style={{ height: 7, width: `${50 + (i * 17) % 44}%`, background: '#26292f', borderRadius: 3, marginBottom: 11 }} />
172
+ ))}
173
+ </div>
174
+ </div>
175
+ </div>
176
+ );
177
+
178
+ const LightPortfolio: React.FC = () => (
179
+ <div style={{ position: 'absolute', inset: 0, background: '#f7f7f8', padding: '40px 60px', textAlign: 'center' }}>
180
+ <div style={{ width: 340, height: 26, background: '#242528', borderRadius: 5, margin: '10px auto 18px' }} />
181
+ {[420, 470, 300].map((w, i) => (
182
+ <div key={i} style={{ width: w, height: 9, background: '#b6b9bf', borderRadius: 3, margin: '0 auto 11px' }} />
183
+ ))}
184
+ <div style={{ display: 'flex', gap: 18, marginTop: 36 }}>
185
+ {[0, 1, 2, 3].map((i) => (
186
+ <div key={i} style={{ flex: 1, height: 150, background: '#ffffff', border: '1px solid #e2e4e8', borderRadius: 10, padding: 16, textAlign: 'left' }}>
187
+ <div style={{ width: '54%', height: 12, background: '#2c2d30', borderRadius: 3, marginBottom: 12 }} />
188
+ <div style={{ width: '80%', height: 8, background: '#d3d6db', borderRadius: 3, marginBottom: 8 }} />
189
+ <div style={{ width: '66%', height: 8, background: '#d3d6db', borderRadius: 3 }} />
190
+ </div>
191
+ ))}
192
+ </div>
193
+ </div>
194
+ );
195
+
196
+ // 黑白相间的固定顺序(奇偶交替)
197
+ const CARDS: React.FC<{ seed: number }>[] = [
198
+ ({ seed }) => <DarkArticle seed={seed} />,
199
+ ({ seed }) => <LightMedal seed={seed} />,
200
+ () => <DarkMri />,
201
+ ({ seed }) => <LightTable seed={seed} />,
202
+ ({ seed }) => <DarkStats seed={seed} />,
203
+ () => <LightPortfolio />,
204
+ ];
205
+
206
+ const WORDS = ['researches', 'builds', 'codes'];
207
+ // 切词窗口:第一个词入场 f14–30;换词 f62–78、f108–124
208
+ const SWITCHES = [14, 62, 108];
209
+ const SW_DUR = 16;
210
+ const SERIF = '"Didot", "Bodoni 72", "Playfair Display", Georgia, serif';
211
+
212
+ export const WordRelayFilmstrip: React.FC = () => {
213
+ const frame = useCurrentFrame();
214
+
215
+ // —— 滚动步进:平时静止,仅在切词窗口内滚一格(ease-in-out)——
216
+ let stepF = 0;
217
+ SWITCHES.forEach((s) => {
218
+ const p = interpolate(frame, [s, s + SW_DUR], [0, 1], {
219
+ extrapolateLeft: 'clamp', extrapolateRight: 'clamp',
220
+ });
221
+ // easeInOutCubic
222
+ stepF += p < 0.5 ? 4 * p * p * p : 1 - Math.pow(-2 * p + 2, 3) / 2;
223
+ });
224
+ const scroll = stepF * STEP;
225
+
226
+ // 卡片布局:中心卡顶 y=275,向两侧铺开;黑白相间
227
+ const total = CARDS.length * STEP;
228
+ const cards: React.ReactNode[] = [];
229
+ for (let rep = -1; rep < 2; rep++) {
230
+ CARDS.forEach((C, i) => {
231
+ const y = 275 + i * STEP + rep * total - scroll;
232
+ if (y > 1200 || y < -CARD_H - 120) return;
233
+ cards.push(
234
+ <div key={`${rep}-${i}`} style={{
235
+ position: 'absolute', top: y, left: 106, width: CARD_W, height: CARD_H,
236
+ borderRadius: 12, overflow: 'hidden',
237
+ boxShadow: '0 12px 40px rgba(30,26,20,0.14)',
238
+ border: '1px solid rgba(0,0,0,0.06)', background: '#fff',
239
+ }}>
240
+ <C seed={(i + 1) * 733} />
241
+ </div>,
242
+ );
243
+ });
244
+ }
245
+
246
+ // —— 右侧词接力:原位交叉淡(旧词灰化淡出,新词淡入,不位移)——
247
+ const wordStyle: React.CSSProperties = {
248
+ fontFamily: SERIF, fontWeight: 400, fontSize: 116, lineHeight: 1.18,
249
+ letterSpacing: '0.002em', textAlign: 'right', whiteSpace: 'nowrap',
250
+ };
251
+ // 每个词的生命周期:入场淡入(黑)→ 常驻黑 → 下个切点前 14 帧灰化
252
+ //(截图 4/6 捕捉到的就是"旧词已灰、新词未现"的状态)→ 切点起淡出。
253
+ const smooth = (x: number) => x * x * (3 - 2 * x);
254
+ const wordNodes = WORDS.map((w, i) => {
255
+ const sIn = SWITCHES[i];
256
+ const sOut = i + 1 < SWITCHES.length ? SWITCHES[i + 1] : null;
257
+ // 新词后半窗口淡入(避免与旧词叠影)
258
+ const pIn = interpolate(frame, [sIn + 7, sIn + SW_DUR], [0, 1], {
259
+ extrapolateLeft: 'clamp', extrapolateRight: 'clamp',
260
+ });
261
+ if (i === 0 ? frame < sIn : pIn <= 0) return null;
262
+ const pInEff = i === 0 ? interpolate(frame, [sIn, sIn + 12], [0, 1], {
263
+ extrapolateLeft: 'clamp', extrapolateRight: 'clamp',
264
+ }) : pIn;
265
+ // 灰化:切点前 14 帧开始,切点时已全灰
266
+ const grey = sOut ? interpolate(frame, [sOut - 14, sOut - 2], [0, 1], {
267
+ extrapolateLeft: 'clamp', extrapolateRight: 'clamp',
268
+ }) : 0;
269
+ // 淡出:切点起前半窗口内出完
270
+ const pOut = sOut ? interpolate(frame, [sOut, sOut + 8], [1, 0], {
271
+ extrapolateLeft: 'clamp', extrapolateRight: 'clamp',
272
+ }) : 1;
273
+ const op = smooth(pInEff) * smooth(pOut);
274
+ if (op <= 0) return null;
275
+ const mix = smooth(grey);
276
+ const ch = Math.round(0x19 + (0x9d - 0x19) * mix);
277
+ return (
278
+ <div key={w} style={{
279
+ ...wordStyle, position: 'absolute', right: 0, top: 0,
280
+ color: `rgb(${ch},${Math.round(0x19 + (0x98 - 0x19) * mix)},${Math.round(0x19 + (0x8e - 0x19) * mix)})`,
281
+ opacity: op,
282
+ }}>
283
+ {w}
284
+ </div>
285
+ );
286
+ });
287
+
288
+ return (
289
+ <AbsoluteFill style={{ background: '#faf8f3' }}>
290
+ <div style={{ position: 'absolute', inset: 0 }}>{cards}</div>
291
+ {/* 右侧词组:Computer 固定第一行,动词第二行原位换词。
292
+ v3:块总高≈137(Computer 行)+140(词行容器)=277,垂直中心须对齐
293
+ 当前页面卡中点 y=540(卡顶 275 + 卡高 530/2)→ top=540-277/2≈402 */}
294
+ <div style={{ position: 'absolute', right: 210, top: 402 }}>
295
+ <div style={{ ...wordStyle, color: '#191919' }}>Computer</div>
296
+ <div style={{ position: 'relative', height: 140 }}>{wordNodes}</div>
297
+ </div>
298
+ </AbsoluteFill>
299
+ );
300
+ };
@@ -0,0 +1,15 @@
1
+ import { Composition } from 'remotion';
2
+ import { AiflMain, AIFL_TOTAL } from './aifl/Main';
3
+
4
+ export const Root: React.FC = () => {
5
+ return (
6
+ <Composition
7
+ id="AiflPromo"
8
+ component={AiflMain}
9
+ durationInFrames={AIFL_TOTAL}
10
+ fps={30}
11
+ width={1920}
12
+ height={1080}
13
+ />
14
+ );
15
+ };
@@ -0,0 +1,49 @@
1
+ import { interpolate, useCurrentFrame } from 'remotion';
2
+
3
+ const MONO = 'ui-monospace, SFMono-Regular, Menlo, monospace';
4
+ const AMBER = 'oklch(52% 0.115 65)';
5
+
6
+ /** Screen-space narration caption: a mono UI info-strip at the bottom of the
7
+ * frame, led by a small amber square. Fades/rises in over 8 frames and fades
8
+ * out over the last 8 of its window. */
9
+ export const Caption: React.FC<{ text: string; duration: number; bottom?: number }> = ({
10
+ text,
11
+ duration,
12
+ bottom = 72,
13
+ }) => {
14
+ const frame = useCurrentFrame();
15
+ const inT = interpolate(frame, [0, 8], [0, 1], {
16
+ extrapolateLeft: 'clamp',
17
+ extrapolateRight: 'clamp',
18
+ });
19
+ const outT = interpolate(frame, [duration - 8, duration], [1, 0], {
20
+ extrapolateLeft: 'clamp',
21
+ extrapolateRight: 'clamp',
22
+ });
23
+
24
+ return (
25
+ <div
26
+ style={{
27
+ position: 'absolute',
28
+ left: 0,
29
+ right: 0,
30
+ bottom,
31
+ display: 'flex',
32
+ justifyContent: 'center',
33
+ alignItems: 'baseline',
34
+ gap: 14,
35
+ fontFamily: MONO,
36
+ fontSize: 22,
37
+ letterSpacing: '0.14em',
38
+ textTransform: 'uppercase',
39
+ color: 'oklch(45% 0.006 82)',
40
+ opacity: inT * outT,
41
+ transform: `translateY(${(1 - inT) * 8}px)`,
42
+ pointerEvents: 'none',
43
+ }}
44
+ >
45
+ <span style={{ width: 6, height: 6, background: AMBER, display: 'inline-block' }} />
46
+ <span>{text}</span>
47
+ </div>
48
+ );
49
+ };
@@ -0,0 +1,44 @@
1
+ import { interpolate, useCurrentFrame, Easing } from 'remotion';
2
+
3
+ const DIGITS = '0123456789';
4
+
5
+ /** Odometer-style digit column roll for monospace numerals. */
6
+ export const DigitRoll: React.FC<{
7
+ value: string;
8
+ delay?: number;
9
+ fontSize?: number;
10
+ color?: string;
11
+ }> = ({ value, delay = 0, fontSize = 30, color = 'oklch(52% 0.115 65)' }) => {
12
+ const frame = useCurrentFrame();
13
+ const lineH = fontSize * 1.15;
14
+ return (
15
+ <span style={{ display: 'inline-flex', overflow: 'hidden', height: lineH, verticalAlign: 'bottom' }}>
16
+ {value.split('').map((ch, i) => {
17
+ const target = DIGITS.indexOf(ch);
18
+ if (target < 0) {
19
+ return (
20
+ <span key={i} style={{ fontSize, lineHeight: `${lineH}px`, color }}>{ch}</span>
21
+ );
22
+ }
23
+ const t = interpolate(frame, [delay + i * 4, delay + i * 4 + 22], [0, 1], {
24
+ extrapolateLeft: 'clamp',
25
+ extrapolateRight: 'clamp',
26
+ easing: Easing.bezier(0.25, 0.8, 0.25, 1),
27
+ });
28
+ // roll through one full strip then land on the target digit
29
+ const offset = (10 + target) * t * lineH;
30
+ return (
31
+ <span key={i} style={{ display: 'inline-block', height: lineH }}>
32
+ <span style={{ display: 'block', transform: `translateY(${-offset}px)` }}>
33
+ {(DIGITS + DIGITS).split('').map((d, j) => (
34
+ <span key={j} style={{ display: 'block', fontSize, lineHeight: `${lineH}px`, color, fontVariantNumeric: 'tabular-nums' }}>
35
+ {d}
36
+ </span>
37
+ ))}
38
+ </span>
39
+ </span>
40
+ );
41
+ })}
42
+ </span>
43
+ );
44
+ };
@@ -0,0 +1,19 @@
1
+ import { AbsoluteFill, interpolate, useCurrentFrame } from 'remotion';
2
+
3
+ /** Bright-field cut: a warm-white bloom that flashes over the hard cut. */
4
+ export const FlashCut: React.FC<{ duration?: number }> = ({ duration = 10 }) => {
5
+ const frame = useCurrentFrame();
6
+ const o = interpolate(frame, [0, duration * 0.4, duration], [0, 0.85, 0], {
7
+ extrapolateLeft: 'clamp',
8
+ extrapolateRight: 'clamp',
9
+ });
10
+ return (
11
+ <AbsoluteFill
12
+ style={{
13
+ pointerEvents: 'none',
14
+ opacity: o,
15
+ background: 'radial-gradient(ellipse at 50% 45%, rgba(255,248,235,0.98), rgba(255,244,224,0.55) 55%, transparent 80%)',
16
+ }}
17
+ />
18
+ );
19
+ };