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,171 @@
1
+ // comic-panel-split|漫画分格并列
2
+ // FakeDashboard A(加 KPI 数字块)全屏 20f → 咔咔咔切成 3 个斜线分格
3
+ // (12° 斜边,10px 白缝 + 墨线描边),逐格 2f 间隔弹入(3f scale 1.06→1
4
+ // + 加深脉冲)。三格 = 同页面三机位:全景 1x / 卡片特写 1.9x / 数字区
5
+ // 特写 2.6x。定格 18f 各格缓慢微推近保持活 → 第三格斜边框 12f out-cubic
6
+ // 扩张吃掉全屏成为下一镜特写。57f 起摘罩(特写直出、分格结构与缝线
7
+ // 全部卸载),57–150f 真静止 93f ≥ 40f。帧确定,无随机源。
8
+ import React from 'react';
9
+ import { AbsoluteFill, useCurrentFrame, interpolate, Easing } from 'remotion';
10
+ import { FakeDashboard, G } from '../_fixtures/Fixtures';
11
+
12
+ const SPLIT = 20; // 全屏 A 结束、开始分格
13
+ const POP = 3; // 每格弹入 3f
14
+ const STAGGER = 2; // 逐格 2f 间隔
15
+ const HOLD_END = 45; // 27f 弹完 + 定格 18f
16
+ const EXPAND_END = 57; // 第三格 12f 扩张结束
17
+ // 57–150 真静止 93f
18
+
19
+ // 斜边 12°:tan(12°)×1080 ≈ 230,顶边比底边右移 230
20
+ // 缝 10px(水平半宽 5px)
21
+ // 边界1:顶 750 / 底 520;边界2:顶 1405 / 底 1175
22
+ const outCubic = Easing.out(Easing.cubic);
23
+
24
+ // 页面 = FakeDashboard A + 左上卡片内 KPI 数字块(给"数字区特写"一个锚点)
25
+ const PageA: React.FC = () => (
26
+ <div style={{ width: 1920, height: 1080, position: 'relative' }}>
27
+ <FakeDashboard variant="A" />
28
+ <div style={{
29
+ position: 'absolute', left: 328, top: 320, width: 380, height: 160,
30
+ background: G.card, borderRadius: 12, display: 'flex', flexDirection: 'column',
31
+ alignItems: 'center', justifyContent: 'center', gap: 8,
32
+ }}>
33
+ <div style={{ fontFamily: 'Helvetica, Arial, sans-serif', fontWeight: 800, fontSize: 96, color: G.ink, letterSpacing: -2, lineHeight: 1 }}>
34
+ 1,284
35
+ </div>
36
+ <div style={{ height: 10, width: 150, background: G.mid, borderRadius: 5 }} />
37
+ </div>
38
+ </div>
39
+ );
40
+
41
+ type PanelSpec = {
42
+ clip: (f: number) => string; // clip-path polygon
43
+ centroidX: number; // 弹入缩放原点
44
+ originX: number; originY: number; // 内容变换原点(焦点)
45
+ baseScale: number; // 机位倍率
46
+ tx: number; ty: number; // 焦点搬到格中心的位移
47
+ z: number;
48
+ };
49
+
50
+ export const ComicPanelSplit: React.FC = () => {
51
+ const frame = useCurrentFrame();
52
+
53
+ // ===== 摘罩:扩张完成后特写直出,分格结构 / 缝线全部卸载 =====
54
+ if (frame >= EXPAND_END) {
55
+ return (
56
+ <AbsoluteFill style={{ background: G.bg, overflow: 'hidden' }}>
57
+ <div style={{
58
+ width: 1920, height: 1080,
59
+ transform: 'translate(442px, 140px) scale(2.6)',
60
+ transformOrigin: '518px 400px',
61
+ }}>
62
+ <PageA />
63
+ </div>
64
+ </AbsoluteFill>
65
+ );
66
+ }
67
+
68
+ // ===== 阶段 1:全屏 A =====
69
+ if (frame < SPLIT) {
70
+ return (
71
+ <AbsoluteFill style={{ background: G.bg }}>
72
+ <PageA />
73
+ </AbsoluteFill>
74
+ );
75
+ }
76
+
77
+ // ===== 阶段 2/3:分格 + 第三格扩张 =====
78
+ // 定格期微推近(27–45f 线性,很缓)
79
+ const push = interpolate(frame, [SPLIT + 2 * STAGGER + POP, HOLD_END], [0, 1], {
80
+ extrapolateLeft: 'clamp', extrapolateRight: 'clamp',
81
+ });
82
+ // 第三格扩张进度(扩散用 out-cubic)
83
+ const ex = interpolate(frame, [HOLD_END, EXPAND_END], [0, 1], {
84
+ extrapolateLeft: 'clamp', extrapolateRight: 'clamp', easing: outCubic,
85
+ });
86
+
87
+ // 第三格左斜边(= 边界2 吃屏轨迹)
88
+ const e3Top = 1410 + ex * (-60 - 1410); // 1410 → -60
89
+ const e3Bot = 1180 + ex * (-290 - 1180); // 1180 → -290
90
+
91
+ const panels: PanelSpec[] = [
92
+ { // 全景 1x
93
+ clip: () => 'polygon(0px 0px, 745px 0px, 515px 1080px, 0px 1080px)',
94
+ centroidX: 315, originX: 960, originY: 540,
95
+ baseScale: 1 + push * 0.03, tx: 0, ty: 0, z: 1,
96
+ },
97
+ { // 卡片特写 1.9x(中上卡片)
98
+ clip: () => 'polygon(755px 0px, 1400px 0px, 1170px 1080px, 525px 1080px)',
99
+ centroidX: 962, originX: 1070, originY: 371,
100
+ baseScale: 1.9 + push * 0.055, tx: -108, ty: 169, z: 1,
101
+ },
102
+ { // 数字区特写 2.6x(KPI 块),扩张时焦点从格中心搬到屏中心
103
+ clip: () => `polygon(${e3Top}px 0px, 1920px 0px, 1920px 1080px, ${e3Bot}px 1080px)`,
104
+ centroidX: 1607, originX: 518, originY: 400,
105
+ // 扩张时 push 增量退掉,scale 收敛回 2.6(与摘罩帧完全一致)
106
+ baseScale: 2.6 + push * 0.08 * (1 - ex), tx: 1089 + ex * (442 - 1089), ty: 140, z: 3,
107
+ },
108
+ ];
109
+
110
+ // 缝线透明度:边界1 随第 2 格弹入出现、扩张期被吃前线性淡出;
111
+ // 边界2 随第 3 格弹入出现、扩张末 4f 线性淡出(消散用线性)
112
+ const seam1O = Math.min(
113
+ interpolate(frame, [SPLIT + STAGGER, SPLIT + STAGGER + 2], [0, 1], { extrapolateLeft: 'clamp', extrapolateRight: 'clamp' }),
114
+ interpolate(frame, [HOLD_END, HOLD_END + 3], [1, 0], { extrapolateLeft: 'clamp', extrapolateRight: 'clamp' }),
115
+ );
116
+ const seam2O = Math.min(
117
+ interpolate(frame, [SPLIT + 2 * STAGGER, SPLIT + 2 * STAGGER + 2], [0, 1], { extrapolateLeft: 'clamp', extrapolateRight: 'clamp' }),
118
+ interpolate(frame, [EXPAND_END - 4, EXPAND_END], [1, 0], { extrapolateLeft: 'clamp', extrapolateRight: 'clamp' }),
119
+ );
120
+
121
+ return (
122
+ <AbsoluteFill style={{ background: '#ffffff' }}>
123
+ {panels.map((p, i) => {
124
+ const start = SPLIT + i * STAGGER;
125
+ if (frame < start) return null; // 未弹入不渲染
126
+ // 弹入:3f scale 1.06→1 + 加深脉冲
127
+ const pop = interpolate(frame, [start, start + POP], [0, 1], {
128
+ extrapolateLeft: 'clamp', extrapolateRight: 'clamp', easing: outCubic,
129
+ });
130
+ const popScale = 1.06 - 0.06 * pop;
131
+ const pulse = 0.3 * (1 - pop);
132
+ return (
133
+ <div key={i} style={{
134
+ position: 'absolute', inset: 0, zIndex: p.z,
135
+ clipPath: p.clip(frame),
136
+ transform: `scale(${popScale})`,
137
+ transformOrigin: `${p.centroidX}px 540px`,
138
+ }}>
139
+ <div style={{
140
+ width: 1920, height: 1080,
141
+ transform: `translate(${p.tx}px, ${p.ty}px) scale(${p.baseScale})`,
142
+ transformOrigin: `${p.originX}px ${p.originY}px`,
143
+ }}>
144
+ <PageA />
145
+ </div>
146
+ {pulse > 0.005 && (
147
+ <div style={{ position: 'absolute', inset: 0, background: `rgba(0,0,0,${pulse})` }} />
148
+ )}
149
+ </div>
150
+ );
151
+ })}
152
+ {/* 斜缝:白缝命门 + 墨线描边(暗 16 下、白 10 上 → 两侧各 3px 墨边) */}
153
+ {(seam1O > 0.005 || seam2O > 0.005) && (
154
+ <svg width={1920} height={1080} style={{ position: 'absolute', inset: 0, zIndex: 5, pointerEvents: 'none' }}>
155
+ {seam1O > 0.005 && (
156
+ <g opacity={seam1O}>
157
+ <line x1={750} y1={-10} x2={520} y2={1090} stroke="#2f2f2f" strokeWidth={16} />
158
+ <line x1={750} y1={-10} x2={520} y2={1090} stroke="#ffffff" strokeWidth={10} />
159
+ </g>
160
+ )}
161
+ {seam2O > 0.005 && (
162
+ <g opacity={seam2O}>
163
+ <line x1={e3Top - 5} y1={-10} x2={e3Bot - 5} y2={1090} stroke="#2f2f2f" strokeWidth={16} />
164
+ <line x1={e3Top - 5} y1={-10} x2={e3Bot - 5} y2={1090} stroke="#ffffff" strokeWidth={10} />
165
+ </g>
166
+ )}
167
+ </svg>
168
+ )}
169
+ </AbsoluteFill>
170
+ );
171
+ };
@@ -0,0 +1,121 @@
1
+ // flip-grid-reflow —— 网格 FLIP 重排
2
+ // 6 张 Card 初始横排一行(marquee 式,屏心偏上)静止 30f,节拍点集体换位:
3
+ // 每卡沿直线飞向 3×2 网格目标位(预写两套坐标表),scale 1→1.28,
4
+ // delay = 卡索引×1.5f 微错峰,16f inOut(cubic) + 落定 3f 过冲 1.02。
5
+ // 全部落定后整体加深脉冲收束。收尾真静止 ≥40f。
6
+ import React from 'react';
7
+ import { useCurrentFrame, interpolate, Easing } from 'remotion';
8
+ import { G, Card, TitleBlock } from '../_fixtures/Fixtures';
9
+
10
+ const CARD_W = 280;
11
+ const CARD_H = 170;
12
+ const N = 6;
13
+
14
+ // ---- 坐标表 A:横排一行(卡间 24px,屏心偏上)----
15
+ // 总宽 6*280 + 5*24 = 1800,x0 = 60;中心 y = 330
16
+ const ROW_Y = 330;
17
+ const ROW_CENTERS: Array<[number, number]> = Array.from({ length: N }, (_, i) => [
18
+ 60 + CARD_W / 2 + i * (CARD_W + 24),
19
+ ROW_Y,
20
+ ]); // x: 200, 504, 808, 1112, 1416, 1720
21
+
22
+ // ---- 坐标表 B:3×2 网格(卡放大 1.28 → 358.4×217.6,网格间距 30px)----
23
+ // 网格总宽 3*358.4 + 2*30 = 1135.2 → x0 = 392.4;总高 2*217.6 + 30 = 465.2 → y0 = 307.4
24
+ const GC = [571.6, 960, 1348.4]; // 列中心
25
+ const GR = [416.2, 663.8]; // 行中心
26
+ // 交错映射:偶数索引去上排、奇数去下排(每卡直线飞行、互不对穿)
27
+ const GRID_CENTERS: Array<[number, number]> = [
28
+ [GC[0], GR[0]], // card0 → 上左
29
+ [GC[0], GR[1]], // card1 → 下左
30
+ [GC[1], GR[0]], // card2 → 上中
31
+ [GC[1], GR[1]], // card3 → 下中
32
+ [GC[2], GR[0]], // card4 → 上右
33
+ [GC[2], GR[1]], // card5 → 下右
34
+ ];
35
+
36
+ const BEAT = 30; // 节拍点
37
+ const STAGGER = 1.5; // 每卡延迟
38
+ const MOVE = 16; // 飞行帧数
39
+ const SETTLE = 3; // 落定过冲帧数
40
+ const SCALE_END = 1.28;
41
+ const OVERSHOOT = 1.02;
42
+ // 末卡完全落定:30 + 5*1.5 + 16 + 3 = 56.5
43
+ const ALL_SETTLED = BEAT + (N - 1) * STAGGER + MOVE + SETTLE; // 56.5
44
+
45
+ // 加深脉冲:f58 → f61 谷值 → f64 回正(谷值 brightness 0.78,spec 4f 放宽到 6f 保可感)
46
+ const PULSE_IN = 58;
47
+ const PULSE_MID = 61;
48
+ const PULSE_OUT = 64;
49
+
50
+ const moveEase = Easing.inOut(Easing.cubic);
51
+
52
+ const FlipCard: React.FC<{ i: number; frame: number }> = ({ i, frame }) => {
53
+ const t0 = BEAT + i * STAGGER;
54
+ const [x0, y0] = ROW_CENTERS[i];
55
+ const [x1, y1] = GRID_CENTERS[i];
56
+
57
+ const x = interpolate(frame, [t0, t0 + MOVE], [x0, x1], {
58
+ easing: moveEase, extrapolateLeft: 'clamp', extrapolateRight: 'clamp',
59
+ });
60
+ const y = interpolate(frame, [t0, t0 + MOVE], [y0, y1], {
61
+ easing: moveEase, extrapolateLeft: 'clamp', extrapolateRight: 'clamp',
62
+ });
63
+
64
+ // scale:16f 冲到 1.28*1.02,随后 3f 回落到 1.28
65
+ const sUp = interpolate(frame, [t0, t0 + MOVE], [1, SCALE_END * OVERSHOOT], {
66
+ easing: moveEase, extrapolateLeft: 'clamp', extrapolateRight: 'clamp',
67
+ });
68
+ const sBack = interpolate(frame, [t0 + MOVE, t0 + MOVE + SETTLE], [SCALE_END * OVERSHOOT, SCALE_END], {
69
+ easing: Easing.out(Easing.cubic), extrapolateLeft: 'clamp', extrapolateRight: 'clamp',
70
+ });
71
+ const s = frame < t0 + MOVE ? sUp : sBack;
72
+
73
+ return (
74
+ <div
75
+ style={{
76
+ position: 'absolute',
77
+ left: x - CARD_W / 2,
78
+ top: y - CARD_H / 2,
79
+ width: CARD_W,
80
+ height: CARD_H,
81
+ transform: `scale(${s})`,
82
+ transformOrigin: '50% 50%',
83
+ zIndex: i,
84
+ }}
85
+ >
86
+ <Card w={CARD_W} h={CARD_H} seed={i + 1} />
87
+ </div>
88
+ );
89
+ };
90
+
91
+ export const FlipGridReflow: React.FC = () => {
92
+ const frame = useCurrentFrame();
93
+
94
+ // 加深脉冲:仅脉冲窗口内挂载 filter,窗口外完全不挂(摘罩)
95
+ const pulsing = frame >= PULSE_IN && frame <= PULSE_OUT;
96
+ const bright = pulsing
97
+ ? interpolate(frame, [PULSE_IN, PULSE_MID, PULSE_OUT], [1, 0.78, 1], {
98
+ extrapolateLeft: 'clamp', extrapolateRight: 'clamp',
99
+ })
100
+ : 1;
101
+
102
+ return (
103
+ <div
104
+ style={{
105
+ width: 1920,
106
+ height: 1080,
107
+ background: G.bg,
108
+ position: 'relative',
109
+ overflow: 'hidden',
110
+ ...(pulsing ? { filter: `brightness(${bright})` } : {}),
111
+ }}
112
+ >
113
+ <div style={{ position: 'absolute', left: 70, top: 56 }}>
114
+ <TitleBlock text="FLIP GRID REFLOW" size={44} />
115
+ </div>
116
+ {Array.from({ length: N }).map((_, i) => (
117
+ <FlipCard key={i} i={i} frame={frame} />
118
+ ))}
119
+ </div>
120
+ );
121
+ };
@@ -0,0 +1,182 @@
1
+ // grid-flash-mosaic —— 九宫格闪切
2
+ // 浅底 → f25 起 3×3 网格按十六分音符(每 2f)逐格啪啪硬入(顺序 h(i) 打乱),
3
+ // 每格 = FakeDashboard 不同区域裁切片或灰卡;入格 3f scale 1.18→1 + 2f 加深脉冲。
4
+ // 填满后停 14f(整墙微呼吸 1.008) → 中心格 14f Easing.in(cubic) 放大吞掉全屏
5
+ // 成为满屏页面。收尾真静止 ≥40f。
6
+ import React from 'react';
7
+ import { useCurrentFrame, interpolate, Easing } from 'remotion';
8
+ import { G, Card, FakeDashboard } from '../_fixtures/Fixtures';
9
+
10
+ const h = (n: number) => {
11
+ const s = Math.sin(n * 127.3) * 43758.5453;
12
+ return s - Math.floor(s);
13
+ };
14
+
15
+ const CELL_W = 600;
16
+ const CELL_H = 340;
17
+ const GAP = 12;
18
+ const GRID_X = (1920 - (CELL_W * 3 + GAP * 2)) / 2; // 48
19
+ const GRID_Y = (1080 - (CELL_H * 3 + GAP * 2)) / 2; // 18
20
+
21
+ const FILL_START = 25; // 第一格落下
22
+ const STEP = 2; // 十六分音符:每 2f 一格
23
+ // 打乱顺序:索引按 h(i+1) 排序
24
+ const ORDER = Array.from({ length: 9 }, (_, i) => i).sort(
25
+ (a, b) => h(a + 1) - h(b + 1)
26
+ );
27
+ const RANK: number[] = [];
28
+ ORDER.forEach((cell, k) => (RANK[cell] = k));
29
+
30
+ const LAST_IN = FILL_START + 8 * STEP + 3; // 最后一格入格动画结束 f44
31
+ const HOLD_END = LAST_IN + 14; // 整墙呼吸段结束 f58
32
+ const ZOOM_DUR = 14;
33
+ const ZOOM_END = HOLD_END + ZOOM_DUR; // f72,之后真静止
34
+
35
+ // 中心格内是整页 FakeDashboard 缩小版(0.3125),放大后正好成为满屏页面
36
+ const MINI_SCALE = CELL_W / 1920; // 0.3125
37
+ // 3.2 恰好铺满;加到 3.28 让格子的深色描边完全滑出画外,收尾满屏页面干净
38
+ const ZOOM_SCALE = 3.28;
39
+
40
+ // 非中心格:FakeDashboard 裁切偏移 (x, y, variant) 或灰卡(null)
41
+ const CROPS: Array<{ x: number; y: number; v: 'A' | 'B' } | null> = [
42
+ { x: -120, y: -60, v: 'A' },
43
+ null, // 灰卡
44
+ { x: -1260, y: -120, v: 'B' },
45
+ { x: -60, y: -520, v: 'B' },
46
+ null, // 中心格(单独处理,占位)
47
+ { x: -1300, y: -640, v: 'A' },
48
+ { x: -420, y: -300, v: 'B' },
49
+ null, // 灰卡
50
+ { x: -900, y: -680, v: 'A' },
51
+ ];
52
+
53
+ const CellContent: React.FC<{ i: number }> = ({ i }) => {
54
+ if (i === 4) {
55
+ // 中心格:整页 dashboard 缩到格内
56
+ return (
57
+ <div
58
+ style={{
59
+ position: 'absolute',
60
+ left: 0,
61
+ top: (CELL_H - 1080 * MINI_SCALE) / 2,
62
+ transform: `scale(${MINI_SCALE})`,
63
+ transformOrigin: 'top left',
64
+ }}
65
+ >
66
+ <FakeDashboard variant="A" />
67
+ </div>
68
+ );
69
+ }
70
+ const crop = CROPS[i];
71
+ if (crop === null) {
72
+ // 灰卡格
73
+ return (
74
+ <div
75
+ style={{
76
+ width: '100%',
77
+ height: '100%',
78
+ background: G.panel,
79
+ display: 'flex',
80
+ alignItems: 'center',
81
+ justifyContent: 'center',
82
+ }}
83
+ >
84
+ <Card w={430} h={240} seed={i * 3 + 2} />
85
+ </div>
86
+ );
87
+ }
88
+ // 裁切片:整页 dashboard 以不同偏移塞进格子(相当于 backgroundPosition 各异)
89
+ return (
90
+ <div style={{ position: 'absolute', left: crop.x, top: crop.y }}>
91
+ <FakeDashboard variant={crop.v} />
92
+ </div>
93
+ );
94
+ };
95
+
96
+ export const GridFlashMosaic: React.FC = () => {
97
+ const f = useCurrentFrame();
98
+
99
+ // 整墙微呼吸:仅在填满后的 14f 停顿段,一个正弦来回 1→1.008→1
100
+ const breath =
101
+ f >= LAST_IN && f < HOLD_END
102
+ ? 1 + 0.008 * Math.sin((Math.PI * (f - LAST_IN)) / 14)
103
+ : 1;
104
+
105
+ // 中心格放大:14f Easing.in(cubic),吞掉全屏
106
+ const zoom = interpolate(f, [HOLD_END, ZOOM_END], [1, ZOOM_SCALE], {
107
+ easing: Easing.in(Easing.cubic),
108
+ extrapolateLeft: 'clamp',
109
+ extrapolateRight: 'clamp',
110
+ });
111
+
112
+ return (
113
+ <div
114
+ style={{
115
+ width: 1920,
116
+ height: 1080,
117
+ background: G.bg,
118
+ position: 'relative',
119
+ overflow: 'hidden',
120
+ }}
121
+ >
122
+ <div
123
+ style={{
124
+ position: 'absolute',
125
+ inset: 0,
126
+ transform: `scale(${breath})`,
127
+ transformOrigin: '960px 540px',
128
+ }}
129
+ >
130
+ {Array.from({ length: 9 }).map((_, i) => {
131
+ const start = FILL_START + RANK[i] * STEP;
132
+ if (f < start) return null; // 硬入:未到拍点不渲染,无淡化
133
+ const row = Math.floor(i / 3);
134
+ const col = i % 3;
135
+ // 入格 3f scale 1.18→1
136
+ const popScale = interpolate(f, [start, start + 3], [1.18, 1], {
137
+ extrapolateLeft: 'clamp',
138
+ extrapolateRight: 'clamp',
139
+ });
140
+ // 2f 加深脉冲
141
+ const darken = interpolate(f, [start, start + 2], [0.45, 0], {
142
+ extrapolateLeft: 'clamp',
143
+ extrapolateRight: 'clamp',
144
+ });
145
+ const isCenter = i === 4;
146
+ const cellScale = isCenter ? popScale * zoom : popScale;
147
+ return (
148
+ <div
149
+ key={i}
150
+ style={{
151
+ position: 'absolute',
152
+ left: GRID_X + col * (CELL_W + GAP),
153
+ top: GRID_Y + row * (CELL_H + GAP),
154
+ width: CELL_W,
155
+ height: CELL_H,
156
+ overflow: 'hidden',
157
+ background: G.card,
158
+ border: `3px solid ${G.ink}`,
159
+ boxSizing: 'border-box',
160
+ transform: `scale(${cellScale})`,
161
+ transformOrigin: 'center',
162
+ zIndex: isCenter ? 10 : 1,
163
+ }}
164
+ >
165
+ <CellContent i={i} />
166
+ {darken > 0.001 && (
167
+ <div
168
+ style={{
169
+ position: 'absolute',
170
+ inset: 0,
171
+ background: '#000',
172
+ opacity: darken,
173
+ }}
174
+ />
175
+ )}
176
+ </div>
177
+ );
178
+ })}
179
+ </div>
180
+ </div>
181
+ );
182
+ };
@@ -0,0 +1,163 @@
1
+ // masking-tape-slap —— 纸胶带拍定
2
+ // 一张 Card 轻飘入位后悬着微晃(±1.5° 正弦 + 5px 上下浮),两条半透明纸胶带
3
+ // 先后从画外拍在对角(scale 1.45→1 + rotate 过冲 + 一帧压扁)。第一条拍下晃动减半,
4
+ // 第二条拍下同帧卡片停晃、投影瞬间变薄、整卡 2px 下沉——"按死"的一瞬是主角。
5
+ // 帧确定性:全部由 frame 派生,无随机。收尾 f86 后真静止 54f。
6
+ import React from 'react';
7
+ import { useCurrentFrame, interpolate, Easing } from 'remotion';
8
+ import { G, Card, TitleBlock } from '../_fixtures/Fixtures';
9
+
10
+ const CARD_W = 560;
11
+ const CARD_H = 350;
12
+ const CX = (1920 - CARD_W) / 2;
13
+ const CY = (1080 - CARD_H) / 2 + 40;
14
+
15
+ const FLOAT_START = 12; // 开头 12f 空场静置
16
+ const FLOAT_END = 38;
17
+ const SLAP1 = 58;
18
+ const SLAP2 = 82;
19
+ const APPROACH = 6; // 胶带从画外扑向卡面的帧数
20
+ const FREEZE = 2; // 拍死后晃动归零帧数
21
+
22
+ // 悬浮晃动幅度包络:入位后升起 → 第一条胶带拍下后减半 → 第二条拍下冻结(由外层处理)
23
+ const amp = (f: number): number => {
24
+ const rise = interpolate(f, [FLOAT_END, FLOAT_END + 8], [0, 1], {
25
+ extrapolateLeft: 'clamp',
26
+ extrapolateRight: 'clamp',
27
+ });
28
+ const damp = interpolate(f, [SLAP1, SLAP1 + 4], [1, 0.45], {
29
+ extrapolateLeft: 'clamp',
30
+ extrapolateRight: 'clamp',
31
+ });
32
+ return rise * damp;
33
+ };
34
+
35
+ const rawRot = (f: number): number => amp(f) * 1.5 * Math.sin((f - FLOAT_END) * 0.16);
36
+ const rawBob = (f: number): number => amp(f) * 5 * Math.sin((f - FLOAT_END) * 0.11);
37
+
38
+ // 第二条拍下(SLAP2)同帧起 2f 内把晃动按死到 0
39
+ const frozen = (f: number, raw: (x: number) => number): number =>
40
+ f <= SLAP2
41
+ ? raw(f)
42
+ : interpolate(f, [SLAP2, SLAP2 + FREEZE], [raw(SLAP2), 0], {
43
+ extrapolateRight: 'clamp',
44
+ });
45
+
46
+ const Tape: React.FC<{
47
+ frame: number;
48
+ land: number;
49
+ cx: number; // 胶带中心点(世界坐标)
50
+ cy: number;
51
+ rot: number; // 落定角度
52
+ fromX: number; // 画外来向偏移
53
+ fromY: number;
54
+ }> = ({ frame, land, cx, cy, rot, fromX, fromY }) => {
55
+ if (frame < land - APPROACH) return null; // 条件卸载:拍上前真不存在
56
+
57
+ const t = interpolate(frame, [land - APPROACH, land], [0, 1], {
58
+ easing: Easing.out(Easing.cubic),
59
+ extrapolateLeft: 'clamp',
60
+ extrapolateRight: 'clamp',
61
+ });
62
+ const scale = interpolate(t, [0, 1], [1.45, 1]);
63
+ const dx = fromX * (1 - t);
64
+ const dy = fromY * (1 - t);
65
+ const opacity = interpolate(frame, [land - APPROACH, land - APPROACH + 2], [0, 0.85], {
66
+ extrapolateRight: 'clamp',
67
+ });
68
+ // rotate 过冲:来时欠 16° → 落帧过 7° → 4f 内回正
69
+ const r = interpolate(frame, [land - APPROACH, land, land + 4], [rot - 16, rot + 7, rot], {
70
+ easing: Easing.out(Easing.quad),
71
+ extrapolateLeft: 'clamp',
72
+ extrapolateRight: 'clamp',
73
+ });
74
+ // 一帧压扁:落帧 scaleY 0.72,次帧 0.9,随后复原
75
+ const sy = frame === land ? 0.72 : frame === land + 1 ? 0.9 : 1;
76
+
77
+ return (
78
+ <div
79
+ style={{
80
+ position: 'absolute',
81
+ left: cx - 160,
82
+ top: cy - 34,
83
+ width: 320,
84
+ height: 68,
85
+ transform: `translate(${dx}px, ${dy}px) rotate(${r}deg) scale(${scale}) scaleY(${sy})`,
86
+ transformOrigin: '50% 50%',
87
+ opacity,
88
+ background:
89
+ 'linear-gradient(90deg, rgba(214,212,206,0.95) 0%, rgba(226,224,218,0.95) 30%, rgba(212,210,204,0.95) 60%, rgba(222,220,214,0.95) 100%)',
90
+ // 撕边:两端锯齿
91
+ clipPath:
92
+ 'polygon(0% 8%, 2.5% 0%, 97% 3%, 100% 12%, 98.2% 30%, 100% 52%, 98% 74%, 100% 90%, 96.5% 100%, 3% 97%, 0% 88%, 1.8% 64%, 0% 42%, 2% 22%)',
93
+ boxShadow: '0 1px 3px rgba(0,0,0,0.15)',
94
+ }}
95
+ />
96
+ );
97
+ };
98
+
99
+ export const MaskingTapeSlap: React.FC = () => {
100
+ const frame = useCurrentFrame();
101
+
102
+ // 卡片飘入:从上方 -120px 缓落
103
+ const floatY = interpolate(frame, [FLOAT_START, FLOAT_END], [-120, 0], {
104
+ easing: Easing.out(Easing.cubic),
105
+ extrapolateLeft: 'clamp',
106
+ extrapolateRight: 'clamp',
107
+ });
108
+ const floatOp = interpolate(frame, [FLOAT_START, FLOAT_START + 10], [0, 1], {
109
+ extrapolateLeft: 'clamp',
110
+ extrapolateRight: 'clamp',
111
+ });
112
+
113
+ const rot = frozen(frame, rawRot);
114
+ const bob = frozen(frame, rawBob);
115
+
116
+ // 按死:2px 下沉 + 投影瞬间变薄
117
+ const sink = interpolate(frame, [SLAP2, SLAP2 + FREEZE], [0, 2], {
118
+ extrapolateLeft: 'clamp',
119
+ extrapolateRight: 'clamp',
120
+ });
121
+ const shOff = interpolate(frame, [SLAP2, SLAP2 + FREEZE], [16, 3], {
122
+ extrapolateLeft: 'clamp',
123
+ extrapolateRight: 'clamp',
124
+ });
125
+ const shBlur = interpolate(frame, [SLAP2, SLAP2 + FREEZE], [34, 8], {
126
+ extrapolateLeft: 'clamp',
127
+ extrapolateRight: 'clamp',
128
+ });
129
+ const shAlpha = interpolate(frame, [SLAP2, SLAP2 + FREEZE], [0.22, 0.1], {
130
+ extrapolateLeft: 'clamp',
131
+ extrapolateRight: 'clamp',
132
+ });
133
+
134
+ return (
135
+ <div style={{ width: 1920, height: 1080, background: G.bg, position: 'relative', overflow: 'hidden' }}>
136
+ <div style={{ position: 'absolute', top: 110, width: '100%', textAlign: 'center' }}>
137
+ <TitleBlock text="MASKING TAPE SLAP" size={72} />
138
+ </div>
139
+
140
+ <div
141
+ style={{
142
+ position: 'absolute',
143
+ left: CX,
144
+ top: CY,
145
+ transform: `translateY(${floatY + bob + sink}px) rotate(${rot}deg)`,
146
+ transformOrigin: '50% 50%',
147
+ opacity: floatOp,
148
+ }}
149
+ >
150
+ <Card
151
+ w={CARD_W}
152
+ h={CARD_H}
153
+ seed={3}
154
+ style={{ boxShadow: `0 ${shOff}px ${shBlur}px rgba(0,0,0,${shAlpha})` }}
155
+ />
156
+ </div>
157
+
158
+ {/* 两条胶带钉在卡片对角(世界坐标,卡片在其下滑动微晃) */}
159
+ <Tape frame={frame} land={SLAP1} cx={CX + 55} cy={CY + 40} rot={-45} fromX={-170} fromY={-130} />
160
+ <Tape frame={frame} land={SLAP2} cx={CX + CARD_W - 55} cy={CY + CARD_H - 40} rot={-45} fromX={170} fromY={130} />
161
+ </div>
162
+ );
163
+ };