hyper-animator-codex 0.7.1 → 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 (318) hide show
  1. package/README.md +51 -3
  2. package/bin/hyper-animator-codex.mjs +1 -1
  3. package/lib/minimax-config.mjs +3 -3
  4. package/package.json +1 -1
  5. package/skills/hyper-animator-codex/SKILL.md +58 -20
  6. package/skills/hyper-animator-codex/agents/openai.yaml +2 -2
  7. package/skills/hyper-animator-codex/contracts/shot-plan.schema.json +214 -0
  8. package/skills/hyper-animator-codex/contracts/workflow-policy.json +85 -0
  9. package/skills/hyper-animator-codex/references/HyperFrames-AI-Generation-Patterns-codex.md +788 -0
  10. package/skills/hyper-animator-codex/references/beat-sync-workflow.md +7 -0
  11. package/skills/hyper-animator-codex/references/examples/shot-plan-dual-catalog.json +69 -0
  12. package/skills/hyper-animator-codex/references/hyperframes-agent-pseudocode.ts +1 -1
  13. package/skills/hyper-animator-codex/references/hyperframes-catalog-map.json +97 -230
  14. package/skills/hyper-animator-codex/references/hyperframes-intent-workflow.md +23 -7
  15. package/skills/hyper-animator-codex/references/minimax-music-workflow.md +24 -4
  16. package/skills/hyper-animator-codex/references/narration-audio-workflow.md +31 -1
  17. package/skills/hyper-animator-codex/references/shotcraft/LICENSE +202 -0
  18. package/skills/hyper-animator-codex/references/shotcraft/cards/ai-stream-response/README.md +46 -0
  19. package/skills/hyper-animator-codex/references/shotcraft/cards/autolayout-gap-dial/README.md +53 -0
  20. package/skills/hyper-animator-codex/references/shotcraft/cards/beat-cut-moves/README.md +54 -0
  21. package/skills/hyper-animator-codex/references/shotcraft/cards/beat-step-list-theme-cycle/README.md +59 -0
  22. package/skills/hyper-animator-codex/references/shotcraft/cards/before-after-slider-scrub/README.md +47 -0
  23. package/skills/hyper-animator-codex/references/shotcraft/cards/bottom-push-stack-wipe/README.md +58 -0
  24. package/skills/hyper-animator-codex/references/shotcraft/cards/brand-frame-snap/README.md +51 -0
  25. package/skills/hyper-animator-codex/references/shotcraft/cards/brand-ink-open/README.md +35 -0
  26. package/skills/hyper-animator-codex/references/shotcraft/cards/bubble-swarm-takeover/README.md +62 -0
  27. package/skills/hyper-animator-codex/references/shotcraft/cards/canvas-materialize-moves/README.md +55 -0
  28. package/skills/hyper-animator-codex/references/shotcraft/cards/card-flip-reveal/README.md +50 -0
  29. package/skills/hyper-animator-codex/references/shotcraft/cards/card-flock-tumble/README.md +54 -0
  30. package/skills/hyper-animator-codex/references/shotcraft/cards/cel-flash-stomp/README.md +54 -0
  31. package/skills/hyper-animator-codex/references/shotcraft/cards/chart-live-moves/README.md +51 -0
  32. package/skills/hyper-animator-codex/references/shotcraft/cards/circle-match-iris/README.md +53 -0
  33. package/skills/hyper-animator-codex/references/shotcraft/cards/cloner-depth-echo/README.md +38 -0
  34. package/skills/hyper-animator-codex/references/shotcraft/cards/collab-cursor-moves/README.md +48 -0
  35. package/skills/hyper-animator-codex/references/shotcraft/cards/color-block-step-wipe/README.md +54 -0
  36. package/skills/hyper-animator-codex/references/shotcraft/cards/command-palette-summon/README.md +45 -0
  37. package/skills/hyper-animator-codex/references/shotcraft/cards/crane-rise-reveal/README.md +47 -0
  38. package/skills/hyper-animator-codex/references/shotcraft/cards/crash-zoom-punch/README.md +38 -0
  39. package/skills/hyper-animator-codex/references/shotcraft/cards/dataviz-landscape-open/README.md +54 -0
  40. package/skills/hyper-animator-codex/references/shotcraft/cards/deck-deal-flyin/README.md +45 -0
  41. package/skills/hyper-animator-codex/references/shotcraft/cards/depth-layer-moves/README.md +40 -0
  42. package/skills/hyper-animator-codex/references/shotcraft/cards/document-typewriter-reveal/README.md +40 -0
  43. package/skills/hyper-animator-codex/references/shotcraft/cards/draw-svg-trace/README.md +50 -0
  44. package/skills/hyper-animator-codex/references/shotcraft/cards/edit-hook-moves/README.md +38 -0
  45. package/skills/hyper-animator-codex/references/shotcraft/cards/element-body-moves/README.md +49 -0
  46. package/skills/hyper-animator-codex/references/shotcraft/cards/fui-hud-moves/README.md +44 -0
  47. package/skills/hyper-animator-codex/references/shotcraft/cards/gauge-readout-moves/README.md +45 -0
  48. package/skills/hyper-animator-codex/references/shotcraft/cards/glow-flyline-moves/README.md +51 -0
  49. package/skills/hyper-animator-codex/references/shotcraft/cards/gradient-word-sweep/README.md +49 -0
  50. package/skills/hyper-animator-codex/references/shotcraft/cards/graze-face-tour/README.md +56 -0
  51. package/skills/hyper-animator-codex/references/shotcraft/cards/hashtag-to-pill-materialize/README.md +57 -0
  52. package/skills/hyper-animator-codex/references/shotcraft/cards/hires-rasterize-3d-text/README.md +34 -0
  53. package/skills/hyper-animator-codex/references/shotcraft/cards/icon-field-colorize/README.md +53 -0
  54. package/skills/hyper-animator-codex/references/shotcraft/cards/icon-performance-moves/README.md +46 -0
  55. package/skills/hyper-animator-codex/references/shotcraft/cards/impact-feedback/README.md +50 -0
  56. package/skills/hyper-animator-codex/references/shotcraft/cards/input-trigger-moves/README.md +49 -0
  57. package/skills/hyper-animator-codex/references/shotcraft/cards/integration-hub-map/README.md +54 -0
  58. package/skills/hyper-animator-codex/references/shotcraft/cards/letterspace-materialize/README.md +52 -0
  59. package/skills/hyper-animator-codex/references/shotcraft/cards/light-play-moves/README.md +49 -0
  60. package/skills/hyper-animator-codex/references/shotcraft/cards/line-boil/README.md +52 -0
  61. package/skills/hyper-animator-codex/references/shotcraft/cards/line-carry-transition/README.md +52 -0
  62. package/skills/hyper-animator-codex/references/shotcraft/cards/list-stack-press/README.md +43 -0
  63. package/skills/hyper-animator-codex/references/shotcraft/cards/magician-card-flourish/README.md +63 -0
  64. package/skills/hyper-animator-codex/references/shotcraft/cards/marker-underline-title/README.md +48 -0
  65. package/skills/hyper-animator-codex/references/shotcraft/cards/montage-rhythm-moves/README.md +55 -0
  66. package/skills/hyper-animator-codex/references/shotcraft/cards/morph-from-primitive/README.md +51 -0
  67. package/skills/hyper-animator-codex/references/shotcraft/cards/neon-frame-forerun/README.md +50 -0
  68. package/skills/hyper-animator-codex/references/shotcraft/cards/neon-frame-orbit-drop/README.md +50 -0
  69. package/skills/hyper-animator-codex/references/shotcraft/cards/neon-triple-marquee/README.md +55 -0
  70. package/skills/hyper-animator-codex/references/shotcraft/cards/odometer-digit-roll/README.md +54 -0
  71. package/skills/hyper-animator-codex/references/shotcraft/cards/outro-group-photo-launch/README.md +39 -0
  72. package/skills/hyper-animator-codex/references/shotcraft/cards/overhead-camera-moves/README.md +50 -0
  73. package/skills/hyper-animator-codex/references/shotcraft/cards/page-turn-transitions/README.md +48 -0
  74. package/skills/hyper-animator-codex/references/shotcraft/cards/page-waterfall-wall/README.md +52 -0
  75. package/skills/hyper-animator-codex/references/shotcraft/cards/panel-grid-moves/README.md +52 -0
  76. package/skills/hyper-animator-codex/references/shotcraft/cards/paper-craft-moves/README.md +46 -0
  77. package/skills/hyper-animator-codex/references/shotcraft/cards/paper-plane-messenger/README.md +62 -0
  78. package/skills/hyper-animator-codex/references/shotcraft/cards/paper-title-card/README.md +36 -0
  79. package/skills/hyper-animator-codex/references/shotcraft/cards/particle-celebrate-hits/README.md +42 -0
  80. package/skills/hyper-animator-codex/references/shotcraft/cards/particle-sand-fill/README.md +39 -0
  81. package/skills/hyper-animator-codex/references/shotcraft/cards/pill-slot-cycle/README.md +57 -0
  82. package/skills/hyper-animator-codex/references/shotcraft/cards/print-texture-transitions/README.md +40 -0
  83. package/skills/hyper-animator-codex/references/shotcraft/cards/rhythm-interrupt-moves/README.md +44 -0
  84. package/skills/hyper-animator-codex/references/shotcraft/cards/riso-print-hits/README.md +54 -0
  85. package/skills/hyper-animator-codex/references/shotcraft/cards/row-embed/README.md +36 -0
  86. package/skills/hyper-animator-codex/references/shotcraft/cards/runway-ground-skim/README.md +52 -0
  87. package/skills/hyper-animator-codex/references/shotcraft/cards/sakuga-timing-shift/README.md +50 -0
  88. package/skills/hyper-animator-codex/references/shotcraft/cards/scene-locked-title/README.md +43 -0
  89. package/skills/hyper-animator-codex/references/shotcraft/cards/scroll-brake-moves/README.md +45 -0
  90. package/skills/hyper-animator-codex/references/shotcraft/cards/segmented-thumb-hero/README.md +57 -0
  91. package/skills/hyper-animator-codex/references/shotcraft/cards/shot-transitions/README.md +60 -0
  92. package/skills/hyper-animator-codex/references/shotcraft/cards/skeleton-reveal/README.md +54 -0
  93. package/skills/hyper-animator-codex/references/shotcraft/cards/slam-entrance-moves/README.md +53 -0
  94. package/skills/hyper-animator-codex/references/shotcraft/cards/smear-multiples/README.md +49 -0
  95. package/skills/hyper-animator-codex/references/shotcraft/cards/space-camera-moves/README.md +53 -0
  96. package/skills/hyper-animator-codex/references/shotcraft/cards/spectrum-morph-ui/README.md +50 -0
  97. package/skills/hyper-animator-codex/references/shotcraft/cards/speed-ramp-freeze/README.md +42 -0
  98. package/skills/hyper-animator-codex/references/shotcraft/cards/split-flap-title/README.md +52 -0
  99. package/skills/hyper-animator-codex/references/shotcraft/cards/spotlight-hero-card/README.md +39 -0
  100. package/skills/hyper-animator-codex/references/shotcraft/cards/spotlight-sweep-moves/README.md +51 -0
  101. package/skills/hyper-animator-codex/references/shotcraft/cards/steep-tilt-glide/README.md +53 -0
  102. package/skills/hyper-animator-codex/references/shotcraft/cards/stroke-segment-build/README.md +43 -0
  103. package/skills/hyper-animator-codex/references/shotcraft/cards/tear-streak-transitions/README.md +43 -0
  104. package/skills/hyper-animator-codex/references/shotcraft/cards/tension-camera-moves/README.md +55 -0
  105. package/skills/hyper-animator-codex/references/shotcraft/cards/text-as-mask/README.md +50 -0
  106. package/skills/hyper-animator-codex/references/shotcraft/cards/text-column-converge/README.md +55 -0
  107. package/skills/hyper-animator-codex/references/shotcraft/cards/theme-switch-moves/README.md +44 -0
  108. package/skills/hyper-animator-codex/references/shotcraft/cards/timeline-travel/README.md +43 -0
  109. package/skills/hyper-animator-codex/references/shotcraft/cards/title-demote-to-label/README.md +58 -0
  110. package/skills/hyper-animator-codex/references/shotcraft/cards/trailer-grammar-moves/README.md +51 -0
  111. package/skills/hyper-animator-codex/references/shotcraft/cards/transition-hidden-cut/README.md +52 -0
  112. package/skills/hyper-animator-codex/references/shotcraft/cards/transition-travel/README.md +48 -0
  113. package/skills/hyper-animator-codex/references/shotcraft/cards/type-and-filter/README.md +37 -0
  114. package/skills/hyper-animator-codex/references/shotcraft/cards/type-assembly-moves/README.md +50 -0
  115. package/skills/hyper-animator-codex/references/shotcraft/cards/type-entrance-moves/README.md +46 -0
  116. package/skills/hyper-animator-codex/references/shotcraft/cards/type-rhythm-sync/README.md +47 -0
  117. package/skills/hyper-animator-codex/references/shotcraft/cards/typewriter-moves/README.md +50 -0
  118. package/skills/hyper-animator-codex/references/shotcraft/cards/ui-strip-away-outro/README.md +63 -0
  119. package/skills/hyper-animator-codex/references/shotcraft/cards/ui-to-brand-morph/README.md +52 -0
  120. package/skills/hyper-animator-codex/references/shotcraft/cards/voice-waveform-live/README.md +52 -0
  121. package/skills/hyper-animator-codex/references/shotcraft/cards/wall-reveal-moves/README.md +53 -0
  122. package/skills/hyper-animator-codex/references/shotcraft/cards/wipe-transitions/README.md +47 -0
  123. package/skills/hyper-animator-codex/references/shotcraft/cards/word-relay-filmstrip/README.md +50 -0
  124. package/skills/hyper-animator-codex/references/shotcraft/catalog.json +3946 -0
  125. package/skills/hyper-animator-codex/references/shotcraft/references/aesthetic-rules.md +157 -0
  126. package/skills/hyper-animator-codex/references/shotcraft/references/final-review.md +107 -0
  127. package/skills/hyper-animator-codex/references/shotcraft/references/guided-free-creation.md +197 -0
  128. package/skills/hyper-animator-codex/references/shotcraft/references/music-beat-sync.md +125 -0
  129. package/skills/hyper-animator-codex/references/shotcraft/references/pipeline.md +357 -0
  130. package/skills/hyper-animator-codex/references/shotcraft/references/sound-design.md +126 -0
  131. package/skills/hyper-animator-codex/references/shotcraft/source/assets/lib/Caption.tsx +50 -0
  132. package/skills/hyper-animator-codex/references/shotcraft/source/assets/lib/DigitRoll.tsx +45 -0
  133. package/skills/hyper-animator-codex/references/shotcraft/source/assets/lib/FlashCut.tsx +20 -0
  134. package/skills/hyper-animator-codex/references/shotcraft/source/assets/lib/FlatPanel.tsx +65 -0
  135. package/skills/hyper-animator-codex/references/shotcraft/source/assets/lib/PageCam.tsx +151 -0
  136. package/skills/hyper-animator-codex/references/shotcraft/source/assets/lib/VerticalTicker.tsx +129 -0
  137. package/skills/hyper-animator-codex/references/shotcraft/source/assets/lib/helpers/camera.tsx +75 -0
  138. package/skills/hyper-animator-codex/references/shotcraft/source/assets/lib/helpers/motion.ts +40 -0
  139. package/skills/hyper-animator-codex/references/shotcraft/source/assets/lib/helpers/rand.ts +11 -0
  140. package/skills/hyper-animator-codex/references/shotcraft/source/assets/lib/helpers/shake.ts +10 -0
  141. package/skills/hyper-animator-codex/references/shotcraft/source/demos/_fixtures/Fixtures.tsx +83 -0
  142. package/skills/hyper-animator-codex/references/shotcraft/source/demos/ai-stream-response/StreamResponse.tsx +146 -0
  143. package/skills/hyper-animator-codex/references/shotcraft/source/demos/autolayout-gap-dial/AutolayoutGapDial.tsx +174 -0
  144. package/skills/hyper-animator-codex/references/shotcraft/source/demos/beat-cut-moves/BeatCutAccelerando.tsx +77 -0
  145. package/skills/hyper-animator-codex/references/shotcraft/source/demos/beat-cut-moves/PaparazziFlash.tsx +115 -0
  146. package/skills/hyper-animator-codex/references/shotcraft/source/demos/beat-step-list-theme-cycle/BeatStepListThemeCycle.tsx +98 -0
  147. package/skills/hyper-animator-codex/references/shotcraft/source/demos/before-after-slider-scrub/BeforeAfterSliderScrub.tsx +99 -0
  148. package/skills/hyper-animator-codex/references/shotcraft/source/demos/bottom-push-stack-wipe/BottomPushStackWipe.tsx +79 -0
  149. package/skills/hyper-animator-codex/references/shotcraft/source/demos/brand-frame-snap/BrandFrameSnap.tsx +110 -0
  150. package/skills/hyper-animator-codex/references/shotcraft/source/demos/bubble-swarm-takeover/BubbleSwarmTakeover.tsx +189 -0
  151. package/skills/hyper-animator-codex/references/shotcraft/source/demos/canvas-materialize-moves/DiagramCascadeBuild.tsx +172 -0
  152. package/skills/hyper-animator-codex/references/shotcraft/source/demos/canvas-materialize-moves/PanelToCanvasMaterialize.tsx +254 -0
  153. package/skills/hyper-animator-codex/references/shotcraft/source/demos/card-flip-reveal/CardFlipReveal.tsx +139 -0
  154. package/skills/hyper-animator-codex/references/shotcraft/source/demos/card-flock-tumble/CardFlockTumble.tsx +382 -0
  155. package/skills/hyper-animator-codex/references/shotcraft/source/demos/cel-flash-stomp/CelFlashStomp.tsx +111 -0
  156. package/skills/hyper-animator-codex/references/shotcraft/source/demos/chart-live-moves/AxisRescaleShockV2.tsx +282 -0
  157. package/skills/hyper-animator-codex/references/shotcraft/source/demos/chart-live-moves/OscilloscopeStreamV2.tsx +227 -0
  158. package/skills/hyper-animator-codex/references/shotcraft/source/demos/chart-live-moves/UnitDotSwarmRegroupV2.tsx +248 -0
  159. package/skills/hyper-animator-codex/references/shotcraft/source/demos/circle-match-iris/CircleMatchIris.tsx +124 -0
  160. package/skills/hyper-animator-codex/references/shotcraft/source/demos/cloner-depth-echo/ClonerDepthEcho.tsx +90 -0
  161. package/skills/hyper-animator-codex/references/shotcraft/source/demos/collab-cursor-moves/CursorCastEnsemble.tsx +136 -0
  162. package/skills/hyper-animator-codex/references/shotcraft/source/demos/collab-cursor-moves/CursorDialogueDuet.tsx +145 -0
  163. package/skills/hyper-animator-codex/references/shotcraft/source/demos/color-block-step-wipe/ColorBlockStepWipe.tsx +157 -0
  164. package/skills/hyper-animator-codex/references/shotcraft/source/demos/command-palette-summon/CommandPaletteSummon.tsx +173 -0
  165. package/skills/hyper-animator-codex/references/shotcraft/source/demos/crane-rise-reveal/CraneRiseReveal.tsx +91 -0
  166. package/skills/hyper-animator-codex/references/shotcraft/source/demos/crash-zoom-punch/CrashImpactReal.tsx +63 -0
  167. package/skills/hyper-animator-codex/references/shotcraft/source/demos/crash-zoom-punch/CrashZoomReal.tsx +60 -0
  168. package/skills/hyper-animator-codex/references/shotcraft/source/demos/dataviz-landscape-open/DatavizLandscapeOpen.tsx +401 -0
  169. package/skills/hyper-animator-codex/references/shotcraft/source/demos/depth-layer-moves/DollyZoomReal.tsx +55 -0
  170. package/skills/hyper-animator-codex/references/shotcraft/source/demos/depth-layer-moves/MultiplaneReal.tsx +45 -0
  171. package/skills/hyper-animator-codex/references/shotcraft/source/demos/draw-svg-trace/DrawSvgTrace.tsx +199 -0
  172. package/skills/hyper-animator-codex/references/shotcraft/source/demos/edit-hook-moves/LogoStingButton.tsx +106 -0
  173. package/skills/hyper-animator-codex/references/shotcraft/source/demos/element-body-moves/AxialStretch.tsx +112 -0
  174. package/skills/hyper-animator-codex/references/shotcraft/source/demos/element-body-moves/ContactShadowLift.tsx +117 -0
  175. package/skills/hyper-animator-codex/references/shotcraft/source/demos/fui-hud-moves/LineUnfoldPanel.tsx +125 -0
  176. package/skills/hyper-animator-codex/references/shotcraft/source/demos/fui-hud-moves/ReticleLockOn.tsx +139 -0
  177. package/skills/hyper-animator-codex/references/shotcraft/source/demos/gauge-readout-moves/NeedleSweepSelftest.tsx +146 -0
  178. package/skills/hyper-animator-codex/references/shotcraft/source/demos/gauge-readout-moves/TapeScrollFixedPointer.tsx +120 -0
  179. package/skills/hyper-animator-codex/references/shotcraft/source/demos/glow-flyline-moves/FlylineArc.tsx +158 -0
  180. package/skills/hyper-animator-codex/references/shotcraft/source/demos/glow-flyline-moves/GlowOrbAmbient.tsx +131 -0
  181. package/skills/hyper-animator-codex/references/shotcraft/source/demos/glow-flyline-moves/OrbFlylineRelay.tsx +268 -0
  182. package/skills/hyper-animator-codex/references/shotcraft/source/demos/gradient-word-sweep/GradientWordSweep.tsx +307 -0
  183. package/skills/hyper-animator-codex/references/shotcraft/source/demos/graze-face-tour/GrazeFaceTour.tsx +469 -0
  184. package/skills/hyper-animator-codex/references/shotcraft/source/demos/hashtag-to-pill-materialize/HashtagToPillMaterialize.tsx +166 -0
  185. package/skills/hyper-animator-codex/references/shotcraft/source/demos/icon-field-colorize/IconFieldColorize.tsx +93 -0
  186. package/skills/hyper-animator-codex/references/shotcraft/source/demos/icon-performance-moves/AttentionBounce.tsx +193 -0
  187. package/skills/hyper-animator-codex/references/shotcraft/source/demos/icon-performance-moves/PopBurstConfirm.tsx +162 -0
  188. package/skills/hyper-animator-codex/references/shotcraft/source/demos/impact-feedback/AnimeImpact.tsx +149 -0
  189. package/skills/hyper-animator-codex/references/shotcraft/source/demos/impact-feedback/HitCounter.tsx +147 -0
  190. package/skills/hyper-animator-codex/references/shotcraft/source/demos/input-trigger-moves/CursorPerformancePunchIn.tsx +154 -0
  191. package/skills/hyper-animator-codex/references/shotcraft/source/demos/input-trigger-moves/KeycapSmashCut.tsx +217 -0
  192. package/skills/hyper-animator-codex/references/shotcraft/source/demos/integration-hub-map/IntegrationHubMap.tsx +554 -0
  193. package/skills/hyper-animator-codex/references/shotcraft/source/demos/letterspace-materialize/LetterspaceMaterialize.tsx +85 -0
  194. package/skills/hyper-animator-codex/references/shotcraft/source/demos/light-play-moves/HalationBloom.tsx +139 -0
  195. package/skills/hyper-animator-codex/references/shotcraft/source/demos/light-play-moves/SheenSweepRetry.tsx +85 -0
  196. package/skills/hyper-animator-codex/references/shotcraft/source/demos/light-play-moves/SpotlightSweepReveal.tsx +102 -0
  197. package/skills/hyper-animator-codex/references/shotcraft/source/demos/line-boil/LineBoil.tsx +140 -0
  198. package/skills/hyper-animator-codex/references/shotcraft/source/demos/line-carry-transition/LineCarryTransition.tsx +151 -0
  199. package/skills/hyper-animator-codex/references/shotcraft/source/demos/magician-card-flourish/MagicianCardFlourish.tsx +294 -0
  200. package/skills/hyper-animator-codex/references/shotcraft/source/demos/marker-underline-title/MarkerUnderlineTitle.tsx +87 -0
  201. package/skills/hyper-animator-codex/references/shotcraft/source/demos/montage-rhythm-moves/DominoCascade.tsx +125 -0
  202. package/skills/hyper-animator-codex/references/shotcraft/source/demos/montage-rhythm-moves/DropBlackoutSlam.tsx +135 -0
  203. package/skills/hyper-animator-codex/references/shotcraft/source/demos/montage-rhythm-moves/WrightTripleCut.tsx +175 -0
  204. package/skills/hyper-animator-codex/references/shotcraft/source/demos/morph-from-primitive/MorphFromPrimitive.tsx +190 -0
  205. package/skills/hyper-animator-codex/references/shotcraft/source/demos/neon-frame-forerun/NeonFrameForerun.tsx +279 -0
  206. package/skills/hyper-animator-codex/references/shotcraft/source/demos/neon-frame-orbit-drop/NeonFrameForerunOrbit.tsx +273 -0
  207. package/skills/hyper-animator-codex/references/shotcraft/source/demos/neon-triple-marquee/NeonTripleMarquee.tsx +111 -0
  208. package/skills/hyper-animator-codex/references/shotcraft/source/demos/odometer-digit-roll/OdometerDigitRoll.tsx +178 -0
  209. package/skills/hyper-animator-codex/references/shotcraft/source/demos/overhead-camera-moves/OverheadTabletopDrop.tsx +129 -0
  210. package/skills/hyper-animator-codex/references/shotcraft/source/demos/overhead-camera-moves/TiltReveal.tsx +55 -0
  211. package/skills/hyper-animator-codex/references/shotcraft/source/demos/page-turn-transitions/BarnDoorSplit.tsx +138 -0
  212. package/skills/hyper-animator-codex/references/shotcraft/source/demos/page-turn-transitions/CubeRotate.tsx +114 -0
  213. package/skills/hyper-animator-codex/references/shotcraft/source/demos/page-waterfall-wall/PageWaterfallWall.tsx +76 -0
  214. package/skills/hyper-animator-codex/references/shotcraft/source/demos/page-waterfall-wall/VerticalTicker.tsx +129 -0
  215. package/skills/hyper-animator-codex/references/shotcraft/source/demos/panel-grid-moves/ComicPanelSplit.tsx +171 -0
  216. package/skills/hyper-animator-codex/references/shotcraft/source/demos/panel-grid-moves/FlipGridReflow.tsx +121 -0
  217. package/skills/hyper-animator-codex/references/shotcraft/source/demos/panel-grid-moves/GridFlashMosaic.tsx +182 -0
  218. package/skills/hyper-animator-codex/references/shotcraft/source/demos/paper-craft-moves/MaskingTapeSlap.tsx +163 -0
  219. package/skills/hyper-animator-codex/references/shotcraft/source/demos/paper-craft-moves/PopupBookRise.tsx +134 -0
  220. package/skills/hyper-animator-codex/references/shotcraft/source/demos/paper-plane-messenger/PaperPlaneMessenger.tsx +183 -0
  221. package/skills/hyper-animator-codex/references/shotcraft/source/demos/particle-celebrate-hits/ConfettiCrossfire.tsx +115 -0
  222. package/skills/hyper-animator-codex/references/shotcraft/source/demos/particle-celebrate-hits/CounterTickSparks.tsx +103 -0
  223. package/skills/hyper-animator-codex/references/shotcraft/source/demos/particle-sand-fill/ParticleSandFill.tsx +119 -0
  224. package/skills/hyper-animator-codex/references/shotcraft/source/demos/pill-slot-cycle/PillSlotCycle.tsx +220 -0
  225. package/skills/hyper-animator-codex/references/shotcraft/source/demos/print-texture-transitions/InkBleedReveal.tsx +81 -0
  226. package/skills/hyper-animator-codex/references/shotcraft/source/demos/rhythm-interrupt-moves/JumpCutPunchIn.tsx +72 -0
  227. package/skills/hyper-animator-codex/references/shotcraft/source/demos/rhythm-interrupt-moves/StrobeBlackFrames.tsx +99 -0
  228. package/skills/hyper-animator-codex/references/shotcraft/source/demos/riso-print-hits/RisoBeatPump.tsx +155 -0
  229. package/skills/hyper-animator-codex/references/shotcraft/source/demos/riso-print-hits/RisoMisregistrationHit.tsx +120 -0
  230. package/skills/hyper-animator-codex/references/shotcraft/source/demos/runway-ground-skim/RunwayGroundSkim.tsx +258 -0
  231. package/skills/hyper-animator-codex/references/shotcraft/source/demos/sakuga-timing-shift/SakugaTimingShift.tsx +178 -0
  232. package/skills/hyper-animator-codex/references/shotcraft/source/demos/scene-locked-title/SceneLockedTitle.tsx +98 -0
  233. package/skills/hyper-animator-codex/references/shotcraft/source/demos/scroll-brake-moves/BrakeReticleLock.tsx +171 -0
  234. package/skills/hyper-animator-codex/references/shotcraft/source/demos/scroll-brake-moves/ChangelogScrollBrake.tsx +117 -0
  235. package/skills/hyper-animator-codex/references/shotcraft/source/demos/segmented-thumb-hero/SegmentedThumbHero.tsx +213 -0
  236. package/skills/hyper-animator-codex/references/shotcraft/source/demos/shot-transitions/MaskWipeReal.tsx +67 -0
  237. package/skills/hyper-animator-codex/references/shotcraft/source/demos/shot-transitions/PortalWipeV2.tsx +128 -0
  238. package/skills/hyper-animator-codex/references/shotcraft/source/demos/shot-transitions/WhipBrakeReal.tsx +60 -0
  239. package/skills/hyper-animator-codex/references/shotcraft/source/demos/shot-transitions/WhipPanReal.tsx +45 -0
  240. package/skills/hyper-animator-codex/references/shotcraft/source/demos/skeleton-reveal/SkeletonReveal.tsx +283 -0
  241. package/skills/hyper-animator-codex/references/shotcraft/source/demos/slam-entrance-moves/ImpactBurstKit.tsx +185 -0
  242. package/skills/hyper-animator-codex/references/shotcraft/source/demos/slam-entrance-moves/KanadaPerspectiveSnap.tsx +91 -0
  243. package/skills/hyper-animator-codex/references/shotcraft/source/demos/slam-entrance-moves/ScoreSlam.tsx +225 -0
  244. package/skills/hyper-animator-codex/references/shotcraft/source/demos/smear-multiples/SmearMultiples.tsx +88 -0
  245. package/skills/hyper-animator-codex/references/shotcraft/source/demos/space-camera-moves/DroneDiveLanding.tsx +91 -0
  246. package/skills/hyper-animator-codex/references/shotcraft/source/demos/space-camera-moves/ExplodedView.tsx +178 -0
  247. package/skills/hyper-animator-codex/references/shotcraft/source/demos/space-camera-moves/SnorricamLock.tsx +130 -0
  248. package/skills/hyper-animator-codex/references/shotcraft/source/demos/spectrum-morph-ui/SpectrumMorphUi.tsx +129 -0
  249. package/skills/hyper-animator-codex/references/shotcraft/source/demos/speed-ramp-freeze/FreezeAnnotateReal.tsx +70 -0
  250. package/skills/hyper-animator-codex/references/shotcraft/source/demos/speed-ramp-freeze/SpeedRampReal.tsx +58 -0
  251. package/skills/hyper-animator-codex/references/shotcraft/source/demos/split-flap-title/SplitFlapFlip.tsx +189 -0
  252. package/skills/hyper-animator-codex/references/shotcraft/source/demos/spotlight-sweep-moves/CornerSpotlightReveal.tsx +121 -0
  253. package/skills/hyper-animator-codex/references/shotcraft/source/demos/spotlight-sweep-moves/GlowWakeSleepPanel.tsx +183 -0
  254. package/skills/hyper-animator-codex/references/shotcraft/source/demos/spotlight-sweep-moves/SlideSpotlightPan.tsx +171 -0
  255. package/skills/hyper-animator-codex/references/shotcraft/source/demos/steep-tilt-glide/SteepTiltGlide.tsx +315 -0
  256. package/skills/hyper-animator-codex/references/shotcraft/source/demos/stroke-segment-build/StrokeSegmentBuild.tsx +126 -0
  257. package/skills/hyper-animator-codex/references/shotcraft/source/demos/tear-streak-transitions/GlitchDisplace.tsx +107 -0
  258. package/skills/hyper-animator-codex/references/shotcraft/source/demos/tension-camera-moves/BulletTimeFreezeOrbit.tsx +219 -0
  259. package/skills/hyper-animator-codex/references/shotcraft/source/demos/tension-camera-moves/DutchRollToLevel.tsx +110 -0
  260. package/skills/hyper-animator-codex/references/shotcraft/source/demos/tension-camera-moves/PullBackIsolation.tsx +120 -0
  261. package/skills/hyper-animator-codex/references/shotcraft/source/demos/tension-camera-moves/SlowPushIn.tsx +96 -0
  262. package/skills/hyper-animator-codex/references/shotcraft/source/demos/text-as-mask/TextAsMask.tsx +94 -0
  263. package/skills/hyper-animator-codex/references/shotcraft/source/demos/text-column-converge/TextColumnConverge.tsx +122 -0
  264. package/skills/hyper-animator-codex/references/shotcraft/source/demos/theme-switch-moves/PaletteThemeRipple.tsx +207 -0
  265. package/skills/hyper-animator-codex/references/shotcraft/source/demos/theme-switch-moves/ThemeSweepToggle.tsx +123 -0
  266. package/skills/hyper-animator-codex/references/shotcraft/source/demos/timeline-travel/TimelineTravel.tsx +123 -0
  267. package/skills/hyper-animator-codex/references/shotcraft/source/demos/title-demote-to-label/TitleDemoteToLabel.tsx +174 -0
  268. package/skills/hyper-animator-codex/references/shotcraft/source/demos/trailer-grammar-moves/CardFootageCadence.tsx +118 -0
  269. package/skills/hyper-animator-codex/references/shotcraft/source/demos/trailer-grammar-moves/SmashCut.tsx +105 -0
  270. package/skills/hyper-animator-codex/references/shotcraft/source/demos/trailer-grammar-moves/TrailerBumper.tsx +103 -0
  271. package/skills/hyper-animator-codex/references/shotcraft/source/demos/transition-hidden-cut/InvisibleCut.tsx +93 -0
  272. package/skills/hyper-animator-codex/references/shotcraft/source/demos/transition-hidden-cut/LightLeakBurn.tsx +122 -0
  273. package/skills/hyper-animator-codex/references/shotcraft/source/demos/transition-hidden-cut/VersusSlam.tsx +104 -0
  274. package/skills/hyper-animator-codex/references/shotcraft/source/demos/transition-travel/LetterformZoom.tsx +141 -0
  275. package/skills/hyper-animator-codex/references/shotcraft/source/demos/transition-travel/SharedElementMorph.tsx +101 -0
  276. package/skills/hyper-animator-codex/references/shotcraft/source/demos/type-assembly-moves/LetterformDriftAssembly.tsx +107 -0
  277. package/skills/hyper-animator-codex/references/shotcraft/source/demos/type-assembly-moves/SplitTextStagger.tsx +101 -0
  278. package/skills/hyper-animator-codex/references/shotcraft/source/demos/type-assembly-moves/TextOnPath.tsx +92 -0
  279. package/skills/hyper-animator-codex/references/shotcraft/source/demos/type-assembly-moves/TrackingExpandReveal.tsx +109 -0
  280. package/skills/hyper-animator-codex/references/shotcraft/source/demos/type-entrance-moves/LetterDropPhysics.tsx +100 -0
  281. package/skills/hyper-animator-codex/references/shotcraft/source/demos/type-entrance-moves/ScrambleDecode.tsx +90 -0
  282. package/skills/hyper-animator-codex/references/shotcraft/source/demos/type-rhythm-sync/FontWeightPump.tsx +124 -0
  283. package/skills/hyper-animator-codex/references/shotcraft/source/demos/type-rhythm-sync/KaraokeFillSync.tsx +93 -0
  284. package/skills/hyper-animator-codex/references/shotcraft/source/demos/typewriter-moves/TerminalTypewriter.tsx +122 -0
  285. package/skills/hyper-animator-codex/references/shotcraft/source/demos/typewriter-moves/TypewriterErrorRetype.tsx +109 -0
  286. package/skills/hyper-animator-codex/references/shotcraft/source/demos/ui-strip-away-outro/UiStripAwayOutro.tsx +218 -0
  287. package/skills/hyper-animator-codex/references/shotcraft/source/demos/ui-to-brand-morph/IconFlipBloomLogo.tsx +199 -0
  288. package/skills/hyper-animator-codex/references/shotcraft/source/demos/ui-to-brand-morph/InputMorphsIntoLogo.tsx +215 -0
  289. package/skills/hyper-animator-codex/references/shotcraft/source/demos/voice-waveform-live/VoiceWaveformLive.tsx +171 -0
  290. package/skills/hyper-animator-codex/references/shotcraft/source/demos/wall-reveal-moves/BentoLightUp.tsx +135 -0
  291. package/skills/hyper-animator-codex/references/shotcraft/source/demos/wipe-transitions/BlindsSlice.tsx +107 -0
  292. package/skills/hyper-animator-codex/references/shotcraft/source/demos/wipe-transitions/ClockWipe.tsx +83 -0
  293. package/skills/hyper-animator-codex/references/shotcraft/source/demos/word-relay-filmstrip/WordRelayFilmstrip.tsx +300 -0
  294. package/skills/hyper-animator-codex/references/shotcraft/source/template/src/Root.tsx +15 -0
  295. package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/Caption.tsx +49 -0
  296. package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/DigitRoll.tsx +44 -0
  297. package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/FlashCut.tsx +19 -0
  298. package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/Main.tsx +163 -0
  299. package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/PaperTitleCard.tsx +89 -0
  300. package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/live/PageCam.tsx +145 -0
  301. package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/live/SceneDetail.tsx +146 -0
  302. package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/live/SceneFlyIn.tsx +447 -0
  303. package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/live/SceneOpen.tsx +532 -0
  304. package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/live/SceneOutroLive.tsx +394 -0
  305. package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/live/ScenePapers.tsx +185 -0
  306. package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/live/SceneWbr.tsx +299 -0
  307. package/skills/hyper-animator-codex/references/shotcraft/source/template/src/index.ts +4 -0
  308. package/skills/hyper-animator-codex/references/shotcraft/source-notes.md +10 -0
  309. package/skills/hyper-animator-codex/scripts/generate_minimax_music.mjs +27 -10
  310. package/skills/hyper-animator-codex/scripts/generate_minimax_tts.mjs +142 -13
  311. package/skills/hyper-animator-codex/scripts/generate_subtitles.mjs +42 -3
  312. package/skills/hyper-animator-codex/scripts/minimax_runtime_config.mjs +3 -3
  313. package/skills/hyper-animator-codex/scripts/query_shotcraft.mjs +140 -0
  314. package/skills/hyper-animator-codex/scripts/validate_hyperframes_html.py +22 -0
  315. package/skills/hyper-animator-codex/scripts/validate_provider_policy.mjs +108 -0
  316. package/skills/hyper-animator-codex/scripts/validate_shot_plan.mjs +193 -0
  317. package/skills/hyper-animator-codex/vendor/music-beat-detector/beat_detector/analyzer.py +3 -1
  318. package/skills/hyper-animator-codex/vendor/music-beat-detector/beat_detector/beat.py +37 -1
