hyper-animator-codex 0.7.0 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (321) hide show
  1. package/README.md +67 -7
  2. package/bin/hyper-animator-codex.mjs +31 -9
  3. package/bin/postinstall.mjs +19 -0
  4. package/lib/install-options.mjs +3 -0
  5. package/lib/install-skill.mjs +84 -2
  6. package/lib/minimax-config.mjs +3 -3
  7. package/package.json +3 -2
  8. package/skills/hyper-animator-codex/SKILL.md +58 -20
  9. package/skills/hyper-animator-codex/agents/openai.yaml +2 -2
  10. package/skills/hyper-animator-codex/contracts/shot-plan.schema.json +214 -0
  11. package/skills/hyper-animator-codex/contracts/workflow-policy.json +85 -0
  12. package/skills/hyper-animator-codex/references/HyperFrames-AI-Generation-Patterns-codex.md +788 -0
  13. package/skills/hyper-animator-codex/references/beat-sync-workflow.md +7 -0
  14. package/skills/hyper-animator-codex/references/examples/shot-plan-dual-catalog.json +69 -0
  15. package/skills/hyper-animator-codex/references/hyperframes-agent-pseudocode.ts +1 -1
  16. package/skills/hyper-animator-codex/references/hyperframes-catalog-map.json +97 -230
  17. package/skills/hyper-animator-codex/references/hyperframes-intent-workflow.md +23 -7
  18. package/skills/hyper-animator-codex/references/minimax-music-workflow.md +24 -4
  19. package/skills/hyper-animator-codex/references/narration-audio-workflow.md +31 -1
  20. package/skills/hyper-animator-codex/references/shotcraft/LICENSE +202 -0
  21. package/skills/hyper-animator-codex/references/shotcraft/cards/ai-stream-response/README.md +46 -0
  22. package/skills/hyper-animator-codex/references/shotcraft/cards/autolayout-gap-dial/README.md +53 -0
  23. package/skills/hyper-animator-codex/references/shotcraft/cards/beat-cut-moves/README.md +54 -0
  24. package/skills/hyper-animator-codex/references/shotcraft/cards/beat-step-list-theme-cycle/README.md +59 -0
  25. package/skills/hyper-animator-codex/references/shotcraft/cards/before-after-slider-scrub/README.md +47 -0
  26. package/skills/hyper-animator-codex/references/shotcraft/cards/bottom-push-stack-wipe/README.md +58 -0
  27. package/skills/hyper-animator-codex/references/shotcraft/cards/brand-frame-snap/README.md +51 -0
  28. package/skills/hyper-animator-codex/references/shotcraft/cards/brand-ink-open/README.md +35 -0
  29. package/skills/hyper-animator-codex/references/shotcraft/cards/bubble-swarm-takeover/README.md +62 -0
  30. package/skills/hyper-animator-codex/references/shotcraft/cards/canvas-materialize-moves/README.md +55 -0
  31. package/skills/hyper-animator-codex/references/shotcraft/cards/card-flip-reveal/README.md +50 -0
  32. package/skills/hyper-animator-codex/references/shotcraft/cards/card-flock-tumble/README.md +54 -0
  33. package/skills/hyper-animator-codex/references/shotcraft/cards/cel-flash-stomp/README.md +54 -0
  34. package/skills/hyper-animator-codex/references/shotcraft/cards/chart-live-moves/README.md +51 -0
  35. package/skills/hyper-animator-codex/references/shotcraft/cards/circle-match-iris/README.md +53 -0
  36. package/skills/hyper-animator-codex/references/shotcraft/cards/cloner-depth-echo/README.md +38 -0
  37. package/skills/hyper-animator-codex/references/shotcraft/cards/collab-cursor-moves/README.md +48 -0
  38. package/skills/hyper-animator-codex/references/shotcraft/cards/color-block-step-wipe/README.md +54 -0
  39. package/skills/hyper-animator-codex/references/shotcraft/cards/command-palette-summon/README.md +45 -0
  40. package/skills/hyper-animator-codex/references/shotcraft/cards/crane-rise-reveal/README.md +47 -0
  41. package/skills/hyper-animator-codex/references/shotcraft/cards/crash-zoom-punch/README.md +38 -0
  42. package/skills/hyper-animator-codex/references/shotcraft/cards/dataviz-landscape-open/README.md +54 -0
  43. package/skills/hyper-animator-codex/references/shotcraft/cards/deck-deal-flyin/README.md +45 -0
  44. package/skills/hyper-animator-codex/references/shotcraft/cards/depth-layer-moves/README.md +40 -0
  45. package/skills/hyper-animator-codex/references/shotcraft/cards/document-typewriter-reveal/README.md +40 -0
  46. package/skills/hyper-animator-codex/references/shotcraft/cards/draw-svg-trace/README.md +50 -0
  47. package/skills/hyper-animator-codex/references/shotcraft/cards/edit-hook-moves/README.md +38 -0
  48. package/skills/hyper-animator-codex/references/shotcraft/cards/element-body-moves/README.md +49 -0
  49. package/skills/hyper-animator-codex/references/shotcraft/cards/fui-hud-moves/README.md +44 -0
  50. package/skills/hyper-animator-codex/references/shotcraft/cards/gauge-readout-moves/README.md +45 -0
  51. package/skills/hyper-animator-codex/references/shotcraft/cards/glow-flyline-moves/README.md +51 -0
  52. package/skills/hyper-animator-codex/references/shotcraft/cards/gradient-word-sweep/README.md +49 -0
  53. package/skills/hyper-animator-codex/references/shotcraft/cards/graze-face-tour/README.md +56 -0
  54. package/skills/hyper-animator-codex/references/shotcraft/cards/hashtag-to-pill-materialize/README.md +57 -0
  55. package/skills/hyper-animator-codex/references/shotcraft/cards/hires-rasterize-3d-text/README.md +34 -0
  56. package/skills/hyper-animator-codex/references/shotcraft/cards/icon-field-colorize/README.md +53 -0
  57. package/skills/hyper-animator-codex/references/shotcraft/cards/icon-performance-moves/README.md +46 -0
  58. package/skills/hyper-animator-codex/references/shotcraft/cards/impact-feedback/README.md +50 -0
  59. package/skills/hyper-animator-codex/references/shotcraft/cards/input-trigger-moves/README.md +49 -0
  60. package/skills/hyper-animator-codex/references/shotcraft/cards/integration-hub-map/README.md +54 -0
  61. package/skills/hyper-animator-codex/references/shotcraft/cards/letterspace-materialize/README.md +52 -0
  62. package/skills/hyper-animator-codex/references/shotcraft/cards/light-play-moves/README.md +49 -0
  63. package/skills/hyper-animator-codex/references/shotcraft/cards/line-boil/README.md +52 -0
  64. package/skills/hyper-animator-codex/references/shotcraft/cards/line-carry-transition/README.md +52 -0
  65. package/skills/hyper-animator-codex/references/shotcraft/cards/list-stack-press/README.md +43 -0
  66. package/skills/hyper-animator-codex/references/shotcraft/cards/magician-card-flourish/README.md +63 -0
  67. package/skills/hyper-animator-codex/references/shotcraft/cards/marker-underline-title/README.md +48 -0
  68. package/skills/hyper-animator-codex/references/shotcraft/cards/montage-rhythm-moves/README.md +55 -0
  69. package/skills/hyper-animator-codex/references/shotcraft/cards/morph-from-primitive/README.md +51 -0
  70. package/skills/hyper-animator-codex/references/shotcraft/cards/neon-frame-forerun/README.md +50 -0
  71. package/skills/hyper-animator-codex/references/shotcraft/cards/neon-frame-orbit-drop/README.md +50 -0
  72. package/skills/hyper-animator-codex/references/shotcraft/cards/neon-triple-marquee/README.md +55 -0
  73. package/skills/hyper-animator-codex/references/shotcraft/cards/odometer-digit-roll/README.md +54 -0
  74. package/skills/hyper-animator-codex/references/shotcraft/cards/outro-group-photo-launch/README.md +39 -0
  75. package/skills/hyper-animator-codex/references/shotcraft/cards/overhead-camera-moves/README.md +50 -0
  76. package/skills/hyper-animator-codex/references/shotcraft/cards/page-turn-transitions/README.md +48 -0
  77. package/skills/hyper-animator-codex/references/shotcraft/cards/page-waterfall-wall/README.md +52 -0
  78. package/skills/hyper-animator-codex/references/shotcraft/cards/panel-grid-moves/README.md +52 -0
  79. package/skills/hyper-animator-codex/references/shotcraft/cards/paper-craft-moves/README.md +46 -0
  80. package/skills/hyper-animator-codex/references/shotcraft/cards/paper-plane-messenger/README.md +62 -0
  81. package/skills/hyper-animator-codex/references/shotcraft/cards/paper-title-card/README.md +36 -0
  82. package/skills/hyper-animator-codex/references/shotcraft/cards/particle-celebrate-hits/README.md +42 -0
  83. package/skills/hyper-animator-codex/references/shotcraft/cards/particle-sand-fill/README.md +39 -0
  84. package/skills/hyper-animator-codex/references/shotcraft/cards/pill-slot-cycle/README.md +57 -0
  85. package/skills/hyper-animator-codex/references/shotcraft/cards/print-texture-transitions/README.md +40 -0
  86. package/skills/hyper-animator-codex/references/shotcraft/cards/rhythm-interrupt-moves/README.md +44 -0
  87. package/skills/hyper-animator-codex/references/shotcraft/cards/riso-print-hits/README.md +54 -0
  88. package/skills/hyper-animator-codex/references/shotcraft/cards/row-embed/README.md +36 -0
  89. package/skills/hyper-animator-codex/references/shotcraft/cards/runway-ground-skim/README.md +52 -0
  90. package/skills/hyper-animator-codex/references/shotcraft/cards/sakuga-timing-shift/README.md +50 -0
  91. package/skills/hyper-animator-codex/references/shotcraft/cards/scene-locked-title/README.md +43 -0
  92. package/skills/hyper-animator-codex/references/shotcraft/cards/scroll-brake-moves/README.md +45 -0
  93. package/skills/hyper-animator-codex/references/shotcraft/cards/segmented-thumb-hero/README.md +57 -0
  94. package/skills/hyper-animator-codex/references/shotcraft/cards/shot-transitions/README.md +60 -0
  95. package/skills/hyper-animator-codex/references/shotcraft/cards/skeleton-reveal/README.md +54 -0
  96. package/skills/hyper-animator-codex/references/shotcraft/cards/slam-entrance-moves/README.md +53 -0
  97. package/skills/hyper-animator-codex/references/shotcraft/cards/smear-multiples/README.md +49 -0
  98. package/skills/hyper-animator-codex/references/shotcraft/cards/space-camera-moves/README.md +53 -0
  99. package/skills/hyper-animator-codex/references/shotcraft/cards/spectrum-morph-ui/README.md +50 -0
  100. package/skills/hyper-animator-codex/references/shotcraft/cards/speed-ramp-freeze/README.md +42 -0
  101. package/skills/hyper-animator-codex/references/shotcraft/cards/split-flap-title/README.md +52 -0
  102. package/skills/hyper-animator-codex/references/shotcraft/cards/spotlight-hero-card/README.md +39 -0
  103. package/skills/hyper-animator-codex/references/shotcraft/cards/spotlight-sweep-moves/README.md +51 -0
  104. package/skills/hyper-animator-codex/references/shotcraft/cards/steep-tilt-glide/README.md +53 -0
  105. package/skills/hyper-animator-codex/references/shotcraft/cards/stroke-segment-build/README.md +43 -0
  106. package/skills/hyper-animator-codex/references/shotcraft/cards/tear-streak-transitions/README.md +43 -0
  107. package/skills/hyper-animator-codex/references/shotcraft/cards/tension-camera-moves/README.md +55 -0
  108. package/skills/hyper-animator-codex/references/shotcraft/cards/text-as-mask/README.md +50 -0
  109. package/skills/hyper-animator-codex/references/shotcraft/cards/text-column-converge/README.md +55 -0
  110. package/skills/hyper-animator-codex/references/shotcraft/cards/theme-switch-moves/README.md +44 -0
  111. package/skills/hyper-animator-codex/references/shotcraft/cards/timeline-travel/README.md +43 -0
  112. package/skills/hyper-animator-codex/references/shotcraft/cards/title-demote-to-label/README.md +58 -0
  113. package/skills/hyper-animator-codex/references/shotcraft/cards/trailer-grammar-moves/README.md +51 -0
  114. package/skills/hyper-animator-codex/references/shotcraft/cards/transition-hidden-cut/README.md +52 -0
  115. package/skills/hyper-animator-codex/references/shotcraft/cards/transition-travel/README.md +48 -0
  116. package/skills/hyper-animator-codex/references/shotcraft/cards/type-and-filter/README.md +37 -0
  117. package/skills/hyper-animator-codex/references/shotcraft/cards/type-assembly-moves/README.md +50 -0
  118. package/skills/hyper-animator-codex/references/shotcraft/cards/type-entrance-moves/README.md +46 -0
  119. package/skills/hyper-animator-codex/references/shotcraft/cards/type-rhythm-sync/README.md +47 -0
  120. package/skills/hyper-animator-codex/references/shotcraft/cards/typewriter-moves/README.md +50 -0
  121. package/skills/hyper-animator-codex/references/shotcraft/cards/ui-strip-away-outro/README.md +63 -0
  122. package/skills/hyper-animator-codex/references/shotcraft/cards/ui-to-brand-morph/README.md +52 -0
  123. package/skills/hyper-animator-codex/references/shotcraft/cards/voice-waveform-live/README.md +52 -0
  124. package/skills/hyper-animator-codex/references/shotcraft/cards/wall-reveal-moves/README.md +53 -0
  125. package/skills/hyper-animator-codex/references/shotcraft/cards/wipe-transitions/README.md +47 -0
  126. package/skills/hyper-animator-codex/references/shotcraft/cards/word-relay-filmstrip/README.md +50 -0
  127. package/skills/hyper-animator-codex/references/shotcraft/catalog.json +3946 -0
  128. package/skills/hyper-animator-codex/references/shotcraft/references/aesthetic-rules.md +157 -0
  129. package/skills/hyper-animator-codex/references/shotcraft/references/final-review.md +107 -0
  130. package/skills/hyper-animator-codex/references/shotcraft/references/guided-free-creation.md +197 -0
  131. package/skills/hyper-animator-codex/references/shotcraft/references/music-beat-sync.md +125 -0
  132. package/skills/hyper-animator-codex/references/shotcraft/references/pipeline.md +357 -0
  133. package/skills/hyper-animator-codex/references/shotcraft/references/sound-design.md +126 -0
  134. package/skills/hyper-animator-codex/references/shotcraft/source/assets/lib/Caption.tsx +50 -0
  135. package/skills/hyper-animator-codex/references/shotcraft/source/assets/lib/DigitRoll.tsx +45 -0
  136. package/skills/hyper-animator-codex/references/shotcraft/source/assets/lib/FlashCut.tsx +20 -0
  137. package/skills/hyper-animator-codex/references/shotcraft/source/assets/lib/FlatPanel.tsx +65 -0
  138. package/skills/hyper-animator-codex/references/shotcraft/source/assets/lib/PageCam.tsx +151 -0
  139. package/skills/hyper-animator-codex/references/shotcraft/source/assets/lib/VerticalTicker.tsx +129 -0
  140. package/skills/hyper-animator-codex/references/shotcraft/source/assets/lib/helpers/camera.tsx +75 -0
  141. package/skills/hyper-animator-codex/references/shotcraft/source/assets/lib/helpers/motion.ts +40 -0
  142. package/skills/hyper-animator-codex/references/shotcraft/source/assets/lib/helpers/rand.ts +11 -0
  143. package/skills/hyper-animator-codex/references/shotcraft/source/assets/lib/helpers/shake.ts +10 -0
  144. package/skills/hyper-animator-codex/references/shotcraft/source/demos/_fixtures/Fixtures.tsx +83 -0
  145. package/skills/hyper-animator-codex/references/shotcraft/source/demos/ai-stream-response/StreamResponse.tsx +146 -0
  146. package/skills/hyper-animator-codex/references/shotcraft/source/demos/autolayout-gap-dial/AutolayoutGapDial.tsx +174 -0
  147. package/skills/hyper-animator-codex/references/shotcraft/source/demos/beat-cut-moves/BeatCutAccelerando.tsx +77 -0
  148. package/skills/hyper-animator-codex/references/shotcraft/source/demos/beat-cut-moves/PaparazziFlash.tsx +115 -0
  149. package/skills/hyper-animator-codex/references/shotcraft/source/demos/beat-step-list-theme-cycle/BeatStepListThemeCycle.tsx +98 -0
  150. package/skills/hyper-animator-codex/references/shotcraft/source/demos/before-after-slider-scrub/BeforeAfterSliderScrub.tsx +99 -0
  151. package/skills/hyper-animator-codex/references/shotcraft/source/demos/bottom-push-stack-wipe/BottomPushStackWipe.tsx +79 -0
  152. package/skills/hyper-animator-codex/references/shotcraft/source/demos/brand-frame-snap/BrandFrameSnap.tsx +110 -0
  153. package/skills/hyper-animator-codex/references/shotcraft/source/demos/bubble-swarm-takeover/BubbleSwarmTakeover.tsx +189 -0
  154. package/skills/hyper-animator-codex/references/shotcraft/source/demos/canvas-materialize-moves/DiagramCascadeBuild.tsx +172 -0
  155. package/skills/hyper-animator-codex/references/shotcraft/source/demos/canvas-materialize-moves/PanelToCanvasMaterialize.tsx +254 -0
  156. package/skills/hyper-animator-codex/references/shotcraft/source/demos/card-flip-reveal/CardFlipReveal.tsx +139 -0
  157. package/skills/hyper-animator-codex/references/shotcraft/source/demos/card-flock-tumble/CardFlockTumble.tsx +382 -0
  158. package/skills/hyper-animator-codex/references/shotcraft/source/demos/cel-flash-stomp/CelFlashStomp.tsx +111 -0
  159. package/skills/hyper-animator-codex/references/shotcraft/source/demos/chart-live-moves/AxisRescaleShockV2.tsx +282 -0
  160. package/skills/hyper-animator-codex/references/shotcraft/source/demos/chart-live-moves/OscilloscopeStreamV2.tsx +227 -0
  161. package/skills/hyper-animator-codex/references/shotcraft/source/demos/chart-live-moves/UnitDotSwarmRegroupV2.tsx +248 -0
  162. package/skills/hyper-animator-codex/references/shotcraft/source/demos/circle-match-iris/CircleMatchIris.tsx +124 -0
  163. package/skills/hyper-animator-codex/references/shotcraft/source/demos/cloner-depth-echo/ClonerDepthEcho.tsx +90 -0
  164. package/skills/hyper-animator-codex/references/shotcraft/source/demos/collab-cursor-moves/CursorCastEnsemble.tsx +136 -0
  165. package/skills/hyper-animator-codex/references/shotcraft/source/demos/collab-cursor-moves/CursorDialogueDuet.tsx +145 -0
  166. package/skills/hyper-animator-codex/references/shotcraft/source/demos/color-block-step-wipe/ColorBlockStepWipe.tsx +157 -0
  167. package/skills/hyper-animator-codex/references/shotcraft/source/demos/command-palette-summon/CommandPaletteSummon.tsx +173 -0
  168. package/skills/hyper-animator-codex/references/shotcraft/source/demos/crane-rise-reveal/CraneRiseReveal.tsx +91 -0
  169. package/skills/hyper-animator-codex/references/shotcraft/source/demos/crash-zoom-punch/CrashImpactReal.tsx +63 -0
  170. package/skills/hyper-animator-codex/references/shotcraft/source/demos/crash-zoom-punch/CrashZoomReal.tsx +60 -0
  171. package/skills/hyper-animator-codex/references/shotcraft/source/demos/dataviz-landscape-open/DatavizLandscapeOpen.tsx +401 -0
  172. package/skills/hyper-animator-codex/references/shotcraft/source/demos/depth-layer-moves/DollyZoomReal.tsx +55 -0
  173. package/skills/hyper-animator-codex/references/shotcraft/source/demos/depth-layer-moves/MultiplaneReal.tsx +45 -0
  174. package/skills/hyper-animator-codex/references/shotcraft/source/demos/draw-svg-trace/DrawSvgTrace.tsx +199 -0
  175. package/skills/hyper-animator-codex/references/shotcraft/source/demos/edit-hook-moves/LogoStingButton.tsx +106 -0
  176. package/skills/hyper-animator-codex/references/shotcraft/source/demos/element-body-moves/AxialStretch.tsx +112 -0
  177. package/skills/hyper-animator-codex/references/shotcraft/source/demos/element-body-moves/ContactShadowLift.tsx +117 -0
  178. package/skills/hyper-animator-codex/references/shotcraft/source/demos/fui-hud-moves/LineUnfoldPanel.tsx +125 -0
  179. package/skills/hyper-animator-codex/references/shotcraft/source/demos/fui-hud-moves/ReticleLockOn.tsx +139 -0
  180. package/skills/hyper-animator-codex/references/shotcraft/source/demos/gauge-readout-moves/NeedleSweepSelftest.tsx +146 -0
  181. package/skills/hyper-animator-codex/references/shotcraft/source/demos/gauge-readout-moves/TapeScrollFixedPointer.tsx +120 -0
  182. package/skills/hyper-animator-codex/references/shotcraft/source/demos/glow-flyline-moves/FlylineArc.tsx +158 -0
  183. package/skills/hyper-animator-codex/references/shotcraft/source/demos/glow-flyline-moves/GlowOrbAmbient.tsx +131 -0
  184. package/skills/hyper-animator-codex/references/shotcraft/source/demos/glow-flyline-moves/OrbFlylineRelay.tsx +268 -0
  185. package/skills/hyper-animator-codex/references/shotcraft/source/demos/gradient-word-sweep/GradientWordSweep.tsx +307 -0
  186. package/skills/hyper-animator-codex/references/shotcraft/source/demos/graze-face-tour/GrazeFaceTour.tsx +469 -0
  187. package/skills/hyper-animator-codex/references/shotcraft/source/demos/hashtag-to-pill-materialize/HashtagToPillMaterialize.tsx +166 -0
  188. package/skills/hyper-animator-codex/references/shotcraft/source/demos/icon-field-colorize/IconFieldColorize.tsx +93 -0
  189. package/skills/hyper-animator-codex/references/shotcraft/source/demos/icon-performance-moves/AttentionBounce.tsx +193 -0
  190. package/skills/hyper-animator-codex/references/shotcraft/source/demos/icon-performance-moves/PopBurstConfirm.tsx +162 -0
  191. package/skills/hyper-animator-codex/references/shotcraft/source/demos/impact-feedback/AnimeImpact.tsx +149 -0
  192. package/skills/hyper-animator-codex/references/shotcraft/source/demos/impact-feedback/HitCounter.tsx +147 -0
  193. package/skills/hyper-animator-codex/references/shotcraft/source/demos/input-trigger-moves/CursorPerformancePunchIn.tsx +154 -0
  194. package/skills/hyper-animator-codex/references/shotcraft/source/demos/input-trigger-moves/KeycapSmashCut.tsx +217 -0
  195. package/skills/hyper-animator-codex/references/shotcraft/source/demos/integration-hub-map/IntegrationHubMap.tsx +554 -0
  196. package/skills/hyper-animator-codex/references/shotcraft/source/demos/letterspace-materialize/LetterspaceMaterialize.tsx +85 -0
  197. package/skills/hyper-animator-codex/references/shotcraft/source/demos/light-play-moves/HalationBloom.tsx +139 -0
  198. package/skills/hyper-animator-codex/references/shotcraft/source/demos/light-play-moves/SheenSweepRetry.tsx +85 -0
  199. package/skills/hyper-animator-codex/references/shotcraft/source/demos/light-play-moves/SpotlightSweepReveal.tsx +102 -0
  200. package/skills/hyper-animator-codex/references/shotcraft/source/demos/line-boil/LineBoil.tsx +140 -0
  201. package/skills/hyper-animator-codex/references/shotcraft/source/demos/line-carry-transition/LineCarryTransition.tsx +151 -0
  202. package/skills/hyper-animator-codex/references/shotcraft/source/demos/magician-card-flourish/MagicianCardFlourish.tsx +294 -0
  203. package/skills/hyper-animator-codex/references/shotcraft/source/demos/marker-underline-title/MarkerUnderlineTitle.tsx +87 -0
  204. package/skills/hyper-animator-codex/references/shotcraft/source/demos/montage-rhythm-moves/DominoCascade.tsx +125 -0
  205. package/skills/hyper-animator-codex/references/shotcraft/source/demos/montage-rhythm-moves/DropBlackoutSlam.tsx +135 -0
  206. package/skills/hyper-animator-codex/references/shotcraft/source/demos/montage-rhythm-moves/WrightTripleCut.tsx +175 -0
  207. package/skills/hyper-animator-codex/references/shotcraft/source/demos/morph-from-primitive/MorphFromPrimitive.tsx +190 -0
  208. package/skills/hyper-animator-codex/references/shotcraft/source/demos/neon-frame-forerun/NeonFrameForerun.tsx +279 -0
  209. package/skills/hyper-animator-codex/references/shotcraft/source/demos/neon-frame-orbit-drop/NeonFrameForerunOrbit.tsx +273 -0
  210. package/skills/hyper-animator-codex/references/shotcraft/source/demos/neon-triple-marquee/NeonTripleMarquee.tsx +111 -0
  211. package/skills/hyper-animator-codex/references/shotcraft/source/demos/odometer-digit-roll/OdometerDigitRoll.tsx +178 -0
  212. package/skills/hyper-animator-codex/references/shotcraft/source/demos/overhead-camera-moves/OverheadTabletopDrop.tsx +129 -0
  213. package/skills/hyper-animator-codex/references/shotcraft/source/demos/overhead-camera-moves/TiltReveal.tsx +55 -0
  214. package/skills/hyper-animator-codex/references/shotcraft/source/demos/page-turn-transitions/BarnDoorSplit.tsx +138 -0
  215. package/skills/hyper-animator-codex/references/shotcraft/source/demos/page-turn-transitions/CubeRotate.tsx +114 -0
  216. package/skills/hyper-animator-codex/references/shotcraft/source/demos/page-waterfall-wall/PageWaterfallWall.tsx +76 -0
  217. package/skills/hyper-animator-codex/references/shotcraft/source/demos/page-waterfall-wall/VerticalTicker.tsx +129 -0
  218. package/skills/hyper-animator-codex/references/shotcraft/source/demos/panel-grid-moves/ComicPanelSplit.tsx +171 -0
  219. package/skills/hyper-animator-codex/references/shotcraft/source/demos/panel-grid-moves/FlipGridReflow.tsx +121 -0
  220. package/skills/hyper-animator-codex/references/shotcraft/source/demos/panel-grid-moves/GridFlashMosaic.tsx +182 -0
  221. package/skills/hyper-animator-codex/references/shotcraft/source/demos/paper-craft-moves/MaskingTapeSlap.tsx +163 -0
  222. package/skills/hyper-animator-codex/references/shotcraft/source/demos/paper-craft-moves/PopupBookRise.tsx +134 -0
  223. package/skills/hyper-animator-codex/references/shotcraft/source/demos/paper-plane-messenger/PaperPlaneMessenger.tsx +183 -0
  224. package/skills/hyper-animator-codex/references/shotcraft/source/demos/particle-celebrate-hits/ConfettiCrossfire.tsx +115 -0
  225. package/skills/hyper-animator-codex/references/shotcraft/source/demos/particle-celebrate-hits/CounterTickSparks.tsx +103 -0
  226. package/skills/hyper-animator-codex/references/shotcraft/source/demos/particle-sand-fill/ParticleSandFill.tsx +119 -0
  227. package/skills/hyper-animator-codex/references/shotcraft/source/demos/pill-slot-cycle/PillSlotCycle.tsx +220 -0
  228. package/skills/hyper-animator-codex/references/shotcraft/source/demos/print-texture-transitions/InkBleedReveal.tsx +81 -0
  229. package/skills/hyper-animator-codex/references/shotcraft/source/demos/rhythm-interrupt-moves/JumpCutPunchIn.tsx +72 -0
  230. package/skills/hyper-animator-codex/references/shotcraft/source/demos/rhythm-interrupt-moves/StrobeBlackFrames.tsx +99 -0
  231. package/skills/hyper-animator-codex/references/shotcraft/source/demos/riso-print-hits/RisoBeatPump.tsx +155 -0
  232. package/skills/hyper-animator-codex/references/shotcraft/source/demos/riso-print-hits/RisoMisregistrationHit.tsx +120 -0
  233. package/skills/hyper-animator-codex/references/shotcraft/source/demos/runway-ground-skim/RunwayGroundSkim.tsx +258 -0
  234. package/skills/hyper-animator-codex/references/shotcraft/source/demos/sakuga-timing-shift/SakugaTimingShift.tsx +178 -0
  235. package/skills/hyper-animator-codex/references/shotcraft/source/demos/scene-locked-title/SceneLockedTitle.tsx +98 -0
  236. package/skills/hyper-animator-codex/references/shotcraft/source/demos/scroll-brake-moves/BrakeReticleLock.tsx +171 -0
  237. package/skills/hyper-animator-codex/references/shotcraft/source/demos/scroll-brake-moves/ChangelogScrollBrake.tsx +117 -0
  238. package/skills/hyper-animator-codex/references/shotcraft/source/demos/segmented-thumb-hero/SegmentedThumbHero.tsx +213 -0
  239. package/skills/hyper-animator-codex/references/shotcraft/source/demos/shot-transitions/MaskWipeReal.tsx +67 -0
  240. package/skills/hyper-animator-codex/references/shotcraft/source/demos/shot-transitions/PortalWipeV2.tsx +128 -0
  241. package/skills/hyper-animator-codex/references/shotcraft/source/demos/shot-transitions/WhipBrakeReal.tsx +60 -0
  242. package/skills/hyper-animator-codex/references/shotcraft/source/demos/shot-transitions/WhipPanReal.tsx +45 -0
  243. package/skills/hyper-animator-codex/references/shotcraft/source/demos/skeleton-reveal/SkeletonReveal.tsx +283 -0
  244. package/skills/hyper-animator-codex/references/shotcraft/source/demos/slam-entrance-moves/ImpactBurstKit.tsx +185 -0
  245. package/skills/hyper-animator-codex/references/shotcraft/source/demos/slam-entrance-moves/KanadaPerspectiveSnap.tsx +91 -0
  246. package/skills/hyper-animator-codex/references/shotcraft/source/demos/slam-entrance-moves/ScoreSlam.tsx +225 -0
  247. package/skills/hyper-animator-codex/references/shotcraft/source/demos/smear-multiples/SmearMultiples.tsx +88 -0
  248. package/skills/hyper-animator-codex/references/shotcraft/source/demos/space-camera-moves/DroneDiveLanding.tsx +91 -0
  249. package/skills/hyper-animator-codex/references/shotcraft/source/demos/space-camera-moves/ExplodedView.tsx +178 -0
  250. package/skills/hyper-animator-codex/references/shotcraft/source/demos/space-camera-moves/SnorricamLock.tsx +130 -0
  251. package/skills/hyper-animator-codex/references/shotcraft/source/demos/spectrum-morph-ui/SpectrumMorphUi.tsx +129 -0
  252. package/skills/hyper-animator-codex/references/shotcraft/source/demos/speed-ramp-freeze/FreezeAnnotateReal.tsx +70 -0
  253. package/skills/hyper-animator-codex/references/shotcraft/source/demos/speed-ramp-freeze/SpeedRampReal.tsx +58 -0
  254. package/skills/hyper-animator-codex/references/shotcraft/source/demos/split-flap-title/SplitFlapFlip.tsx +189 -0
  255. package/skills/hyper-animator-codex/references/shotcraft/source/demos/spotlight-sweep-moves/CornerSpotlightReveal.tsx +121 -0
  256. package/skills/hyper-animator-codex/references/shotcraft/source/demos/spotlight-sweep-moves/GlowWakeSleepPanel.tsx +183 -0
  257. package/skills/hyper-animator-codex/references/shotcraft/source/demos/spotlight-sweep-moves/SlideSpotlightPan.tsx +171 -0
  258. package/skills/hyper-animator-codex/references/shotcraft/source/demos/steep-tilt-glide/SteepTiltGlide.tsx +315 -0
  259. package/skills/hyper-animator-codex/references/shotcraft/source/demos/stroke-segment-build/StrokeSegmentBuild.tsx +126 -0
  260. package/skills/hyper-animator-codex/references/shotcraft/source/demos/tear-streak-transitions/GlitchDisplace.tsx +107 -0
  261. package/skills/hyper-animator-codex/references/shotcraft/source/demos/tension-camera-moves/BulletTimeFreezeOrbit.tsx +219 -0
  262. package/skills/hyper-animator-codex/references/shotcraft/source/demos/tension-camera-moves/DutchRollToLevel.tsx +110 -0
  263. package/skills/hyper-animator-codex/references/shotcraft/source/demos/tension-camera-moves/PullBackIsolation.tsx +120 -0
  264. package/skills/hyper-animator-codex/references/shotcraft/source/demos/tension-camera-moves/SlowPushIn.tsx +96 -0
  265. package/skills/hyper-animator-codex/references/shotcraft/source/demos/text-as-mask/TextAsMask.tsx +94 -0
  266. package/skills/hyper-animator-codex/references/shotcraft/source/demos/text-column-converge/TextColumnConverge.tsx +122 -0
  267. package/skills/hyper-animator-codex/references/shotcraft/source/demos/theme-switch-moves/PaletteThemeRipple.tsx +207 -0
  268. package/skills/hyper-animator-codex/references/shotcraft/source/demos/theme-switch-moves/ThemeSweepToggle.tsx +123 -0
  269. package/skills/hyper-animator-codex/references/shotcraft/source/demos/timeline-travel/TimelineTravel.tsx +123 -0
  270. package/skills/hyper-animator-codex/references/shotcraft/source/demos/title-demote-to-label/TitleDemoteToLabel.tsx +174 -0
  271. package/skills/hyper-animator-codex/references/shotcraft/source/demos/trailer-grammar-moves/CardFootageCadence.tsx +118 -0
  272. package/skills/hyper-animator-codex/references/shotcraft/source/demos/trailer-grammar-moves/SmashCut.tsx +105 -0
  273. package/skills/hyper-animator-codex/references/shotcraft/source/demos/trailer-grammar-moves/TrailerBumper.tsx +103 -0
  274. package/skills/hyper-animator-codex/references/shotcraft/source/demos/transition-hidden-cut/InvisibleCut.tsx +93 -0
  275. package/skills/hyper-animator-codex/references/shotcraft/source/demos/transition-hidden-cut/LightLeakBurn.tsx +122 -0
  276. package/skills/hyper-animator-codex/references/shotcraft/source/demos/transition-hidden-cut/VersusSlam.tsx +104 -0
  277. package/skills/hyper-animator-codex/references/shotcraft/source/demos/transition-travel/LetterformZoom.tsx +141 -0
  278. package/skills/hyper-animator-codex/references/shotcraft/source/demos/transition-travel/SharedElementMorph.tsx +101 -0
  279. package/skills/hyper-animator-codex/references/shotcraft/source/demos/type-assembly-moves/LetterformDriftAssembly.tsx +107 -0
  280. package/skills/hyper-animator-codex/references/shotcraft/source/demos/type-assembly-moves/SplitTextStagger.tsx +101 -0
  281. package/skills/hyper-animator-codex/references/shotcraft/source/demos/type-assembly-moves/TextOnPath.tsx +92 -0
  282. package/skills/hyper-animator-codex/references/shotcraft/source/demos/type-assembly-moves/TrackingExpandReveal.tsx +109 -0
  283. package/skills/hyper-animator-codex/references/shotcraft/source/demos/type-entrance-moves/LetterDropPhysics.tsx +100 -0
  284. package/skills/hyper-animator-codex/references/shotcraft/source/demos/type-entrance-moves/ScrambleDecode.tsx +90 -0
  285. package/skills/hyper-animator-codex/references/shotcraft/source/demos/type-rhythm-sync/FontWeightPump.tsx +124 -0
  286. package/skills/hyper-animator-codex/references/shotcraft/source/demos/type-rhythm-sync/KaraokeFillSync.tsx +93 -0
  287. package/skills/hyper-animator-codex/references/shotcraft/source/demos/typewriter-moves/TerminalTypewriter.tsx +122 -0
  288. package/skills/hyper-animator-codex/references/shotcraft/source/demos/typewriter-moves/TypewriterErrorRetype.tsx +109 -0
  289. package/skills/hyper-animator-codex/references/shotcraft/source/demos/ui-strip-away-outro/UiStripAwayOutro.tsx +218 -0
  290. package/skills/hyper-animator-codex/references/shotcraft/source/demos/ui-to-brand-morph/IconFlipBloomLogo.tsx +199 -0
  291. package/skills/hyper-animator-codex/references/shotcraft/source/demos/ui-to-brand-morph/InputMorphsIntoLogo.tsx +215 -0
  292. package/skills/hyper-animator-codex/references/shotcraft/source/demos/voice-waveform-live/VoiceWaveformLive.tsx +171 -0
  293. package/skills/hyper-animator-codex/references/shotcraft/source/demos/wall-reveal-moves/BentoLightUp.tsx +135 -0
  294. package/skills/hyper-animator-codex/references/shotcraft/source/demos/wipe-transitions/BlindsSlice.tsx +107 -0
  295. package/skills/hyper-animator-codex/references/shotcraft/source/demos/wipe-transitions/ClockWipe.tsx +83 -0
  296. package/skills/hyper-animator-codex/references/shotcraft/source/demos/word-relay-filmstrip/WordRelayFilmstrip.tsx +300 -0
  297. package/skills/hyper-animator-codex/references/shotcraft/source/template/src/Root.tsx +15 -0
  298. package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/Caption.tsx +49 -0
  299. package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/DigitRoll.tsx +44 -0
  300. package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/FlashCut.tsx +19 -0
  301. package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/Main.tsx +163 -0
  302. package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/PaperTitleCard.tsx +89 -0
  303. package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/live/PageCam.tsx +145 -0
  304. package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/live/SceneDetail.tsx +146 -0
  305. package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/live/SceneFlyIn.tsx +447 -0
  306. package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/live/SceneOpen.tsx +532 -0
  307. package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/live/SceneOutroLive.tsx +394 -0
  308. package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/live/ScenePapers.tsx +185 -0
  309. package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/live/SceneWbr.tsx +299 -0
  310. package/skills/hyper-animator-codex/references/shotcraft/source/template/src/index.ts +4 -0
  311. package/skills/hyper-animator-codex/references/shotcraft/source-notes.md +10 -0
  312. package/skills/hyper-animator-codex/scripts/generate_minimax_music.mjs +27 -10
  313. package/skills/hyper-animator-codex/scripts/generate_minimax_tts.mjs +142 -13
  314. package/skills/hyper-animator-codex/scripts/generate_subtitles.mjs +42 -3
  315. package/skills/hyper-animator-codex/scripts/minimax_runtime_config.mjs +3 -3
  316. package/skills/hyper-animator-codex/scripts/query_shotcraft.mjs +140 -0
  317. package/skills/hyper-animator-codex/scripts/validate_hyperframes_html.py +22 -0
  318. package/skills/hyper-animator-codex/scripts/validate_provider_policy.mjs +108 -0
  319. package/skills/hyper-animator-codex/scripts/validate_shot_plan.mjs +193 -0
  320. package/skills/hyper-animator-codex/vendor/music-beat-detector/beat_detector/analyzer.py +3 -1
  321. package/skills/hyper-animator-codex/vendor/music-beat-detector/beat_detector/beat.py +37 -1
