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,382 @@
1
+ // card-flock-tumble v5 —— 批次 14 按用户意见再改(承 v4):
2
+ // 用户意见(逐字):"首先三个页面不要加模糊效果;然后那个水波扩散一个
3
+ // 圆环就够,不是多个;但是效果你截图看看原片的样式,要一样"
4
+ // 落实:①三卡全程清晰——翻飞中段 motion blur、收束段 blur 全删;
5
+ // ②多圈同心水波删掉,只留一个环;③环样式对照原片密帧(12fps)重做:
6
+ // 原片是单个湍流烟雾环——边缘破碎起絮、环身明暗斑块交错、粉紫为主
7
+ // 顶部偏奶桃色、出现后减速外扩且全程缓慢长大、衰减极慢(片尾仍在,
8
+ // 弥散变淡而非熄灭)、中心无水面光。用 feTurbulence+位移贴图模拟。
9
+ import React from 'react';
10
+ import { AbsoluteFill, useCurrentFrame, interpolate, Easing } from 'remotion';
11
+
12
+ const mulberry32 = (a: number) => () => {
13
+ let t = (a += 0x6d2b79f5);
14
+ t = Math.imul(t ^ (t >>> 15), t | 1);
15
+ t ^= t + Math.imul(t ^ (t >>> 7), t | 61);
16
+ return ((t ^ (t >>> 14)) >>> 0) / 4294967296;
17
+ };
18
+
19
+ const FONT = '"Avenir Next", Futura, "Helvetica Neue", sans-serif';
20
+
21
+ // ---------- 时间轴(30fps / 130f) ----------
22
+ const WALL_UP = [6, 22] as const; // 墙亮起
23
+ const FLIGHT = [10, 54] as const; // 侧棱→翻飞→站定:一条连续样条
24
+ const CARD_OUT = [62, 72] as const; // 收束(快!10 帧向中心聚拢)
25
+ const RING_T0 = 70; // 波纹环自收束点扩散
26
+ const TEXT_T0 = 84; // STRONGER 出现
27
+
28
+ // ---------- 霓虹描边文字墙(S2:黄左→品红→紫→蓝右) ----------
29
+ const ROW_GRADS: [string, string][] = [
30
+ ['#ffe14d', '#5ad0ff'],
31
+ ['#ff5ad0', '#7d8bff'],
32
+ ['#ffb84d', '#b46bff'],
33
+ ];
34
+ const NeonWall: React.FC<{ frame: number }> = ({ frame }) => {
35
+ const up = interpolate(frame, [WALL_UP[0], WALL_UP[1]], [0.12, 1], {
36
+ extrapolateLeft: 'clamp',
37
+ extrapolateRight: 'clamp',
38
+ });
39
+ const out = interpolate(frame, [CARD_OUT[0], CARD_OUT[1] + 4], [1, 0], {
40
+ extrapolateLeft: 'clamp',
41
+ extrapolateRight: 'clamp',
42
+ });
43
+ const blurOut = interpolate(frame, [CARD_OUT[0], CARD_OUT[1] + 4], [0, 26], {
44
+ extrapolateLeft: 'clamp',
45
+ extrapolateRight: 'clamp',
46
+ });
47
+ if (out <= 0.01) return null;
48
+ const drift = frame * 2.0;
49
+ return (
50
+ <AbsoluteFill style={{ overflow: 'hidden', opacity: up * out, filter: `blur(${blurOut}px)` }}>
51
+ {Array.from({ length: 3 }).map((_, row) => {
52
+ const [cL, cR] = ROW_GRADS[row];
53
+ return (
54
+ <div
55
+ key={row}
56
+ style={{
57
+ position: 'absolute',
58
+ top: -140 + row * 380,
59
+ left: 0,
60
+ whiteSpace: 'nowrap',
61
+ fontFamily: FONT,
62
+ fontWeight: 800,
63
+ fontStyle: 'italic',
64
+ fontSize: 330,
65
+ letterSpacing: 6,
66
+ transform: `translateX(${(row % 2 === 0 ? -1 : 1) * drift - 600}px)`,
67
+ }}
68
+ >
69
+ {Array.from({ length: 4 }).map((_, i) => (
70
+ <span
71
+ key={i}
72
+ style={{
73
+ marginRight: 70,
74
+ color: 'transparent',
75
+ WebkitTextStroke: `4px ${i % 2 === 0 ? cL : cR}`,
76
+ filter: `drop-shadow(0 0 18px ${i % 2 === 0 ? cL : cR})`,
77
+ opacity: 0.6,
78
+ }}
79
+ >
80
+ FASTER
81
+ </span>
82
+ ))}
83
+ </div>
84
+ );
85
+ })}
86
+ <AbsoluteFill style={{ background: 'radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,0.72) 85%)' }} />
87
+ </AbsoluteFill>
88
+ );
89
+ };
90
+
91
+ // ---------- ClickUp 风格 UI 卡 ----------
92
+ const UiCard: React.FC<{ seed: number; title: string }> = ({ seed, title }) => (
93
+ <div
94
+ style={{
95
+ width: 560,
96
+ height: 400,
97
+ background: '#fbfbfc',
98
+ borderRadius: 14,
99
+ padding: 0,
100
+ boxSizing: 'border-box',
101
+ boxShadow: '0 0 60px rgba(190,140,255,0.3), 0 22px 60px rgba(0,0,0,0.55)',
102
+ display: 'flex',
103
+ overflow: 'hidden',
104
+ }}
105
+ >
106
+ <div style={{ width: 128, background: '#f3f3f6', padding: 14, display: 'flex', flexDirection: 'column', gap: 10 }}>
107
+ <div style={{ display: 'flex', alignItems: 'center', gap: 6 }}>
108
+ <div style={{ width: 14, height: 14, borderRadius: 4, background: 'linear-gradient(135deg,#7b68ee,#ff5ad0)' }} />
109
+ <div style={{ height: 8, width: 52, background: '#c9c9d2', borderRadius: 4 }} />
110
+ </div>
111
+ {Array.from({ length: 8 }).map((_, i) => (
112
+ <div key={i} style={{ height: 7, width: `${52 + ((i * 31 + seed * 17) % 42)}%`, background: '#d9d9df', borderRadius: 4 }} />
113
+ ))}
114
+ </div>
115
+ <div style={{ flex: 1, padding: 18, display: 'flex', flexDirection: 'column', gap: 10 }}>
116
+ <div style={{ fontFamily: FONT, fontWeight: 700, fontSize: 26, color: '#3a3a44' }}>{title}</div>
117
+ <div style={{ height: 10, width: '58%', background: '#ececf1', borderRadius: 5 }} />
118
+ {Array.from({ length: 6 }).map((_, i) => (
119
+ <div key={i} style={{ display: 'flex', gap: 8, alignItems: 'center' }}>
120
+ <div style={{ width: 11, height: 11, borderRadius: '50%', background: ['#7b68ee', '#ff5ad0', '#5ad0ff'][(i + seed) % 3], opacity: 0.7 }} />
121
+ <div style={{ height: 8, width: `${78 - ((i * 23 + seed * 29) % 40)}%`, background: '#e8e8ee', borderRadius: 4 }} />
122
+ </div>
123
+ ))}
124
+ <div style={{ marginTop: 'auto', display: 'flex', gap: 8 }}>
125
+ <div style={{ width: 74, height: 22, background: '#7b68ee', opacity: 0.75, borderRadius: 6 }} />
126
+ <div style={{ width: 46, height: 22, background: '#e4e4ea', borderRadius: 6 }} />
127
+ </div>
128
+ </div>
129
+ </div>
130
+ );
131
+
132
+ // ---------- 单个湍流烟雾环(对照原片密帧重做) ----------
133
+ // 原片形态:只有一个环;边缘破碎起絮(湍流位移)、环身明暗斑块交错;
134
+ // 粉紫为主、顶部奶桃色;出现后减速外扩且全程缓慢长大;衰减极慢——
135
+ // 片尾仍清晰可见(弥散变淡而非熄灭);中心无水面光、背景纯黑。
136
+ const SmokeRing: React.FC<{ frame: number }> = ({ frame }) => {
137
+ const t = frame - RING_T0;
138
+ if (t < 0) return null;
139
+ // 半径:小出现→减速外扩,之后仍缓慢长大(原片全程未停)
140
+ const grow = Easing.out(Easing.cubic)(Math.min(1, t / 52));
141
+ const R = 46 + 330 * grow + Math.max(0, t - 52) * 1.6;
142
+ // 衰减极慢:快速浮现后长期驻留,只轻微变淡弥散
143
+ const op = interpolate(t, [0, 5, 30, 60], [0, 1, 0.92, 0.72], { extrapolateRight: 'clamp' });
144
+ // 环身宽度:随半径同步长大,相对占比略微摊薄(早期 ~R/3)
145
+ const w = R * interpolate(t, [0, 52], [0.36, 0.27], { extrapolateRight: 'clamp' });
146
+ // 湍流位移幅度随环长大而放大(絮块尺寸跟环成比例)
147
+ const disp = 60 + grow * 90;
148
+ const rot = t * 0.35; // 纹理缓慢流动感
149
+ return (
150
+ <AbsoluteFill style={{ justifyContent: 'center', alignItems: 'center' }}>
151
+ <svg width={1920} height={1080} viewBox="0 0 1920 1080" style={{ position: 'absolute', inset: 0, overflow: 'visible' }}>
152
+ <defs>
153
+ {/* 破碎絮状边缘:分形噪声位移主体(octaves=4 → 更细的絮丝) */}
154
+ <filter id="smokeA" x="-60%" y="-60%" width="220%" height="220%">
155
+ <feTurbulence type="fractalNoise" baseFrequency="0.013 0.016" numOctaves={4} seed={11} result="n" />
156
+ <feDisplacementMap in="SourceGraphic" in2="n" scale={disp} xChannelSelector="R" yChannelSelector="G" />
157
+ </filter>
158
+ {/* 第二组噪声(不同种子):亮斑错位层 */}
159
+ <filter id="smokeB" x="-60%" y="-60%" width="220%" height="220%">
160
+ <feTurbulence type="fractalNoise" baseFrequency="0.021 0.018" numOctaves={4} seed={37} result="n" />
161
+ <feDisplacementMap in="SourceGraphic" in2="n" scale={disp * 0.85} xChannelSelector="R" yChannelSelector="G" />
162
+ </filter>
163
+ {/* 第三组噪声:暗斑洞隙层(压出环身明暗交错的黑斑) */}
164
+ <filter id="smokeC" x="-60%" y="-60%" width="220%" height="220%">
165
+ <feTurbulence type="fractalNoise" baseFrequency="0.019 0.023" numOctaves={3} seed={73} result="n" />
166
+ <feDisplacementMap in="SourceGraphic" in2="n" scale={disp * 1.1} xChannelSelector="R" yChannelSelector="G" />
167
+ </filter>
168
+ {/* 顶部奶桃色、下部粉紫的环身渐变(降饱和,对照原片灰粉调) */}
169
+ <linearGradient id="ringGrad" x1="0" y1="0" x2="0" y2="1">
170
+ <stop offset="0%" stopColor="hsla(28 45% 78% / 0.85)" />
171
+ <stop offset="35%" stopColor="hsla(315 45% 74% / 0.85)" />
172
+ <stop offset="100%" stopColor="hsla(276 42% 66% / 0.85)" />
173
+ </linearGradient>
174
+ </defs>
175
+ <g transform={`rotate(${rot} 960 540)`} opacity={op}>
176
+ {/* 外圈弥散柔光 */}
177
+ <g style={{ filter: 'url(#smokeA)' }}>
178
+ <circle cx={960} cy={540} r={R} fill="none" stroke="hsla(295 40% 68% / 0.26)" strokeWidth={w * 1.9} style={{ filter: 'blur(22px)' }} />
179
+ </g>
180
+ {/* 环身主体(湍流位移 → 破碎絮状边缘;blur 收小保留湍流纹理) */}
181
+ <g style={{ filter: 'url(#smokeA)' }}>
182
+ <circle cx={960} cy={540} r={R} fill="none" stroke="url(#ringGrad)" strokeWidth={w} style={{ filter: 'blur(9px)' }} opacity={0.85} />
183
+ </g>
184
+ {/* 亮斑层:另一组噪声错位叠加 */}
185
+ <g style={{ filter: 'url(#smokeB)' }}>
186
+ <circle cx={960} cy={540} r={R * 0.99} fill="none" stroke="hsla(310 60% 86% / 0.6)" strokeWidth={w * 0.45} style={{ filter: 'blur(6px)' }} />
187
+ </g>
188
+ {/* 暗斑洞隙:第三组噪声轻压环身 → 明暗斑块交错(轻微,勿成迷彩) */}
189
+ <g style={{ filter: 'url(#smokeC)' }}>
190
+ <circle cx={960} cy={540} r={R * 1.005} fill="none" stroke="hsla(262 40% 10% / 0.32)" strokeWidth={w * 0.4} style={{ filter: 'blur(7px)' }} />
191
+ </g>
192
+ </g>
193
+ </svg>
194
+ </AbsoluteFill>
195
+ );
196
+ };
197
+
198
+ // ---------- 卡片位姿:Catmull-Rom 样条连续插值(真 3D 丝滑转动) ----------
199
+ type Pose = { x: number; y: number; rx: number; ry: number; rz: number; s: number };
200
+ const POSE_KEYS: (keyof Pose)[] = ['x', 'y', 'rx', 'ry', 'rz', 's'];
201
+
202
+ // Catmull-Rom(端点重复),保证经过所有关键姿态且导数连续 → 无分段突变
203
+ const catmull = (p0: number, p1: number, p2: number, p3: number, t: number): number => {
204
+ const t2 = t * t;
205
+ const t3 = t2 * t;
206
+ return (
207
+ 0.5 *
208
+ (2 * p1 +
209
+ (-p0 + p2) * t +
210
+ (2 * p0 - 5 * p1 + 4 * p2 - p3) * t2 +
211
+ (-p0 + 3 * p1 - 3 * p2 + p3) * t3)
212
+ );
213
+ };
214
+ const splinePose = (keys: Pose[], u: number): Pose => {
215
+ // keys.length === 3:两段样条,0.55 处过中间关键帧
216
+ const seg = u < 0.55 ? 0 : 1;
217
+ const lt = seg === 0 ? u / 0.55 : (u - 0.55) / 0.45;
218
+ const out = {} as Pose;
219
+ for (const k of POSE_KEYS) {
220
+ const v0 = keys[Math.max(0, seg - 1)][k];
221
+ const v1 = keys[seg][k];
222
+ const v2 = keys[seg + 1][k];
223
+ const v3 = keys[Math.min(2, seg + 2)][k];
224
+ out[k] = catmull(v0, v1, v2, v3, lt);
225
+ }
226
+ return out;
227
+ };
228
+
229
+ // 三卡(v4 再加码):间距再收紧(±125/±85 级,三卡大幅重叠成一叠阶梯)
230
+ // + 站定再放大(s≈1.5-1.6,对齐截图 3/4 里卡片群占满画面中部)
231
+ // k0 侧棱(近 90° 薄边)→ k1 翻飞中段 → k2 阶梯站定
232
+ const CARDS: { title: string; k: [Pose, Pose, Pose]; conv: Pose }[] = [
233
+ {
234
+ title: 'Inbox',
235
+ k: [
236
+ { x: -8, y: -16, rx: 9, ry: 88, rz: 12, s: 1.05 },
237
+ { x: -135, y: -92, rx: 16, ry: 44, rz: -8, s: 1.38 },
238
+ { x: -108, y: -76, rx: 4, ry: 13, rz: -2, s: 1.62 },
239
+ ],
240
+ conv: { x: -20, y: -12, rx: 0, ry: 55, rz: 4, s: 0.12 },
241
+ },
242
+ {
243
+ title: 'List view',
244
+ k: [
245
+ { x: 0, y: 0, rx: 8, ry: 89, rz: 12, s: 1.0 },
246
+ { x: -16, y: -7, rx: 13, ry: 38, rz: -7, s: 1.42 },
247
+ { x: -5, y: -2, rx: 3, ry: 11, rz: -2, s: 1.68 },
248
+ ],
249
+ conv: { x: 0, y: 0, rx: 0, ry: 60, rz: 4, s: 0.12 },
250
+ },
251
+ {
252
+ title: 'Home',
253
+ k: [
254
+ { x: 8, y: 16, rx: 7, ry: 90, rz: 12, s: 0.95 },
255
+ { x: 112, y: 78, rx: 11, ry: 34, rz: -6, s: 1.46 },
256
+ { x: 90, y: 70, rx: 2, ry: 9, rz: -1, s: 1.74 },
257
+ ],
258
+ conv: { x: 15, y: 10, rx: 0, ry: 65, rz: 4, s: 0.12 },
259
+ },
260
+ ];
261
+ const lerpPose = (a: Pose, b: Pose, t: number): Pose => {
262
+ const out = {} as Pose;
263
+ for (const k of POSE_KEYS) out[k] = a[k] + (b[k] - a[k]) * t;
264
+ return out;
265
+ };
266
+
267
+ export const CardFlockTumble: React.FC = () => {
268
+ const frame = useCurrentFrame();
269
+
270
+ // STRONGER 巨字
271
+ const st = frame - TEXT_T0;
272
+ const textScale = interpolate(st, [0, 34], [0.6, 1.0], {
273
+ extrapolateLeft: 'clamp',
274
+ extrapolateRight: 'clamp',
275
+ easing: Easing.out(Easing.cubic),
276
+ });
277
+ const textOpacity = interpolate(st, [0, 12, 34], [0, 0.8, 1], {
278
+ extrapolateLeft: 'clamp',
279
+ extrapolateRight: 'clamp',
280
+ });
281
+
282
+ return (
283
+ <AbsoluteFill style={{ background: '#060509' }}>
284
+ <NeonWall frame={frame} />
285
+
286
+ {/* 卡片群 */}
287
+ {frame < CARD_OUT[1] + 2 && (
288
+ <AbsoluteFill style={{ justifyContent: 'center', alignItems: 'center', perspective: 1400 }}>
289
+ {CARDS.map((c, i) => {
290
+ let pose: Pose;
291
+ let op = 1;
292
+ // v6(批次 15):用户意见"三个页面收缩之前不要停住,保持旋转
293
+ // (只不过旋转放慢"——站定后到收缩前 idle 慢转(低角速度连续
294
+ // 漂移,平方缓入避免与样条衔接处顿挫),收缩从漂移后姿态出发
295
+ const idleAt = (f: number) => {
296
+ const t = Math.min(f, CARD_OUT[0]) - FLIGHT[1] * 0.86;
297
+ if (t <= 0) return { ry: 0, rx: 0, rz: 0 };
298
+ const ramp = Math.min(1, t / 14) ** 2;
299
+ return { ry: t * 0.34 * ramp, rx: t * -0.1 * ramp, rz: t * 0.05 * ramp };
300
+ };
301
+ const drift = idleAt(frame);
302
+ if (frame < FLIGHT[0]) {
303
+ pose = c.k[0];
304
+ } else if (frame < CARD_OUT[0]) {
305
+ // 全程一条样条:侧棱→翻飞→站定,导数连续,丝滑 3D 转动
306
+ // (用户意见①:页面全程清晰,翻飞段 motion blur 已删)
307
+ const raw = Math.min(1, (frame - FLIGHT[0]) / (FLIGHT[1] - FLIGHT[0]));
308
+ const u = Easing.out(Easing.cubic)(raw);
309
+ pose = splinePose(c.k, u);
310
+ pose = { ...pose, ry: pose.ry + drift.ry, rx: pose.rx + drift.rx, rz: pose.rz + drift.rz };
311
+ } else {
312
+ // 收束:快!10 帧加速向中心聚拢缩小(收束段 blur 也删,全程清晰);
313
+ // 透明度前 60% 保持满格,让"吸入中心"的运动清晰可读
314
+ const r = Math.min(1, (frame - CARD_OUT[0]) / (CARD_OUT[1] - CARD_OUT[0]));
315
+ const e = Easing.in(Easing.quad)(r);
316
+ const from = { ...c.k[2], ry: c.k[2].ry + drift.ry, rx: c.k[2].rx + drift.rx, rz: c.k[2].rz + drift.rz };
317
+ pose = lerpPose(from, c.conv, e);
318
+ op = 1 - Easing.in(Easing.cubic)(Math.max(0, (r - 0.55) / 0.45));
319
+ }
320
+ return (
321
+ <div
322
+ key={i}
323
+ style={{
324
+ position: 'absolute',
325
+ transform: `translate3d(${pose.x}px, ${pose.y}px, 0) rotateX(${pose.rx}deg) rotateY(${pose.ry}deg) rotateZ(${pose.rz}deg) scale(${pose.s})`,
326
+ opacity: op,
327
+ zIndex: 10 + i,
328
+ }}
329
+ >
330
+ <UiCard seed={i} title={c.title} />
331
+ </div>
332
+ );
333
+ })}
334
+ </AbsoluteFill>
335
+ )}
336
+
337
+ {/* 单个湍流烟雾环(对照原片密帧样式) */}
338
+ <SmokeRing frame={frame} />
339
+
340
+ {/* STRONGER 巨字横贯全屏(S6) */}
341
+ {st >= 0 && (
342
+ <AbsoluteFill style={{ justifyContent: 'center', alignItems: 'center' }}>
343
+ <svg
344
+ width={1920}
345
+ height={560}
346
+ viewBox="0 0 1920 560"
347
+ style={{
348
+ transform: `scale(${textScale})`,
349
+ opacity: textOpacity,
350
+ filter: 'drop-shadow(0 0 26px rgba(190,110,255,0.55))',
351
+ overflow: 'visible',
352
+ }}
353
+ >
354
+ <defs>
355
+ <linearGradient id="strokeGrad" x1="0" y1="0" x2="1" y2="0">
356
+ <stop offset="0%" stopColor="#ffe14d" />
357
+ <stop offset="30%" stopColor="#ff5ad0" />
358
+ <stop offset="60%" stopColor="#b46bff" />
359
+ <stop offset="100%" stopColor="#5ad0ff" />
360
+ </linearGradient>
361
+ </defs>
362
+ <text
363
+ x="960"
364
+ y="360"
365
+ textAnchor="middle"
366
+ fontFamily={FONT}
367
+ fontWeight={800}
368
+ fontStyle="italic"
369
+ fontSize={352}
370
+ letterSpacing={2}
371
+ fill="none"
372
+ stroke="url(#strokeGrad)"
373
+ strokeWidth={4.5}
374
+ >
375
+ STRONGER
376
+ </text>
377
+ </svg>
378
+ </AbsoluteFill>
379
+ )}
380
+ </AbsoluteFill>
381
+ );
382
+ };
@@ -0,0 +1,111 @@
1
+ // 底色闪砸字(cel-flash-stomp)——stomp-typography 逐词节拍砸字 ×
2
+ // background-cel-flash 纯色底闪的组合变异。三个大词逐拍硬切占满屏,
3
+ // 每词像图章一样歪着砸落(scale 1.18→0.98→1 弹落 + 交替 ±2.5° rotate);
4
+ // 词落定帧起背景层每 2f 在 G.bg 与加深灰之间闪切——文字层独立在上纹丝
5
+ // 不动,只闪背景是本组合命门(动漫必杀技字卡感)。第三词闪加倍且对比拉大。
6
+ // 关键帧:0 "SHIP" 硬切入(rot+2.5°) → 0–6 弹落 → 6–11 背景闪(#cfcfca, 2f 交替×6f)
7
+ // → 30 "FASTER" 硬切(rot−2.5°) → 30–36 弹落 → 36–41 背景闪
8
+ // → 60 "TODAY" 硬切(rot 0°) → 60–66 弹落 → 66–73 背景闪加倍(8f, #c4c4c0)
9
+ // + 66–80 底部标签条淡入 → 80–144 全静止(≥45f, 无逐帧噪声层)。
10
+ import React from 'react';
11
+ import { useCurrentFrame, interpolate, Easing } from 'remotion';
12
+ import { G, TitleBlock } from '../_fixtures/Fixtures';
13
+
14
+ type Word = {
15
+ text: string;
16
+ start: number; // 硬切入场帧
17
+ end: number; // 显示到此帧前(下一词硬切)
18
+ rot: number; // 图章歪斜角
19
+ flashLen: number; // 落定后背景闪总帧数
20
+ flashDark: string; // 闪切的加深灰
21
+ };
22
+
23
+ const LAND = 6; // 入场弹落时长:start+6 落定,同帧起闪
24
+ const WORDS: Word[] = [
25
+ { text: 'SHIP', start: 0, end: 30, rot: 2.5, flashLen: 6, flashDark: '#cfcfca' },
26
+ { text: 'FASTER', start: 30, end: 60, rot: -2.5, flashLen: 6, flashDark: '#cfcfca' },
27
+ { text: 'TODAY', start: 60, end: 9999, rot: 0, flashLen: 8, flashDark: '#c4c4c0' },
28
+ ];
29
+
30
+ export const CelFlashStomp: React.FC = () => {
31
+ const frame = useCurrentFrame();
32
+ const word = WORDS.find((w) => frame >= w.start && frame < w.end)!;
33
+ const t = frame - word.start;
34
+
35
+ // 弹落:scale 1.18 → 0.98(2% 过冲) → 1,6f 内完成,poly(5) 出缓
36
+ const scale =
37
+ t < 4
38
+ ? interpolate(t, [0, 4], [1.18, 0.98], {
39
+ extrapolateRight: 'clamp',
40
+ easing: Easing.out(Easing.poly(5)),
41
+ })
42
+ : interpolate(t, [4, LAND], [0.98, 1], {
43
+ extrapolateLeft: 'clamp',
44
+ extrapolateRight: 'clamp',
45
+ easing: Easing.out(Easing.quad),
46
+ });
47
+
48
+ // 背景闪:落定帧(start+LAND)起,每 2f 在加深灰与 G.bg 间交替,共 flashLen 帧
49
+ const ft = t - LAND;
50
+ const flashing = ft >= 0 && ft < word.flashLen;
51
+ const bg = flashing && Math.floor(ft / 2) % 2 === 0 ? word.flashDark : G.bg;
52
+
53
+ // 第三词落定同帧起底部标签条淡入(66–80)
54
+ const labelOp = interpolate(frame, [66, 80], [0, 1], {
55
+ extrapolateLeft: 'clamp',
56
+ extrapolateRight: 'clamp',
57
+ easing: Easing.out(Easing.quad),
58
+ });
59
+
60
+ return (
61
+ <div style={{ width: 1920, height: 1080, background: bg, position: 'relative', overflow: 'hidden' }}>
62
+ <div style={{ position: 'absolute', left: 120, top: 96 }}>
63
+ <TitleBlock text="CEL FLASH STOMP" size={54} />
64
+ </div>
65
+ {/* 文字层独立在背景之上:背景闪切时它纹丝不动 */}
66
+ <div
67
+ style={{
68
+ position: 'absolute',
69
+ inset: 0,
70
+ display: 'flex',
71
+ alignItems: 'center',
72
+ justifyContent: 'center',
73
+ }}
74
+ >
75
+ <div
76
+ style={{
77
+ fontFamily: 'Helvetica, Arial, sans-serif',
78
+ fontWeight: 800,
79
+ fontSize: 210,
80
+ color: G.ink,
81
+ letterSpacing: -4,
82
+ transform: `scale(${scale}) rotate(${word.rot}deg)`,
83
+ }}
84
+ >
85
+ {word.text}
86
+ </div>
87
+ </div>
88
+ {/* 底部标签条:第三词落定同帧淡入 */}
89
+ <div
90
+ style={{
91
+ position: 'absolute',
92
+ left: 0,
93
+ right: 0,
94
+ bottom: 0,
95
+ height: 96,
96
+ background: G.ink,
97
+ opacity: labelOp,
98
+ display: 'flex',
99
+ alignItems: 'center',
100
+ gap: 20,
101
+ padding: '0 120px',
102
+ boxSizing: 'border-box',
103
+ }}
104
+ >
105
+ <div style={{ width: 40, height: 40, borderRadius: 10, background: G.sideBar }} />
106
+ <div style={{ height: 16, width: 320, background: G.mid, borderRadius: 8 }} />
107
+ <div style={{ marginLeft: 'auto', height: 16, width: 180, background: G.sideBar, borderRadius: 8 }} />
108
+ </div>
109
+ </div>
110
+ );
111
+ };