@@ -0,0 +1,199 @@
1
+ // 描边生长圈注(draw-svg-trace)——DrawSVG 惯用的入场退场。
2
+ // 屏心 560×380 卡片位置先空着,一条 G.ink 4px 描边沿圆角矩形轮廓跑一整圈
3
+ // 把轮廓"画"出来(rect pathLength=1,dasharray=1,dashoffset 1→0);
4
+ // 线头叠一段 0.045 长的 6px 粗短 dash 当"笔头"跑在最前。闭合瞬间轮廓闪一次
5
+ // 加深加粗,卡片内容 8f 淡入,描边淡出换成卡片自身 border;随后标题下划线
6
+ // 再来一次短版描边生长(第二用法)。
7
+ // 关键帧:0–8 空场 hold → 8–48 轮廓描边生长 40f(inOut cubic)→
8
+ // 48–56 闪黑加粗(48–50 上 50–56 回)+ 内容 8f 淡入 →
9
+ // 54–64 描边淡出 / 自身 border 淡入 → 68–86 下划线短版生长 → 90–140 真静止 50f。
10
+ import React from 'react';
11
+ import { useCurrentFrame, interpolate, Easing } from 'remotion';
12
+ import { G, TitleBlock } from '../_fixtures/Fixtures';
13
+
14
+ const CW = 560;
15
+ const CH = 380;
16
+ const CX = (1920 - CW) / 2; // 680
17
+ const CY = (1080 - CH) / 2; // 350
18
+ const PEN = 0.045; // 笔头 dash 长度(占整圈比例)
19
+
20
+ export const DrawSvgTrace: React.FC = () => {
21
+ const frame = useCurrentFrame();
22
+
23
+ // 轮廓描边进度:8–48,40f,inOut cubic
24
+ const p = interpolate(frame, [8, 48], [0, 1], {
25
+ extrapolateLeft: 'clamp',
26
+ extrapolateRight: 'clamp',
27
+ easing: Easing.inOut(Easing.cubic),
28
+ });
29
+
30
+ // 闭合闪烁:48–50 冲到峰值,50–56 回落。峰值 = 纯黑 + 4→8px 加粗
31
+ const flashUp = interpolate(frame, [48, 50], [0, 1], {
32
+ extrapolateLeft: 'clamp',
33
+ extrapolateRight: 'clamp',
34
+ });
35
+ const flashDown = interpolate(frame, [50, 56], [1, 0], {
36
+ extrapolateLeft: 'clamp',
37
+ extrapolateRight: 'clamp',
38
+ easing: Easing.out(Easing.quad),
39
+ });
40
+ const flash = frame < 50 ? flashUp : flashDown;
41
+ const strokeW = 4 + flash * 4;
42
+ const strokeColor = flash > 0.5 ? '#000000' : G.ink;
43
+
44
+ // 内容淡入:48–56(8f)
45
+ const contentOp = interpolate(frame, [48, 56], [0, 1], {
46
+ extrapolateLeft: 'clamp',
47
+ extrapolateRight: 'clamp',
48
+ easing: Easing.out(Easing.quad),
49
+ });
50
+
51
+ // 描边淡出 / 卡片自身 border 淡入:54–64
52
+ const traceOp = interpolate(frame, [54, 64], [1, 0], {
53
+ extrapolateLeft: 'clamp',
54
+ extrapolateRight: 'clamp',
55
+ });
56
+ const borderOp = 1 - traceOp;
57
+
58
+ // 笔头:短 dash 覆盖 [p-PEN, p],只在描边期可见
59
+ const penOp = p > 0.02 && p < 0.985 ? 1 : 0;
60
+
61
+ // 第二用法:标题下划线短版生长 68–86(18f,out cubic)
62
+ const up = interpolate(frame, [68, 86], [0, 1], {
63
+ extrapolateLeft: 'clamp',
64
+ extrapolateRight: 'clamp',
65
+ easing: Easing.out(Easing.cubic),
66
+ });
67
+ const upenOp = up > 0.03 && up < 0.97 ? 1 : 0;
68
+ const UW = 300; // 下划线长度
69
+
70
+ return (
71
+ <div style={{ width: 1920, height: 1080, background: G.bg, position: 'relative', overflow: 'hidden' }}>
72
+ <div style={{ position: 'absolute', left: 120, top: 96 }}>
73
+ <TitleBlock text="DRAW SVG TRACE" size={54} />
74
+ </div>
75
+
76
+ {/* 卡片内容(手写灰阶块:标题条/下划线位/文字行/头像行),闭合后 8f 淡入 */}
77
+ <div
78
+ style={{
79
+ position: 'absolute',
80
+ left: CX,
81
+ top: CY,
82
+ width: CW,
83
+ height: CH,
84
+ borderRadius: 14,
85
+ background: G.card,
86
+ boxShadow: '0 2px 8px rgba(0,0,0,0.06)',
87
+ padding: 32,
88
+ boxSizing: 'border-box',
89
+ display: 'flex',
90
+ flexDirection: 'column',
91
+ gap: 18,
92
+ opacity: contentOp,
93
+ }}
94
+ >
95
+ <div style={{ height: 24, width: 340, background: G.bar, borderRadius: 10 }} />
96
+ {/* 下划线占位:由下方 SVG 画出,这里留 6px 空隙 */}
97
+ <div style={{ height: 6 }} />
98
+ <div style={{ height: 13, width: '86%', background: G.line, borderRadius: 6 }} />
99
+ <div style={{ height: 13, width: '72%', background: G.line, borderRadius: 6 }} />
100
+ <div style={{ height: 13, width: '60%', background: G.line, borderRadius: 6 }} />
101
+ <div style={{ marginTop: 'auto', display: 'flex', gap: 12, alignItems: 'center' }}>
102
+ <div style={{ width: 34, height: 34, borderRadius: 17, background: G.mid }} />
103
+ <div style={{ height: 12, width: 96, background: G.line, borderRadius: 6 }} />
104
+ </div>
105
+ </div>
106
+
107
+ {/* 卡片自身 border:描边淡出时接棒 */}
108
+ <div
109
+ style={{
110
+ position: 'absolute',
111
+ left: CX,
112
+ top: CY,
113
+ width: CW,
114
+ height: CH,
115
+ borderRadius: 14,
116
+ border: `2px solid ${G.border}`,
117
+ boxSizing: 'border-box',
118
+ opacity: borderOp,
119
+ }}
120
+ />
121
+
122
+ {/* 描边生长层:主线 4px + 笔头 6px 短 dash */}
123
+ {traceOp > 0.001 && (
124
+ <svg
125
+ width={CW}
126
+ height={CH}
127
+ style={{ position: 'absolute', left: CX, top: CY, overflow: 'visible', opacity: traceOp }}
128
+ >
129
+ <rect
130
+ x={1}
131
+ y={1}
132
+ width={CW - 2}
133
+ height={CH - 2}
134
+ rx={14}
135
+ fill="none"
136
+ stroke={strokeColor}
137
+ strokeWidth={strokeW}
138
+ pathLength={1}
139
+ strokeDasharray="1"
140
+ strokeDashoffset={1 - p}
141
+ strokeLinecap="round"
142
+ />
143
+ {penOp > 0 && (
144
+ <rect
145
+ x={1}
146
+ y={1}
147
+ width={CW - 2}
148
+ height={CH - 2}
149
+ rx={14}
150
+ fill="none"
151
+ stroke={G.ink}
152
+ strokeWidth={7}
153
+ pathLength={1}
154
+ strokeDasharray={`${PEN} ${1 - PEN}`}
155
+ strokeDashoffset={PEN - p}
156
+ strokeLinecap="round"
157
+ />
158
+ )}
159
+ </svg>
160
+ )}
161
+
162
+ {/* 第二用法:标题下划线短版描边生长(画完常驻) */}
163
+ {up > 0.001 && (
164
+ <svg
165
+ width={UW}
166
+ height={8}
167
+ style={{ position: 'absolute', left: CX + 32, top: CY + 32 + 24 + 10, overflow: 'visible' }}
168
+ >
169
+ <line
170
+ x1={0}
171
+ y1={4}
172
+ x2={UW}
173
+ y2={4}
174
+ stroke={G.ink}
175
+ strokeWidth={4}
176
+ pathLength={1}
177
+ strokeDasharray="1"
178
+ strokeDashoffset={1 - up}
179
+ strokeLinecap="round"
180
+ />
181
+ {upenOp > 0 && (
182
+ <line
183
+ x1={0}
184
+ y1={4}
185
+ x2={UW}
186
+ y2={4}
187
+ stroke={G.ink}
188
+ strokeWidth={7}
189
+ pathLength={1}
190
+ strokeDasharray={`${PEN * 2} ${1 - PEN * 2}`}
191
+ strokeDashoffset={PEN * 2 - up}
192
+ strokeLinecap="round"
193
+ />
194
+ )}
195
+ </svg>
196
+ )}
197
+ </div>
198
+ );
199
+ };
@@ -0,0 +1,106 @@
1
+ // logo-sting-button —— 收尾按钮镜头(button ending)
2
+ // 上一镜收黑 → 黑场 → LOGO 入场定住(观众以为结束)→ 12f UI 特写彩蛋硬切 →
3
+ // 硬切回黑底 LOGO 定格。节奏是全部:彩蛋段短促像眨眼。收尾真静止 ≥40f。
4
+ import React from 'react';
5
+ import { useCurrentFrame, interpolate, Easing } from 'remotion';
6
+ import { FakeDashboard } from '../_fixtures/Fixtures';
7
+
8
+ // 时间轴(30fps,共 142f)
9
+ const T = {
10
+ shotAEnd: 24, // 0–24f 上一镜(B),f14–24 压暗到纯黑
11
+ darkenStart: 14,
12
+ blackEnd: 30, // 24–30f 黑场 6f
13
+ logoInEnd: 40, // 30–40f LOGO 入场 10f
14
+ holdEnd: 70, // 40–70f 定住 30f(观众以为结束)
15
+ eggEnd: 82, // 70–82f 彩蛋硬切 12f
16
+ total: 142, // 82–142f 黑底 LOGO 真静止 60f
17
+ };
18
+
19
+ const LogoLockup: React.FC<{ opacity: number; scale: number }> = ({ opacity, scale }) => (
20
+ <div style={{
21
+ width: 1920, height: 1080, background: '#000',
22
+ display: 'flex', alignItems: 'center', justifyContent: 'center',
23
+ }}>
24
+ <div style={{
25
+ display: 'flex', alignItems: 'center', gap: 44,
26
+ opacity, transform: `scale(${scale})`,
27
+ }}>
28
+ <div style={{
29
+ width: 120, height: 120, borderRadius: 28, background: '#fff',
30
+ display: 'flex', alignItems: 'center', justifyContent: 'center',
31
+ }}>
32
+ {/* 方块内一个黑色小标记,避免纯白块太空 */}
33
+ <div style={{ width: 44, height: 44, borderRadius: 12, background: '#000' }} />
34
+ </div>
35
+ <div style={{
36
+ fontFamily: 'Helvetica, Arial, sans-serif', fontWeight: 800,
37
+ fontSize: 90, color: '#fff', letterSpacing: 2,
38
+ }}>
39
+ ACME
40
+ </div>
41
+ </div>
42
+ </div>
43
+ );
44
+
45
+ export const LogoStingButton: React.FC = () => {
46
+ const frame = useCurrentFrame();
47
+
48
+ // —— 段 1:上一镜(FakeDashboard B)压暗收黑 ——
49
+ if (frame < T.shotAEnd) {
50
+ const dark = interpolate(frame, [T.darkenStart, T.shotAEnd - 1], [0, 1], {
51
+ extrapolateLeft: 'clamp', extrapolateRight: 'clamp',
52
+ easing: Easing.in(Easing.cubic),
53
+ });
54
+ return (
55
+ <div style={{ width: 1920, height: 1080, background: '#000', position: 'relative', overflow: 'hidden' }}>
56
+ <FakeDashboard variant="B" />
57
+ <div style={{ position: 'absolute', inset: 0, background: '#000', opacity: dark }} />
58
+ </div>
59
+ );
60
+ }
61
+
62
+ // —— 段 2:黑场 6f ——
63
+ if (frame < T.blackEnd) {
64
+ return <div style={{ width: 1920, height: 1080, background: '#000' }} />;
65
+ }
66
+
67
+ // —— 段 4:彩蛋硬切 12f(variant A 按钮区 2.4x 裁切 + 角落小圆点 tick 闪 2f)——
68
+ if (frame >= T.holdEnd && frame < T.eggEnd) {
69
+ const egg = frame - T.holdEnd; // 0..11
70
+ // tick 圆点:第 4–5f 亮 2f,像眨眼
71
+ const tickOn = egg >= 4 && egg < 6;
72
+ return (
73
+ <div style={{ width: 1920, height: 1080, background: '#ececea', position: 'relative', overflow: 'hidden' }}>
74
+ <div style={{
75
+ position: 'absolute', inset: 0,
76
+ // 2.4x 放大:把第 1 张卡片底部"按钮行"(头像圆+文字条)平移到画面中心
77
+ // 原坐标 (839, 531)(第 2 列卡片底部头像圆+文字条)→ 屏幕中心 (960, 540)
78
+ // 选中列卡片可把左侧深色 sidebar 完全推出画面,特写更纯粹
79
+ transform: 'translate(-1054px, -734px) scale(2.4)', transformOrigin: '0 0',
80
+ }}>
81
+ <FakeDashboard variant="A" />
82
+ </div>
83
+ {tickOn && (
84
+ <div style={{
85
+ position: 'absolute', right: 90, bottom: 80,
86
+ width: 56, height: 56, borderRadius: 28, background: '#2f2f2f',
87
+ display: 'flex', alignItems: 'center', justifyContent: 'center',
88
+ }}>
89
+ <div style={{ width: 20, height: 20, borderRadius: 10, background: '#fff' }} />
90
+ </div>
91
+ )}
92
+ </div>
93
+ );
94
+ }
95
+
96
+ // —— 段 3 + 段 5:黑底 LOGO(入场 → 定住 → 彩蛋后定格收尾,真静止)——
97
+ const opacity = interpolate(frame, [T.blackEnd, T.logoInEnd], [0, 1], {
98
+ extrapolateLeft: 'clamp', extrapolateRight: 'clamp',
99
+ easing: Easing.out(Easing.cubic),
100
+ });
101
+ const scale = interpolate(frame, [T.blackEnd, T.logoInEnd], [0.96, 1], {
102
+ extrapolateLeft: 'clamp', extrapolateRight: 'clamp',
103
+ easing: Easing.out(Easing.cubic),
104
+ });
105
+ return <LogoLockup opacity={opacity} scale={scale} />;
106
+ };
@@ -0,0 +1,112 @@
1
+ // axial-stretch —— 轴向拉伸速度感
2
+ // 三张 Card 从右外依次横向飞入落位,飞行途中沿运动轴速度驱动拉伸
3
+ // (scaleX 峰值 ≈2.2 / scaleY ≈0.72,糖稀拉丝感),落点 Back.out 式回弹。
4
+ // 速度用位置差分 p(f)-p(f-1) 驱动,低于阈值不拉伸。收尾真静止 ≥35f。
5
+ import React from 'react';
6
+ import { useCurrentFrame, interpolate, Easing } from 'remotion';
7
+ import { G, Card, TitleBlock } from '../_fixtures/Fixtures';
8
+
9
+ const W = 1920;
10
+ const CARD_W = 380;
11
+ const CARD_H = 230;
12
+ const GAP = 60;
13
+ const ROW_W = 3 * CARD_W + 2 * GAP; // 1260
14
+ const ROW_X0 = (W - ROW_W) / 2; // 330
15
+ const ROW_Y = (1080 - CARD_H) / 2; // 425
16
+
17
+ const START_X = 1980; // 完全在画面右外
18
+ const FLIGHT = 36; // 飞行帧数
19
+ const STAGGER = 12; // 错峰
20
+ const FIRST = 10; // 首卡起飞帧
21
+ const SQUASH = 8; // 落点回弹帧数
22
+
23
+ const VEL_MIN = 2; // px/frame,低于此不拉伸
24
+ const VEL_REF = 140; // px/frame,达到此速度即满拉伸
25
+ const STRETCH_X = 1.2; // scaleX 峰值 1 + 1.2 = 2.2
26
+ const SQUISH_Y = 0.28; // scaleY 谷值 1 - 0.28 = 0.72
27
+
28
+ // poly(4) in-out:中段速度峰值 ≈ 4× 平均速度,够冲
29
+ const flightEase = Easing.inOut(Easing.poly(4));
30
+
31
+ const posAt = (f: number, start: number, targetX: number): number =>
32
+ interpolate(f, [start, start + FLIGHT], [START_X, targetX], {
33
+ easing: flightEase,
34
+ extrapolateLeft: 'clamp',
35
+ extrapolateRight: 'clamp',
36
+ });
37
+
38
+ const FlyCard: React.FC<{ i: number; frame: number }> = ({ i, frame }) => {
39
+ const start = FIRST + i * STAGGER;
40
+ const targetX = ROW_X0 + i * (CARD_W + GAP);
41
+ const land = start + FLIGHT;
42
+
43
+ const x = posAt(frame, start, targetX);
44
+ // 速度 = 位置差分(帧时间解耦,纯由位置函数决定)
45
+ const v = Math.abs(posAt(frame, start, targetX) - posAt(frame - 1, start, targetX));
46
+ const s = Math.min(Math.max((v - VEL_MIN) / (VEL_REF - VEL_MIN), 0), 1);
47
+
48
+ const stretchX = 1 + STRETCH_X * s;
49
+ const stretchY = 1 - SQUISH_Y * s;
50
+
51
+ // 落点回弹:scaleX 过冲到 0.85 再回 1(横向被"撞停"压扁),8f
52
+ const sqX = interpolate(frame, [land, land + SQUASH / 2, land + SQUASH], [1, 0.85, 1], {
53
+ easing: Easing.out(Easing.cubic),
54
+ extrapolateLeft: 'clamp',
55
+ extrapolateRight: 'clamp',
56
+ });
57
+ const sqY = interpolate(frame, [land, land + SQUASH / 2, land + SQUASH], [1, 1.1, 1], {
58
+ easing: Easing.out(Easing.cubic),
59
+ extrapolateLeft: 'clamp',
60
+ extrapolateRight: 'clamp',
61
+ });
62
+
63
+ return (
64
+ <div
65
+ style={{
66
+ position: 'absolute',
67
+ left: 0,
68
+ top: ROW_Y,
69
+ // 顺序:先 translate 再 scale;transformOrigin 设运动后缘(向左飞 → 右缘)
70
+ transform: `translateX(${x}px) scaleX(${stretchX * sqX}) scaleY(${stretchY * sqY})`,
71
+ transformOrigin: '100% 50%',
72
+ }}
73
+ >
74
+ <Card w={CARD_W} h={CARD_H} seed={i + 1} />
75
+ </div>
76
+ );
77
+ };
78
+
79
+ export const AxialStretch: React.FC = () => {
80
+ const frame = useCurrentFrame();
81
+ const titleOp = interpolate(frame, [0, 10], [0, 1], {
82
+ extrapolateLeft: 'clamp',
83
+ extrapolateRight: 'clamp',
84
+ });
85
+
86
+ return (
87
+ <div style={{ width: 1920, height: 1080, background: G.bg, position: 'relative', overflow: 'hidden' }}>
88
+ <div style={{ position: 'absolute', top: 120, width: '100%', textAlign: 'center', opacity: titleOp }}>
89
+ <TitleBlock text="AXIAL STRETCH" size={72} />
90
+ </div>
91
+ {/* 落位虚线槽,标出目标位置 */}
92
+ {[0, 1, 2].map((i) => (
93
+ <div
94
+ key={`slot-${i}`}
95
+ style={{
96
+ position: 'absolute',
97
+ left: ROW_X0 + i * (CARD_W + GAP),
98
+ top: ROW_Y,
99
+ width: CARD_W,
100
+ height: CARD_H,
101
+ border: `2px dashed ${G.bar}`,
102
+ borderRadius: 14,
103
+ boxSizing: 'border-box',
104
+ }}
105
+ />
106
+ ))}
107
+ {[0, 1, 2].map((i) => (
108
+ <FlyCard key={i} i={i} frame={frame} />
109
+ ))}
110
+ </div>
111
+ );
112
+ };
@@ -0,0 +1,117 @@
1
+ // contact-shadow-lift|接触阴影离面抬升
2
+ // 浅底上一排 3 张卡,逐张被"点名"抬起:卡 translateY(-28px)+scale(1.08),
3
+ // 其正下方独立椭圆阴影同步放大变淡——纸片离桌感;落回时阴影收紧变实,
4
+ // 落地 2f 卡壳 scale 0.99 微压。三张依次各来一遍。收尾真静止 ≥35f。
5
+ import React from 'react';
6
+ import { useCurrentFrame, interpolate, Easing } from 'remotion';
7
+ import { G, Card } from '../_fixtures/Fixtures';
8
+
9
+ const outCubic = Easing.out(Easing.cubic);
10
+ const inCubic = Easing.in(Easing.cubic);
11
+
12
+ // 每张卡的局部时间轴(局部帧 t):
13
+ // [0,10) 抬起 out-cubic
14
+ // [10,28) 悬停 18f
15
+ // [28,36) 落回 in-cubic
16
+ // [36,38) 落地卡壳 scale 0.99
17
+ // [38,43) 回弹 0.99→1.0 out-cubic
18
+ // t<0 或 t>=43 完全静止(rest 态)
19
+ const LIFT_Y = -28; // 原案 -8 → 加码 -20 → QA 保险再到 -28
20
+ const LIFT_S = 1.08;
21
+
22
+ const cardMotion = (t: number) => {
23
+ const y = interpolate(t, [0, 10], [0, LIFT_Y], {
24
+ easing: outCubic, extrapolateLeft: 'clamp', extrapolateRight: 'clamp',
25
+ }) + interpolate(t, [28, 36], [0, -LIFT_Y], {
26
+ easing: inCubic, extrapolateLeft: 'clamp', extrapolateRight: 'clamp',
27
+ });
28
+
29
+ let s: number;
30
+ if (t < 28) {
31
+ s = interpolate(t, [0, 10], [1, LIFT_S], {
32
+ easing: outCubic, extrapolateLeft: 'clamp', extrapolateRight: 'clamp',
33
+ });
34
+ } else if (t < 38) {
35
+ s = interpolate(t, [28, 36], [LIFT_S, 0.99], {
36
+ easing: inCubic, extrapolateLeft: 'clamp', extrapolateRight: 'clamp',
37
+ });
38
+ } else {
39
+ s = interpolate(t, [38, 43], [0.99, 1], {
40
+ easing: outCubic, extrapolateLeft: 'clamp', extrapolateRight: 'clamp',
41
+ });
42
+ }
43
+
44
+ // 抬升进度 0(贴桌)→1(悬空),驱动阴影
45
+ const lift = interpolate(t, [0, 10], [0, 1], {
46
+ easing: outCubic, extrapolateLeft: 'clamp', extrapolateRight: 'clamp',
47
+ }) - interpolate(t, [28, 36], [0, 1], {
48
+ easing: inCubic, extrapolateLeft: 'clamp', extrapolateRight: 'clamp',
49
+ });
50
+
51
+ return { y, s, lift };
52
+ };
53
+
54
+ const CARD_W = 360;
55
+ const CARD_H = 220;
56
+ const GAP = 120;
57
+ const STARTS = [2, 42, 82]; // 三张卡依次点名,间隔 40f;末次动画止于 f125,留 35f 真静止
58
+
59
+ export const ContactShadowLift: React.FC = () => {
60
+ const frame = useCurrentFrame();
61
+ const rowW = CARD_W * 3 + GAP * 2;
62
+ const left0 = (1920 - rowW) / 2;
63
+ const top = (1080 - CARD_H) / 2 - 20;
64
+
65
+ return (
66
+ <div style={{ width: 1920, height: 1080, background: G.bg, position: 'relative', overflow: 'hidden' }}>
67
+ {/* 假 dashboard 式顶栏,给浅底一点场景感 */}
68
+ <div style={{ position: 'absolute', top: 0, left: 0, right: 0, height: 84, background: G.panel, borderBottom: `2px solid ${G.line}`, display: 'flex', alignItems: 'center', padding: '0 48px', gap: 24, boxSizing: 'border-box' }}>
69
+ <div style={{ width: 40, height: 40, borderRadius: 10, background: G.side }} />
70
+ <div style={{ height: 18, width: 220, background: G.bar, borderRadius: 9 }} />
71
+ <div style={{ marginLeft: 'auto', width: 36, height: 36, borderRadius: 18, background: G.mid }} />
72
+ </div>
73
+
74
+ {[0, 1, 2].map((i) => {
75
+ const t = frame - STARTS[i];
76
+ const { y, s, lift } = cardMotion(t);
77
+ const x = left0 + i * (CARD_W + GAP);
78
+
79
+ // 独立接触阴影(不是 box-shadow):卡正下方椭圆径向渐变
80
+ const shScale = 1 + 0.72 * lift; // 1.0 → 1.72(对比再拉大)
81
+ const shOpacity = 0.55 - 0.37 * lift; // 0.55 → 0.18
82
+ const shW = CARD_W * 0.88;
83
+ const shH = 44;
84
+
85
+ return (
86
+ <React.Fragment key={i}>
87
+ <div
88
+ style={{
89
+ position: 'absolute',
90
+ left: x + (CARD_W - shW) / 2,
91
+ top: top + CARD_H - shH / 2 - 4,
92
+ width: shW,
93
+ height: shH,
94
+ borderRadius: '50%',
95
+ background: 'radial-gradient(ellipse at center, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.45) 42%, rgba(0,0,0,0) 72%)',
96
+ transform: `scale(${shScale})`,
97
+ opacity: shOpacity,
98
+ }}
99
+ />
100
+ <Card
101
+ w={CARD_W}
102
+ h={CARD_H}
103
+ seed={i + 2}
104
+ style={{
105
+ position: 'absolute',
106
+ left: x,
107
+ top,
108
+ boxShadow: 'none',
109
+ transform: `translateY(${y}px) scale(${s})`,
110
+ }}
111
+ />
112
+ </React.Fragment>
113
+ );
114
+ })}
115
+ </div>
116
+ );
117
+ };
@@ -0,0 +1,125 @@
1
+ // line-unfold-panel —— 一线展面(Jarvis/FUI 母题)
2
+ // 暗底。入场两拍:3px 细线从中点向两侧极快抽出(5f)→ 定宽后纵向
3
+ // 撑开成 Card 面板(9f,out 缓动)→ 内容延迟淡入。
4
+ // 静置展示后反向退场:压扁成线(7f)→ 线缩成点 → 熄灭,像老 CRT 关机。
5
+ // f0–12 空场静置;入场 f12–34;持面板至 f78;退场 f78–98;末静止 ≥42f(140f)。
6
+ import React from 'react';
7
+ import { useCurrentFrame, interpolate, Easing } from 'remotion';
8
+ import { G, Card } from '../_fixtures/Fixtures';
9
+
10
+ const PANEL_W = 760;
11
+ const PANEL_H = 460;
12
+ const CX = 960;
13
+ const CY = 540;
14
+
15
+ // —— 入场时间表 ——
16
+ const T0 = 12; // 点亮起点
17
+ const LINE_END = T0 + 5; // 线抽出完成 f17
18
+ const UNFOLD_END = LINE_END + 9; // 面板撑开完成 f26
19
+ const CONTENT_END = UNFOLD_END + 8; // 内容淡入完成 f34
20
+
21
+ // —— 退场时间表 ——
22
+ const OUT0 = 78; // 开始压扁
23
+ const COLLAPSE_END = OUT0 + 7; // 压成线 f85
24
+ const SHRINK_END = COLLAPSE_END + 6; // 线缩成点 f91
25
+ const OFF = SHRINK_END + 4; // 点熄灭 f95
26
+
27
+ const clamp = { extrapolateLeft: 'clamp' as const, extrapolateRight: 'clamp' as const };
28
+
29
+ export const LineUnfoldPanel: React.FC = () => {
30
+ const frame = useCurrentFrame();
31
+
32
+ // 入场:scaleX(线抽出)快进快停,入场后保持 1
33
+ const inSX = interpolate(frame, [T0, LINE_END], [0.004, 1], {
34
+ easing: Easing.out(Easing.poly(4)),
35
+ ...clamp,
36
+ });
37
+ // 入场:scaleY(纵向撑开),线阶段压在 3px
38
+ const inSY = interpolate(frame, [LINE_END, UNFOLD_END], [3 / PANEL_H, 1], {
39
+ easing: Easing.out(Easing.cubic),
40
+ ...clamp,
41
+ });
42
+ // 内容淡入(面板撑开过半才开始)
43
+ const contentOp = interpolate(frame, [UNFOLD_END - 3, CONTENT_END], [0, 1], {
44
+ easing: Easing.out(Easing.quad),
45
+ ...clamp,
46
+ });
47
+
48
+ // 退场:先压 Y 回线,再缩 X 回点
49
+ const outSY = interpolate(frame, [OUT0, COLLAPSE_END], [1, 3 / PANEL_H], {
50
+ easing: Easing.in(Easing.cubic),
51
+ ...clamp,
52
+ });
53
+ const outSX = interpolate(frame, [COLLAPSE_END, SHRINK_END], [1, 0.004], {
54
+ easing: Easing.in(Easing.poly(4)),
55
+ ...clamp,
56
+ });
57
+ // 内容在压扁前先撤
58
+ const contentOutOp = interpolate(frame, [OUT0 - 4, OUT0 + 2], [1, 0], clamp);
59
+
60
+ const sx = frame < OUT0 ? inSX : outSX;
61
+ const sy = frame < OUT0 ? inSY : outSY;
62
+
63
+ // 末点熄灭:opacity 快落。f >= OFF 后整个元素条件卸载 → 真静止
64
+ const dotOp = interpolate(frame, [SHRINK_END, OFF], [1, 0], {
65
+ easing: Easing.in(Easing.quad),
66
+ ...clamp,
67
+ });
68
+
69
+ const alive = frame >= T0 && frame < OFF;
70
+ // 面板阶段(sy 足够大)显示卡片内容;线/点阶段显示发光条
71
+ const isPanel = sy > 0.15;
72
+
73
+ return (
74
+ <div style={{ width: 1920, height: 1080, background: '#1c1c1b', overflow: 'hidden', position: 'relative' }}>
75
+ <div
76
+ style={{
77
+ position: 'absolute',
78
+ top: 120,
79
+ width: '100%',
80
+ textAlign: 'center',
81
+ fontFamily: 'Helvetica, Arial, sans-serif',
82
+ fontWeight: 800,
83
+ fontSize: 52,
84
+ color: G.mid,
85
+ letterSpacing: 2,
86
+ }}
87
+ >
88
+ LINE UNFOLD PANEL
89
+ </div>
90
+ {alive && (
91
+ <div
92
+ style={{
93
+ position: 'absolute',
94
+ left: CX - PANEL_W / 2,
95
+ top: CY - PANEL_H / 2,
96
+ width: PANEL_W,
97
+ height: PANEL_H,
98
+ transform: `scaleX(${sx}) scaleY(${sy})`,
99
+ transformOrigin: '50% 50%',
100
+ opacity: dotOp,
101
+ }}
102
+ >
103
+ {isPanel ? (
104
+ <>
105
+ <Card w={PANEL_W} h={PANEL_H} seed={3} style={{ border: `2px solid ${G.mid}`, boxShadow: '0 0 40px rgba(255,255,255,0.18)' }} />
106
+ {/* 内容层单独控 opacity:盖一层暗板模拟"内容未亮" */}
107
+ <div
108
+ style={{
109
+ position: 'absolute',
110
+ inset: 2,
111
+ borderRadius: 12,
112
+ background: G.card,
113
+ opacity: 1 - Math.min(contentOp, contentOutOp),
114
+ }}
115
+ />
116
+ </>
117
+ ) : (
118
+ // 线/点阶段:白色发光条填满整个盒(被 scale 压成线)
119
+ <div style={{ width: '100%', height: '100%', background: '#ffffff', boxShadow: '0 0 60px rgba(255,255,255,0.9)', borderRadius: 2 }} />
120
+ )}
121
+ </div>
122
+ )}
123
+ </div>
124
+ );
125
+ };