@@ -0,0 +1,294 @@
1
+ // magician-card-flourish v6 —— 批次 15(无截图,用户意见即全部真相):
2
+ // 用户意见(逐字)"这个光需要带点辉光,0.8秒就行;然后十字星应该做成更符合
3
+ // 光学实感的,现在太5毛特效了;卡片最开始出来的时候,要做成那种弹射出来的
4
+ // 效果,就是刚开始弹射出来速度慢,然后划弧线的过程减速"
5
+ // ① 光效段 1.5s→0.8s(24f),辉光加厚(三层柔晕包裹);
6
+ // ② 十字星光学实感重做:等宽矩形条改衍射尖峰(径向渐变楔形——越远越细
7
+ // 且亮度指数渐隐),三层叠色(白细芯/蓝中层/宽淡外层近似色散),
8
+ // 旋转放慢(24f 转 ~40°,真实星芒旋转是镜头效应,快了就假);
9
+ // ③ 弹射出场:slow-in → burst → decelerating arc(起飞先慢速蓄力挤出,
10
+ // 急加速弹射,弧线段整体减速抵达中心硬定格)。
11
+ // v5 其余保留:中心极远飞出+13 圈自旋+94% 定格+sheen 扫光。总长 141 帧。
12
+ import React from 'react';
13
+ import { useCurrentFrame, interpolate, Easing } from 'remotion';
14
+ import { CameraMotionBlur } from '@remotion/motion-blur';
15
+ import { G } from '../_fixtures/Fixtures';
16
+
17
+ const CARD_W = 380;
18
+ const CARD_H = 540;
19
+ // 对角线轴(卡片自身对角线方向,归一化)
20
+ const AX = CARD_W / Math.hypot(CARD_W, CARD_H);
21
+ const AY = CARD_H / Math.hypot(CARD_W, CARD_H);
22
+
23
+ // —— 时间轴(30fps / 126 帧)——
24
+ // v9.6(批次 18):光效 0.5s→0.3s(9f)
25
+ const TAKEOFF = 9; // 开场光效 0.3s(9f)后卡片才起飞
26
+ const FLASH_END = 12; // 闪光尾焰完全消失(坍缩略拖 3 帧)
27
+ const FLIGHT = 50; // 飞行帧数
28
+ const LAND = TAKEOFF + FLIGHT; // f=53 硬定格
29
+ const SHEEN_START = LAND + 8; // 定格稳住 8 帧后开始扫光
30
+ const SHEEN_DUR = 26; // 扫光时长(一次性)
31
+ const TURNS = 13; // 飞行总圈数(整数→定格瞬间恰好正面朝镜头)
32
+ const FINAL_SCALE = 1.88; // 终态:卡高 540×1.88≈1015 ≈ 94% 画面高(1080)
33
+
34
+ // 卡片正面:灰阶海报卡
35
+ const CardFace: React.FC = () => (
36
+ <div style={{
37
+ width: CARD_W, height: CARD_H, borderRadius: 22, background: G.card,
38
+ border: `2px solid ${G.border}`, boxSizing: 'border-box', padding: 26,
39
+ display: 'flex', flexDirection: 'column', gap: 16, overflow: 'hidden',
40
+ }}>
41
+ <div style={{ height: 26, width: '62%', background: G.bar, borderRadius: 13 }} />
42
+ <div style={{ height: 12, width: '84%', background: G.line, borderRadius: 6 }} />
43
+ <div style={{
44
+ flex: 1, borderRadius: 14, background: `linear-gradient(145deg, #e6e6e4, ${G.bar})`,
45
+ display: 'flex', alignItems: 'center', justifyContent: 'center',
46
+ }}>
47
+ <div style={{ width: 110, height: 110, borderRadius: 55, background: G.mid, opacity: 0.55 }} />
48
+ </div>
49
+ <div style={{ height: 12, width: '74%', background: G.line, borderRadius: 6 }} />
50
+ <div style={{ height: 12, width: '52%', background: G.line, borderRadius: 6 }} />
51
+ <div style={{ display: 'flex', alignItems: 'center', gap: 10, marginTop: 4 }}>
52
+ <div style={{ width: 34, height: 34, borderRadius: 17, background: G.mid }} />
53
+ <div style={{ height: 11, width: 90, background: G.line, borderRadius: 5 }} />
54
+ <div style={{ marginLeft: 'auto', width: 58, height: 24, borderRadius: 12, background: G.ink, opacity: 0.75 }} />
55
+ </div>
56
+ </div>
57
+ );
58
+
59
+ // 卡背:深灰斜纹
60
+ const CardBack: React.FC = () => (
61
+ <div style={{
62
+ position: 'absolute', inset: 0, borderRadius: 22, background: '#3c3c40',
63
+ border: '2px solid #55555a', boxSizing: 'border-box', overflow: 'hidden',
64
+ }}>
65
+ <div style={{
66
+ position: 'absolute', inset: 0,
67
+ background: 'repeating-linear-gradient(45deg, rgba(255,255,255,0.07) 0 14px, transparent 14px 28px)',
68
+ }} />
69
+ <div style={{
70
+ position: 'absolute', inset: 34, borderRadius: 12, border: '2px solid rgba(255,255,255,0.16)',
71
+ display: 'flex', alignItems: 'center', justifyContent: 'center',
72
+ }}>
73
+ <div style={{ width: 72, height: 72, borderRadius: 36, border: '3px solid rgba(255,255,255,0.22)' }} />
74
+ </div>
75
+ </div>
76
+ );
77
+
78
+ // —— 开场闪光(v8,批次 17):以用户参考图 IMG_2505 为基准 ——
79
+ // 参考图特征(真实镜头 lens flare 星芒,密看归纳):
80
+ // ① X 形对角星芒(4 条 45° 斜向针状光束),不是 + 形正交;
81
+ // ② 光束极细(针状),其中一条对角轴显著更长、近乎横贯画面;
82
+ // ③ 核心小而极亮(过曝白点),辉光晕很克制(小半径即衰减入黑);
83
+ // ④ 青蓝色(参考图上星青色/下星蓝色,取青蓝中间调);
84
+ // ⑤ 背景纯黑,光束边缘干净锐利(真实衍射,无宽糊外层)。
85
+ // 时长 0.5s:渐亮(f0–4)→ 全芒微闪(f4–10)→ 坍缩(f10–15)。
86
+ const SpawnFlash: React.FC<{ f: number }> = ({ f }) => {
87
+ if (f > FLASH_END) return null;
88
+ const grow = interpolate(f, [0, 2.5], [0.2, 1], {
89
+ extrapolateRight: 'clamp', easing: Easing.out(Easing.quad),
90
+ });
91
+ const shrink = interpolate(f, [6, TAKEOFF, FLASH_END], [1, 0.3, 0.05], {
92
+ extrapolateLeft: 'clamp', extrapolateRight: 'clamp', easing: Easing.in(Easing.quad),
93
+ });
94
+ const s = grow * shrink;
95
+ // 亮度微闪(真实光源级细微抖动)
96
+ const flicker = 0.94 + 0.06 * (0.5 + 0.5 * Math.sin(f * 1.9) * Math.sin(f * 0.83 + 1.7));
97
+ const opacity = interpolate(f, [0, 2, 6, FLASH_END], [0, 1, 1, 0], {
98
+ extrapolateRight: 'clamp',
99
+ }) * flicker;
100
+ // v9:用户意见"开场光点的光芒要旋转90度"——闪光期间星芒动态旋转 90°
101
+ const rot = interpolate(f, [0, FLASH_END], [0, 90], { extrapolateRight: 'clamp', easing: Easing.inOut(Easing.quad) });
102
+ // 针状光束:极细楔形(根部窄、尖端归零)+ 亮度指数渐隐——对照参考图
103
+ // v9(批次 18):用户意见"开场光点的光芒要旋转90度"——整体转 90°:长轴 -38°→52°(陡斜近竖贯),短轴 52°→142°
104
+ const SPIKE_ID = 'mcf-needle';
105
+ const needle = (deg: number, len: number, w0: number, op: number) => (
106
+ <g key={`${deg}-${len}`} transform={`rotate(${deg})`} opacity={op}>
107
+ <path d={`M 0 ${-w0 / 2} L ${len} 0 L 0 ${w0 / 2} Z`} fill={`url(#${SPIKE_ID})`} />
108
+ <path d={`M 0 ${-w0 / 2} L ${len} 0 L 0 ${w0 / 2} Z`} fill={`url(#${SPIKE_ID})`} transform="scale(-1,1)" />
109
+ </g>
110
+ );
111
+ return (
112
+ <div style={{
113
+ position: 'absolute', left: 960, top: 540, width: 0, height: 0,
114
+ transform: `scale(${s})`, opacity, pointerEvents: 'none',
115
+ }}>
116
+ {/* v9.6 中心重做(对照用户参考图②):不是白色圆球——
117
+ 极小过曝亮点 + 蓝色辉光 + 一圈放射状小光芒(短刺) */}
118
+ <div style={{
119
+ position: 'absolute', left: -13, top: -13, width: 26, height: 26, borderRadius: 13,
120
+ background: 'radial-gradient(circle, #ffffff 0%, rgba(225,245,255,0.95) 45%, rgba(140,215,255,0) 80%)',
121
+ filter: 'blur(0.6px)',
122
+ }} />
123
+ <div style={{
124
+ position: 'absolute', left: -70, top: -70, width: 140, height: 140, borderRadius: 70,
125
+ background: 'radial-gradient(circle, rgba(90,175,255,0.75) 0%, rgba(50,130,245,0.35) 45%, rgba(40,110,235,0) 75%)',
126
+ filter: 'blur(4px)',
127
+ }} />
128
+ {/* 放射状小光芒:核心周围一圈短刺(参考图中心的 starburst 细节) */}
129
+ <svg width={260} height={260} viewBox="-130 -130 260 260" style={{
130
+ position: 'absolute', left: -130, top: -130, transform: `rotate(${-rot * 0.6}deg)`,
131
+ }}>
132
+ {[15, 52, 88, 123, 160, 197, 231, 268, 305, 341].map((deg, i) => {
133
+ const ln = 46 + ((i * 37) % 3) * 16;
134
+ return (
135
+ <g key={deg} transform={`rotate(${deg})`} opacity={0.75}>
136
+ <path d={`M 8 -1.1 L ${ln} 0 L 8 1.1 Z`} fill="rgba(150,210,255,0.85)" filter="blur(0.8px)" />
137
+ </g>
138
+ );
139
+ })}
140
+ </svg>
141
+ {/* X 形对角针状星芒——对照 IMG_2505 复刻要点:光束通体明亮饱和
142
+ (青蓝贯穿全长、只在最末端才灭),束身带同色辉光包裹 */}
143
+ <svg width={3200} height={3200} viewBox="-1600 -1600 3200 3200" style={{
144
+ position: 'absolute', left: -1600, top: -1600, transform: `rotate(${rot}deg)`,
145
+ }}>
146
+ <defs>
147
+ {/* v9.6:更纯蓝(参考图光束是饱和蓝,白段只在根部一瞬) */}
148
+ <linearGradient id={SPIKE_ID} x1="0" y1="0" x2="1" y2="0">
149
+ <stop offset="0" stopColor="#eaf6ff" stopOpacity="1" />
150
+ <stop offset="0.05" stopColor="#8cc8ff" stopOpacity="0.95" />
151
+ <stop offset="0.3" stopColor="#3f9bff" stopOpacity="0.88" />
152
+ <stop offset="0.62" stopColor="#2277f2" stopOpacity="0.6" />
153
+ <stop offset="0.88" stopColor="#1b64e0" stopOpacity="0.25" />
154
+ <stop offset="1" stopColor="#1a5fd8" stopOpacity="0" />
155
+ </linearGradient>
156
+ </defs>
157
+ {/* 长对角轴:辉光包层(宽糊、同色发光)+ 明亮主束 + 过曝细芯 */}
158
+ <g filter="blur(7px)" opacity={0.75}>
159
+ {needle(-38, 826, 26, 1)}
160
+ </g>
161
+ <g filter="blur(1.8px)">
162
+ {needle(-38, 840, 8, 1)}
163
+ </g>
164
+ {needle(-38, 819, 3, 1)}
165
+ {/* 短对角轴:同三层 */}
166
+ <g filter="blur(5px)" opacity={0.75}>
167
+ {needle(52, 413, 20, 1)}
168
+ </g>
169
+ <g filter="blur(1.5px)">
170
+ {needle(52, 420, 6.5, 1)}
171
+ </g>
172
+ {needle(52, 410, 2.6, 1)}
173
+ </svg>
174
+ </div>
175
+ );
176
+ };
177
+
178
+ const Scene: React.FC = () => {
179
+ const f = useCurrentFrame();
180
+ // 硬定格:闪光后 f=TAKEOFF 起飞,到达(f=LAND)后时间冻结——所有量按 tEff 计算
181
+ const tEff = Math.min(1, Math.max(0, (f - TAKEOFF) / FLIGHT));
182
+ const airborne = f >= TAKEOFF;
183
+
184
+ // —— 自旋(v7):用户意见"靠近镜头时,卡片自旋速度开始随距离靠近而衰减"
185
+ // 前 40% 行程近匀速极快,之后角速度随 tEff 持续衰减(easeOut 2.4 次幂),
186
+ // spinP(1)=1 保证整圈数——定格瞬间仍恰好正面朝镜头
187
+ const spinP = tEff < 0.4
188
+ ? tEff * 1.55
189
+ : 0.62 + 0.38 * (1 - Math.pow(1 - (tEff - 0.4) / 0.6, 2.4));
190
+ const theta = TURNS * 360 * Math.min(1, spinP);
191
+
192
+ // —— 轨迹:画面中心的 3D 纵深远处(极小)→ 弧线飞向镜头 → 近满幅定格于中心 ——
193
+ // v6 弹射曲线(用户意见"刚开始弹射出来速度慢,然后划弧线的过程减速"):
194
+ // slow-in(前 14% 慢速蓄力挤出 6% 行程)→ 斜率跳变=弹射踢出 →
195
+ // 弧线段 easeOut(cubic) 全程减速抵达中心
196
+ const tp = tEff < 0.14
197
+ ? 0.06 * (tEff / 0.14) * (tEff / 0.14)
198
+ : 0.06 + 0.94 * (1 - Math.pow(1 - (tEff - 0.14) / 0.86, 3));
199
+ const arc = Math.sin(tp * Math.PI);
200
+ const cx = 960 + arc * 360;
201
+ const cy = 540 - arc * 250;
202
+ // 纵深:真透视 scale=F/(F+z)×FINAL_SCALE,z 从极远推近到 0——
203
+ // 终态卡高≈94% 画面高(基本贴近上下界)
204
+ const FOCAL = 900;
205
+ const z = interpolate(tp, [0, 1], [14000, 0]);
206
+ const scale = FINAL_SCALE * (FOCAL / (FOCAL + z)); // 0.11 → 1.88,无过冲
207
+
208
+ // 背面判定
209
+ const facingBack = Math.cos((theta * Math.PI) / 180) < 0;
210
+
211
+ // —— 定格后 sheen 扫光:一道高光斜带从卡面左侧扫到右侧(一次性)——
212
+ const sheenP = interpolate(f, [SHEEN_START, SHEEN_START + SHEEN_DUR], [0, 1], {
213
+ extrapolateLeft: 'clamp', extrapolateRight: 'clamp',
214
+ easing: Easing.inOut(Easing.cubic),
215
+ });
216
+ const sheenVisible = f >= SHEEN_START && f <= SHEEN_START + SHEEN_DUR;
217
+ // 扫光经过时整卡亮度微抬升(正弦单拱),保证"整体光泽"肉眼可感
218
+ const sheenLift = sheenVisible ? 0.07 * Math.sin(sheenP * Math.PI) : 0;
219
+
220
+ return (
221
+ <div style={{ width: 1920, height: 1080, background: '#000000', position: 'relative', overflow: 'hidden' }}>
222
+ {/* —— 卡片:闪光过后从中心飞出,纯黑空间中飞行 —— */}
223
+ <div style={{
224
+ position: 'absolute', left: cx - CARD_W / 2, top: cy - CARD_H / 2,
225
+ width: CARD_W, height: CARD_H,
226
+ transform: `scale(${scale})`,
227
+ transformOrigin: '50% 50%',
228
+ opacity: airborne ? 1 : 0,
229
+ }}>
230
+ <div style={{
231
+ width: '100%', height: '100%',
232
+ transform: `perspective(1300px) rotate3d(${AX}, ${AY}, 0, ${theta}deg)`,
233
+ transformOrigin: '50% 50%',
234
+ position: 'relative',
235
+ borderRadius: 22,
236
+ filter: sheenLift > 0 ? `brightness(${1 + sheenLift})` : undefined,
237
+ }}>
238
+ <CardFace />
239
+ <div style={{ opacity: facingBack ? 1 : 0, position: 'absolute', inset: 0 }}>
240
+ <CardBack />
241
+ </div>
242
+ {/* 转动中的动态侧光(贴在卡面上,非环境光);定格后随 theta 冻结 */}
243
+ <div style={{
244
+ position: 'absolute', inset: 0, borderRadius: 22, pointerEvents: 'none',
245
+ background: `linear-gradient(${115 + Math.sin((theta * Math.PI) / 180) * 30}deg, rgba(255,255,255,0) 30%, rgba(255,255,255,${0.14 + 0.14 * Math.abs(Math.sin((theta * Math.PI) / 180))}) 50%, rgba(255,255,255,0) 70%)`,
246
+ mixBlendMode: 'screen',
247
+ }} />
248
+ {/* 定格后的一次性 sheen 扫光:斜高光带左→右扫过整卡 */}
249
+ {sheenVisible && (
250
+ <div style={{
251
+ position: 'absolute', inset: 0, borderRadius: 22, overflow: 'hidden',
252
+ pointerEvents: 'none',
253
+ }}>
254
+ <div style={{
255
+ position: 'absolute', top: '-45%', bottom: '-45%',
256
+ left: `${-70 + sheenP * 215}%`, width: '42%',
257
+ background: 'linear-gradient(100deg, rgba(200,200,205,0) 0%, rgba(225,225,230,0.5) 34%, rgba(255,255,255,0.9) 50%, rgba(225,225,230,0.5) 66%, rgba(200,200,205,0) 100%)',
258
+ transform: 'rotate(16deg)',
259
+ mixBlendMode: 'overlay',
260
+ }} />
261
+ {/* 叠一层 screen 提亮,让灰色区块上的高光带更亮 */}
262
+ <div style={{
263
+ position: 'absolute', top: '-45%', bottom: '-45%',
264
+ left: `${-70 + sheenP * 215}%`, width: '26%',
265
+ background: 'linear-gradient(100deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.45) 45%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0.45) 55%, rgba(255,255,255,0) 100%)',
266
+ transform: 'rotate(16deg)',
267
+ mixBlendMode: 'screen',
268
+ }} />
269
+ </div>
270
+ )}
271
+ </div>
272
+ </div>
273
+ </div>
274
+ );
275
+ };
276
+
277
+ // 闪光层独立于 CameraMotionBlur(细针光束旋转会被采样拆成条纹分身)
278
+ const FlashLayer: React.FC = () => {
279
+ const f = useCurrentFrame();
280
+ return (
281
+ <div style={{ position: 'absolute', inset: 0, overflow: 'hidden', pointerEvents: 'none' }}>
282
+ <SpawnFlash f={f} />
283
+ </div>
284
+ );
285
+ };
286
+
287
+ export const MagicianCardFlourish: React.FC = () => (
288
+ <>
289
+ <CameraMotionBlur shutterAngle={150} samples={7}>
290
+ <Scene />
291
+ </CameraMotionBlur>
292
+ <FlashLayer />
293
+ </>
294
+ );
@@ -0,0 +1,87 @@
1
+ // marker-underline-title —— 白底大标题落定后,斜体 "new" 下方一道
2
+ // 马克笔下划线从左到右描画(粗细变化/端头圆润/微歪/边缘毛糙)。
3
+ // 对标 notion-ai.mp4 2.3–3.6s。与库内 draw-svg-trace 撞车,本版做马克笔质感。
4
+ import React from 'react';
5
+ import { AbsoluteFill, interpolate, useCurrentFrame } from 'remotion';
6
+
7
+ const mulberry32 = (a: number) => () => {
8
+ let t = (a += 0x6d2b79f5);
9
+ t = Math.imul(t ^ (t >>> 15), t | 1);
10
+ t ^= t + Math.imul(t ^ (t >>> 7), t | 61);
11
+ return ((t ^ (t >>> 14)) >>> 0) / 4294967296;
12
+ };
13
+
14
+ // 马克笔笔画:中轴微歪的路径 + 变宽轮廓,一次生成多边形
15
+ const buildStroke = (len: number, seed: number) => {
16
+ const rand = mulberry32(seed);
17
+ const N = 40;
18
+ const top: string[] = [];
19
+ const bot: string[] = [];
20
+ // 预生成微歪偏移(低频)与毛糙(高频)
21
+ const wob = Array.from({ length: N + 1 }, () => rand() - 0.5);
22
+ for (let i = 0; i <= N; i++) {
23
+ const t = i / N;
24
+ const x = t * len;
25
+ // 中轴:跟随斜体微上斜(左低右高,对照截图)+ 缓波
26
+ const mid = 19 - t * 9 + Math.sin(t * Math.PI * 1.6 + 0.4) * 2.6 + wob[i] * 1.6;
27
+ // 宽度:起笔略细→中段饱满→收笔收尖,加高频毛糙
28
+ const wBase = 14 + Math.sin(t * Math.PI) * 6 - Math.max(0, t - 0.86) * 46;
29
+ const w = Math.max(2.2, wBase + wob[i] * 3);
30
+ top.push(`${x.toFixed(1)},${(mid - w / 2).toFixed(1)}`);
31
+ bot.push(`${x.toFixed(1)},${(mid + w / 2).toFixed(1)}`);
32
+ }
33
+ return `M${top.join('L')}L${bot.reverse().join('L')}Z`;
34
+ };
35
+
36
+ export const MarkerUnderlineTitle: React.FC = () => {
37
+ const frame = useCurrentFrame();
38
+ const LEN = 252;
39
+
40
+ // 标题落定:整块从下方 30px 弹入(ease-out),24 帧内完成
41
+ const enter = interpolate(frame, [0, 22], [0, 1], {
42
+ extrapolateLeft: 'clamp', extrapolateRight: 'clamp',
43
+ });
44
+ const eo = 1 - Math.pow(1 - enter, 3);
45
+ const titleY = (1 - eo) * 36;
46
+ const titleOp = Math.min(1, enter * 1.6);
47
+
48
+ // 下划线:标题落定停一拍后描画,10 帧从左到右(提速一档),ease-out
49
+ const draw = interpolate(frame, [32, 42], [0, 1], {
50
+ extrapolateLeft: 'clamp', extrapolateRight: 'clamp',
51
+ });
52
+ const drawE = 1 - Math.pow(1 - draw, 2.2);
53
+ const path = buildStroke(LEN, 77);
54
+
55
+ return (
56
+ <AbsoluteFill style={{ background: '#f4f4f2', alignItems: 'center', justifyContent: 'center' }}>
57
+ <div style={{
58
+ opacity: titleOp, transform: `translateY(${titleY}px)`,
59
+ fontFamily: '-apple-system, "Helvetica Neue", Arial, sans-serif',
60
+ fontWeight: 700, fontSize: 118, color: '#191919',
61
+ textAlign: 'center', lineHeight: 1.12, letterSpacing: '-0.02em',
62
+ }}>
63
+ <div>
64
+ Meet the{' '}
65
+ <span style={{ fontStyle: 'italic', position: 'relative', display: 'inline-block' }}>
66
+ new
67
+ {/* 马克笔下划线:clip 从左到右揭示,保留笔形本身的粗细变化 */}
68
+ <svg
69
+ width={LEN} height={44} viewBox={`0 0 ${LEN} 44`}
70
+ style={{ position: 'absolute', left: -12, bottom: -20, overflow: 'visible' }}
71
+ >
72
+ <defs>
73
+ <clipPath id="reveal">
74
+ <rect x={0} y={-20} width={drawE * (LEN + 6)} height={60} />
75
+ </clipPath>
76
+ </defs>
77
+ {draw > 0 && (
78
+ <path d={path} fill="#111111" clipPath="url(#reveal)" />
79
+ )}
80
+ </svg>
81
+ </span>
82
+ </div>
83
+ <div>Notion AI</div>
84
+ </div>
85
+ </AbsoluteFill>
86
+ );
87
+ };
@@ -0,0 +1,125 @@
1
+ // 多米诺连锁入场(domino-cascade)——Rube Goldberg / OK Go MV。
2
+ // 三级动量链,每级 startFrame = 上一级 impact 帧:
3
+ // ① 帧 36–51 标题 "CHAIN REACTION" 从画外顶 ease-in(cubic) 砸落上半屏,
4
+ // impact 帧 51 全画面竖向震一拍(4f 衰减);
5
+ // ② 帧 51 起下方 4 张卡片被震得依次(隔 5f)向上弹 60px 抛物线落回(12f),
6
+ // 末卡落地帧 78 = 第二次撞击(再震一拍 + 末卡向左歪 3° 给出横向动量);
7
+ // ③ 帧 78–100 左侧深色侧边栏被横向撞滑进场,Easing.out(cubic) 带过冲回弹;帧 100–150 全体真静止。
8
+ import React from 'react';
9
+ import { useCurrentFrame, interpolate, Easing } from 'remotion';
10
+ import { G, Card, TitleBlock } from '../_fixtures/Fixtures';
11
+
12
+ const easeInCubic = Easing.in(Easing.cubic);
13
+ const easeOutCubic = Easing.out(Easing.cubic);
14
+
15
+ // —— 关键帧 ——
16
+ const TITLE_START = 36; // 砸落开始(前 36f hold 读布景)
17
+ const IMPACT_1 = 51; // 标题落地 = 第一次撞击
18
+ const CARD_STAGGER = 5;
19
+ const CARD_DUR = 12;
20
+ const IMPACT_2 = IMPACT_1 + 3 * CARD_STAGGER + CARD_DUR; // 78,末卡落地
21
+ const SIDE_END = IMPACT_2 + 14; // 92 侧边栏到位(过冲点)
22
+ const SIDE_SETTLE = SIDE_END + 8; // 100 回弹结束,此后真静止
23
+
24
+ // 撞击震动:一拍,4f 内衰减归零
25
+ const shake = (f: number, at: number, amp: number) => {
26
+ if (f < at || f > at + 4) return 0;
27
+ const seq = [amp, -amp * 0.6, amp * 0.3, -amp * 0.12, 0];
28
+ return seq[f - at];
29
+ };
30
+
31
+ // 卡片行几何:内容中心 1080(给左侧 240 侧边栏留出位置)
32
+ const CARD_W = 340;
33
+ const CARD_H = 220;
34
+ const GAP = 40;
35
+ const ROW_W = 4 * CARD_W + 3 * GAP; // 1480
36
+ const ROW_LEFT = 1080 - ROW_W / 2; // 340
37
+ const CARD_TOP = 700; // 卡片底边 920,落在地板线上
38
+
39
+ export const DominoCascade: React.FC = () => {
40
+ const frame = useCurrentFrame();
41
+
42
+ // ① 标题砸落:画外顶 → 上半屏,ease-in 加速读作"砸"
43
+ const titleTop = interpolate(frame, [TITLE_START, IMPACT_1], [-260, 240], {
44
+ easing: easeInCubic,
45
+ extrapolateLeft: 'clamp',
46
+ extrapolateRight: 'clamp',
47
+ });
48
+
49
+ // 两次撞击的全画面竖向震动
50
+ const shakeY = shake(frame, IMPACT_1, 10) + shake(frame, IMPACT_2, 6);
51
+
52
+ // ② 卡片弹跳:抛物线 4t(1-t),依次隔 5f
53
+ const cardDy = (i: number) => {
54
+ const s = IMPACT_1 + i * CARD_STAGGER;
55
+ const t = Math.min(1, Math.max(0, (frame - s) / CARD_DUR));
56
+ return -60 * 4 * t * (1 - t);
57
+ };
58
+ // 末卡落地时向左歪 3°(横向动量的可见出处),随后回正
59
+ const lastCardRot = interpolate(
60
+ frame,
61
+ [IMPACT_2 - 9, IMPACT_2, SIDE_END],
62
+ [0, -3, 0],
63
+ { extrapolateLeft: 'clamp', extrapolateRight: 'clamp' },
64
+ );
65
+
66
+ // ③ 侧边栏横向撞滑:带初速滑入 + 过冲回弹
67
+ let sideX: number;
68
+ if (frame < IMPACT_2) {
69
+ sideX = -260;
70
+ } else if (frame < SIDE_END) {
71
+ const t = (frame - IMPACT_2) / (SIDE_END - IMPACT_2);
72
+ sideX = -260 + 272 * easeOutCubic(t); // 冲到 +12(约 5% 过冲)
73
+ } else if (frame < SIDE_SETTLE) {
74
+ const t = (frame - SIDE_END) / (SIDE_SETTLE - SIDE_END);
75
+ sideX = 12 * (1 - Easing.inOut(Easing.quad)(t));
76
+ } else {
77
+ sideX = 0;
78
+ }
79
+
80
+ return (
81
+ <div style={{ width: 1920, height: 1080, background: G.bg, overflow: 'hidden', position: 'relative' }}>
82
+ {/* 全画面震动容器 */}
83
+ <div style={{ position: 'absolute', inset: 0, transform: `translateY(${shakeY}px)` }}>
84
+ {/* 地板线:卡片落点 */}
85
+ <div style={{ position: 'absolute', left: ROW_LEFT - 30, top: 928, width: ROW_W + 60, height: 6, background: G.bar, borderRadius: 3 }} />
86
+
87
+ {/* ① 砸落的标题 */}
88
+ <div style={{ position: 'absolute', left: 240, width: 1680, top: titleTop, display: 'flex', justifyContent: 'center' }}>
89
+ <TitleBlock text="CHAIN REACTION" size={120} />
90
+ </div>
91
+
92
+ {/* ② 被震弹起的 4 张卡片 */}
93
+ {[0, 1, 2, 3].map((i) => (
94
+ <div
95
+ key={i}
96
+ style={{
97
+ position: 'absolute',
98
+ left: ROW_LEFT + i * (CARD_W + GAP),
99
+ top: CARD_TOP,
100
+ transform: `translateY(${cardDy(i)}px)${i === 3 ? ` rotate(${lastCardRot}deg)` : ''}`,
101
+ transformOrigin: '50% 100%',
102
+ }}
103
+ >
104
+ <Card w={CARD_W} h={CARD_H} seed={i + 2} />
105
+ </div>
106
+ ))}
107
+
108
+ {/* ③ 被撞滑进场的侧边栏 */}
109
+ <div
110
+ style={{
111
+ position: 'absolute', left: 0, top: 0, width: 240, height: 1080,
112
+ background: G.side, transform: `translateX(${sideX}px)`,
113
+ padding: '32px 24px', boxSizing: 'border-box',
114
+ display: 'flex', flexDirection: 'column', gap: 22,
115
+ }}
116
+ >
117
+ <div style={{ width: 44, height: 44, borderRadius: 10, background: '#777775' }} />
118
+ {Array.from({ length: 8 }).map((_, i) => (
119
+ <div key={i} style={{ height: 13, width: `${58 + ((i * 31) % 38)}%`, background: G.sideBar, borderRadius: 6 }} />
120
+ ))}
121
+ </div>
122
+ </div>
123
+ </div>
124
+ );
125
+ };
@@ -0,0 +1,135 @@
1
+ // 落拍黑场爆开(drop-blackout-slam)——EDM concert blackout 的节奏手法:
2
+ // 帧 0–49:假面板正常"播放"(scale 呼吸 1.0↔1.02)+右下角节拍点每 12f 闪一下;
3
+ // 帧 50–61:一帧切纯黑 #0c0c0c,整整 12f 死寂,屏上完全无物(蓄力全靠这一拍静默);
4
+ // 帧 62:白色大标题 "DROP" 从 scale 1.35 撞到 1.0(5f cubic out),同帧整屏
5
+ // 10px 震屏指数衰减(τ≈2.5f,约 12f 收干),底色变 G.ink 并从中心泛出一圈
6
+ // 快速消散的亮环;帧 ~80 起全静止到 130,收尾 ≥40f 真静止。
7
+ import React from 'react';
8
+ import { useCurrentFrame, interpolate, Easing } from 'remotion';
9
+ import { FakeDashboard, G } from '../_fixtures/Fixtures';
10
+
11
+ // 帧确定伪随机(硬规矩:禁 Math.random)
12
+ const h = (n: number) => {
13
+ const s = Math.sin(n * 127.3) * 43758.5453;
14
+ return s - Math.floor(s);
15
+ };
16
+
17
+ const BLACK_IN = 50; // 切黑帧
18
+ const SLAM = 62; // 爆入帧
19
+
20
+ export const DropBlackoutSlam: React.FC = () => {
21
+ const f = useCurrentFrame();
22
+
23
+ // ===== 段 1:帧 0–49 正常播放 =====
24
+ if (f < BLACK_IN) {
25
+ // scale 呼吸 1.0↔1.02,周期 48f
26
+ const breathe = 1.01 + 0.01 * Math.sin((f / 48) * Math.PI * 2);
27
+ // 节拍点:每 12f 闪一下(亮 4f 衰减)
28
+ const beatPhase = f % 12;
29
+ const beatOn = interpolate(beatPhase, [0, 1, 5], [0.25, 1, 0.25], {
30
+ extrapolateLeft: 'clamp',
31
+ extrapolateRight: 'clamp',
32
+ });
33
+ const beatScale = interpolate(beatPhase, [0, 1, 5], [1, 1.5, 1], {
34
+ extrapolateLeft: 'clamp',
35
+ extrapolateRight: 'clamp',
36
+ });
37
+ return (
38
+ <div style={{ width: 1920, height: 1080, background: G.bg, overflow: 'hidden', position: 'relative' }}>
39
+ <div style={{ width: 1920, height: 1080, transform: `scale(${breathe})`, transformOrigin: '50% 50%' }}>
40
+ <FakeDashboard variant="B" />
41
+ </div>
42
+ {/* 右下角节拍点 */}
43
+ <div
44
+ style={{
45
+ position: 'absolute',
46
+ right: 56,
47
+ bottom: 48,
48
+ width: 36,
49
+ height: 36,
50
+ borderRadius: 18,
51
+ background: G.ink,
52
+ opacity: beatOn,
53
+ transform: `scale(${beatScale})`,
54
+ }}
55
+ />
56
+ </div>
57
+ );
58
+ }
59
+
60
+ // ===== 段 2:帧 50–61 纯黑死寂,屏上完全无物 =====
61
+ if (f < SLAM) {
62
+ return <div style={{ width: 1920, height: 1080, background: '#0c0c0c' }} />;
63
+ }
64
+
65
+ // ===== 段 3:帧 62 起爆入 =====
66
+ const t = f - SLAM;
67
+
68
+ // 标题:scale 1.35 → 1.0,5f cubic out
69
+ const slamScale = interpolate(t, [0, 5], [1.35, 1], {
70
+ easing: Easing.out(Easing.cubic),
71
+ extrapolateLeft: 'clamp',
72
+ extrapolateRight: 'clamp',
73
+ });
74
+
75
+ // 震屏:10px 指数衰减,τ≈2.5f,~12f 收干;t≥14 强制归零保证结尾真静止
76
+ const amp = t >= 14 ? 0 : 10 * Math.exp(-t / 2.5);
77
+ const shakeX = amp === 0 ? 0 : (h(f * 3.7 + 1) - 0.5) * 2 * amp;
78
+ const shakeY = amp === 0 ? 0 : (h(f * 7.1 + 2) - 0.5) * 2 * amp;
79
+
80
+ // 亮环:从中心快速扩散并消散,~16f 走完(t≥16 后 opacity=0 且不再画)
81
+ const ringR = interpolate(t, [0, 16], [80, 900], {
82
+ easing: Easing.out(Easing.cubic),
83
+ extrapolateLeft: 'clamp',
84
+ extrapolateRight: 'clamp',
85
+ });
86
+ const ringOpacity = interpolate(t, [0, 3, 16], [0.85, 0.55, 0], {
87
+ extrapolateLeft: 'clamp',
88
+ extrapolateRight: 'clamp',
89
+ });
90
+
91
+ return (
92
+ <div style={{ width: 1920, height: 1080, background: G.ink, overflow: 'hidden', position: 'relative' }}>
93
+ <div
94
+ style={{
95
+ width: 1920,
96
+ height: 1080,
97
+ transform: `translate(${shakeX}px, ${shakeY}px)`,
98
+ display: 'flex',
99
+ alignItems: 'center',
100
+ justifyContent: 'center',
101
+ position: 'relative',
102
+ }}
103
+ >
104
+ {/* 亮环:快速扩散消散 */}
105
+ {t < 16 && (
106
+ <div
107
+ style={{
108
+ position: 'absolute',
109
+ left: 960 - ringR,
110
+ top: 540 - ringR,
111
+ width: ringR * 2,
112
+ height: ringR * 2,
113
+ borderRadius: '50%',
114
+ border: '10px solid #ffffff',
115
+ opacity: ringOpacity,
116
+ }}
117
+ />
118
+ )}
119
+ <div
120
+ style={{
121
+ fontFamily: 'Helvetica, Arial, sans-serif',
122
+ fontWeight: 800,
123
+ fontSize: 340,
124
+ color: '#ffffff',
125
+ letterSpacing: -6,
126
+ transform: `scale(${slamScale})`,
127
+ lineHeight: 1,
128
+ }}
129
+ >
130
+ DROP
131
+ </div>
132
+ </div>
133
+ </div>
134
+ );
135
+ };