hyper-animator-codex 0.7.1 → 0.8.1

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 -4
  2. package/bin/hyper-animator-codex.mjs +1 -1
  3. package/lib/minimax-config.mjs +3 -3
  4. package/package.json +4 -1
  5. package/skills/hyper-animator-codex/SKILL.md +66 -22
  6. package/skills/hyper-animator-codex/agents/openai.yaml +2 -2
  7. package/skills/hyper-animator-codex/contracts/shot-plan.schema.json +280 -0
  8. package/skills/hyper-animator-codex/contracts/workflow-policy.json +97 -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 +99 -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 +32 -8
  15. package/skills/hyper-animator-codex/references/minimax-music-workflow.md +24 -4
  16. package/skills/hyper-animator-codex/references/narration-audio-workflow.md +47 -10
  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/motion-pack/README.md +32 -0
  126. package/skills/hyper-animator-codex/references/shotcraft/motion-pack/shotcraft-motion-pack.js +178 -0
  127. package/skills/hyper-animator-codex/references/shotcraft/references/aesthetic-rules.md +157 -0
  128. package/skills/hyper-animator-codex/references/shotcraft/references/final-review.md +107 -0
  129. package/skills/hyper-animator-codex/references/shotcraft/references/guided-free-creation.md +197 -0
  130. package/skills/hyper-animator-codex/references/shotcraft/references/music-beat-sync.md +125 -0
  131. package/skills/hyper-animator-codex/references/shotcraft/references/pipeline.md +357 -0
  132. package/skills/hyper-animator-codex/references/shotcraft/references/sound-design.md +126 -0
  133. package/skills/hyper-animator-codex/references/shotcraft/source/assets/lib/Caption.tsx +50 -0
  134. package/skills/hyper-animator-codex/references/shotcraft/source/assets/lib/DigitRoll.tsx +45 -0
  135. package/skills/hyper-animator-codex/references/shotcraft/source/assets/lib/FlashCut.tsx +20 -0
  136. package/skills/hyper-animator-codex/references/shotcraft/source/assets/lib/FlatPanel.tsx +65 -0
  137. package/skills/hyper-animator-codex/references/shotcraft/source/assets/lib/PageCam.tsx +151 -0
  138. package/skills/hyper-animator-codex/references/shotcraft/source/assets/lib/VerticalTicker.tsx +129 -0
  139. package/skills/hyper-animator-codex/references/shotcraft/source/assets/lib/helpers/camera.tsx +75 -0
  140. package/skills/hyper-animator-codex/references/shotcraft/source/assets/lib/helpers/motion.ts +40 -0
  141. package/skills/hyper-animator-codex/references/shotcraft/source/assets/lib/helpers/rand.ts +11 -0
  142. package/skills/hyper-animator-codex/references/shotcraft/source/assets/lib/helpers/shake.ts +10 -0
  143. package/skills/hyper-animator-codex/references/shotcraft/source/demos/_fixtures/Fixtures.tsx +83 -0
  144. package/skills/hyper-animator-codex/references/shotcraft/source/demos/ai-stream-response/StreamResponse.tsx +146 -0
  145. package/skills/hyper-animator-codex/references/shotcraft/source/demos/autolayout-gap-dial/AutolayoutGapDial.tsx +174 -0
  146. package/skills/hyper-animator-codex/references/shotcraft/source/demos/beat-cut-moves/BeatCutAccelerando.tsx +77 -0
  147. package/skills/hyper-animator-codex/references/shotcraft/source/demos/beat-cut-moves/PaparazziFlash.tsx +115 -0
  148. package/skills/hyper-animator-codex/references/shotcraft/source/demos/beat-step-list-theme-cycle/BeatStepListThemeCycle.tsx +98 -0
  149. package/skills/hyper-animator-codex/references/shotcraft/source/demos/before-after-slider-scrub/BeforeAfterSliderScrub.tsx +99 -0
  150. package/skills/hyper-animator-codex/references/shotcraft/source/demos/bottom-push-stack-wipe/BottomPushStackWipe.tsx +79 -0
  151. package/skills/hyper-animator-codex/references/shotcraft/source/demos/brand-frame-snap/BrandFrameSnap.tsx +110 -0
  152. package/skills/hyper-animator-codex/references/shotcraft/source/demos/bubble-swarm-takeover/BubbleSwarmTakeover.tsx +189 -0
  153. package/skills/hyper-animator-codex/references/shotcraft/source/demos/canvas-materialize-moves/DiagramCascadeBuild.tsx +172 -0
  154. package/skills/hyper-animator-codex/references/shotcraft/source/demos/canvas-materialize-moves/PanelToCanvasMaterialize.tsx +254 -0
  155. package/skills/hyper-animator-codex/references/shotcraft/source/demos/card-flip-reveal/CardFlipReveal.tsx +139 -0
  156. package/skills/hyper-animator-codex/references/shotcraft/source/demos/card-flock-tumble/CardFlockTumble.tsx +382 -0
  157. package/skills/hyper-animator-codex/references/shotcraft/source/demos/cel-flash-stomp/CelFlashStomp.tsx +111 -0
  158. package/skills/hyper-animator-codex/references/shotcraft/source/demos/chart-live-moves/AxisRescaleShockV2.tsx +282 -0
  159. package/skills/hyper-animator-codex/references/shotcraft/source/demos/chart-live-moves/OscilloscopeStreamV2.tsx +227 -0
  160. package/skills/hyper-animator-codex/references/shotcraft/source/demos/chart-live-moves/UnitDotSwarmRegroupV2.tsx +248 -0
  161. package/skills/hyper-animator-codex/references/shotcraft/source/demos/circle-match-iris/CircleMatchIris.tsx +124 -0
  162. package/skills/hyper-animator-codex/references/shotcraft/source/demos/cloner-depth-echo/ClonerDepthEcho.tsx +90 -0
  163. package/skills/hyper-animator-codex/references/shotcraft/source/demos/collab-cursor-moves/CursorCastEnsemble.tsx +136 -0
  164. package/skills/hyper-animator-codex/references/shotcraft/source/demos/collab-cursor-moves/CursorDialogueDuet.tsx +145 -0
  165. package/skills/hyper-animator-codex/references/shotcraft/source/demos/color-block-step-wipe/ColorBlockStepWipe.tsx +157 -0
  166. package/skills/hyper-animator-codex/references/shotcraft/source/demos/command-palette-summon/CommandPaletteSummon.tsx +173 -0
  167. package/skills/hyper-animator-codex/references/shotcraft/source/demos/crane-rise-reveal/CraneRiseReveal.tsx +91 -0
  168. package/skills/hyper-animator-codex/references/shotcraft/source/demos/crash-zoom-punch/CrashImpactReal.tsx +63 -0
  169. package/skills/hyper-animator-codex/references/shotcraft/source/demos/crash-zoom-punch/CrashZoomReal.tsx +60 -0
  170. package/skills/hyper-animator-codex/references/shotcraft/source/demos/dataviz-landscape-open/DatavizLandscapeOpen.tsx +401 -0
  171. package/skills/hyper-animator-codex/references/shotcraft/source/demos/depth-layer-moves/DollyZoomReal.tsx +55 -0
  172. package/skills/hyper-animator-codex/references/shotcraft/source/demos/depth-layer-moves/MultiplaneReal.tsx +45 -0
  173. package/skills/hyper-animator-codex/references/shotcraft/source/demos/draw-svg-trace/DrawSvgTrace.tsx +199 -0
  174. package/skills/hyper-animator-codex/references/shotcraft/source/demos/edit-hook-moves/LogoStingButton.tsx +106 -0
  175. package/skills/hyper-animator-codex/references/shotcraft/source/demos/element-body-moves/AxialStretch.tsx +112 -0
  176. package/skills/hyper-animator-codex/references/shotcraft/source/demos/element-body-moves/ContactShadowLift.tsx +117 -0
  177. package/skills/hyper-animator-codex/references/shotcraft/source/demos/fui-hud-moves/LineUnfoldPanel.tsx +125 -0
  178. package/skills/hyper-animator-codex/references/shotcraft/source/demos/fui-hud-moves/ReticleLockOn.tsx +139 -0
  179. package/skills/hyper-animator-codex/references/shotcraft/source/demos/gauge-readout-moves/NeedleSweepSelftest.tsx +146 -0
  180. package/skills/hyper-animator-codex/references/shotcraft/source/demos/gauge-readout-moves/TapeScrollFixedPointer.tsx +120 -0
  181. package/skills/hyper-animator-codex/references/shotcraft/source/demos/glow-flyline-moves/FlylineArc.tsx +158 -0
  182. package/skills/hyper-animator-codex/references/shotcraft/source/demos/glow-flyline-moves/GlowOrbAmbient.tsx +131 -0
  183. package/skills/hyper-animator-codex/references/shotcraft/source/demos/glow-flyline-moves/OrbFlylineRelay.tsx +268 -0
  184. package/skills/hyper-animator-codex/references/shotcraft/source/demos/gradient-word-sweep/GradientWordSweep.tsx +307 -0
  185. package/skills/hyper-animator-codex/references/shotcraft/source/demos/graze-face-tour/GrazeFaceTour.tsx +469 -0
  186. package/skills/hyper-animator-codex/references/shotcraft/source/demos/hashtag-to-pill-materialize/HashtagToPillMaterialize.tsx +166 -0
  187. package/skills/hyper-animator-codex/references/shotcraft/source/demos/icon-field-colorize/IconFieldColorize.tsx +93 -0
  188. package/skills/hyper-animator-codex/references/shotcraft/source/demos/icon-performance-moves/AttentionBounce.tsx +193 -0
  189. package/skills/hyper-animator-codex/references/shotcraft/source/demos/icon-performance-moves/PopBurstConfirm.tsx +162 -0
  190. package/skills/hyper-animator-codex/references/shotcraft/source/demos/impact-feedback/AnimeImpact.tsx +149 -0
  191. package/skills/hyper-animator-codex/references/shotcraft/source/demos/impact-feedback/HitCounter.tsx +147 -0
  192. package/skills/hyper-animator-codex/references/shotcraft/source/demos/input-trigger-moves/CursorPerformancePunchIn.tsx +154 -0
  193. package/skills/hyper-animator-codex/references/shotcraft/source/demos/input-trigger-moves/KeycapSmashCut.tsx +217 -0
  194. package/skills/hyper-animator-codex/references/shotcraft/source/demos/integration-hub-map/IntegrationHubMap.tsx +554 -0
  195. package/skills/hyper-animator-codex/references/shotcraft/source/demos/letterspace-materialize/LetterspaceMaterialize.tsx +85 -0
  196. package/skills/hyper-animator-codex/references/shotcraft/source/demos/light-play-moves/HalationBloom.tsx +139 -0
  197. package/skills/hyper-animator-codex/references/shotcraft/source/demos/light-play-moves/SheenSweepRetry.tsx +85 -0
  198. package/skills/hyper-animator-codex/references/shotcraft/source/demos/light-play-moves/SpotlightSweepReveal.tsx +102 -0
  199. package/skills/hyper-animator-codex/references/shotcraft/source/demos/line-boil/LineBoil.tsx +140 -0
  200. package/skills/hyper-animator-codex/references/shotcraft/source/demos/line-carry-transition/LineCarryTransition.tsx +151 -0
  201. package/skills/hyper-animator-codex/references/shotcraft/source/demos/magician-card-flourish/MagicianCardFlourish.tsx +294 -0
  202. package/skills/hyper-animator-codex/references/shotcraft/source/demos/marker-underline-title/MarkerUnderlineTitle.tsx +87 -0
  203. package/skills/hyper-animator-codex/references/shotcraft/source/demos/montage-rhythm-moves/DominoCascade.tsx +125 -0
  204. package/skills/hyper-animator-codex/references/shotcraft/source/demos/montage-rhythm-moves/DropBlackoutSlam.tsx +135 -0
  205. package/skills/hyper-animator-codex/references/shotcraft/source/demos/montage-rhythm-moves/WrightTripleCut.tsx +175 -0
  206. package/skills/hyper-animator-codex/references/shotcraft/source/demos/morph-from-primitive/MorphFromPrimitive.tsx +190 -0
  207. package/skills/hyper-animator-codex/references/shotcraft/source/demos/neon-frame-forerun/NeonFrameForerun.tsx +279 -0
  208. package/skills/hyper-animator-codex/references/shotcraft/source/demos/neon-frame-orbit-drop/NeonFrameForerunOrbit.tsx +273 -0
  209. package/skills/hyper-animator-codex/references/shotcraft/source/demos/neon-triple-marquee/NeonTripleMarquee.tsx +111 -0
  210. package/skills/hyper-animator-codex/references/shotcraft/source/demos/odometer-digit-roll/OdometerDigitRoll.tsx +178 -0
  211. package/skills/hyper-animator-codex/references/shotcraft/source/demos/overhead-camera-moves/OverheadTabletopDrop.tsx +129 -0
  212. package/skills/hyper-animator-codex/references/shotcraft/source/demos/overhead-camera-moves/TiltReveal.tsx +55 -0
  213. package/skills/hyper-animator-codex/references/shotcraft/source/demos/page-turn-transitions/BarnDoorSplit.tsx +138 -0
  214. package/skills/hyper-animator-codex/references/shotcraft/source/demos/page-turn-transitions/CubeRotate.tsx +114 -0
  215. package/skills/hyper-animator-codex/references/shotcraft/source/demos/page-waterfall-wall/PageWaterfallWall.tsx +76 -0
  216. package/skills/hyper-animator-codex/references/shotcraft/source/demos/page-waterfall-wall/VerticalTicker.tsx +129 -0
  217. package/skills/hyper-animator-codex/references/shotcraft/source/demos/panel-grid-moves/ComicPanelSplit.tsx +171 -0
  218. package/skills/hyper-animator-codex/references/shotcraft/source/demos/panel-grid-moves/FlipGridReflow.tsx +121 -0
  219. package/skills/hyper-animator-codex/references/shotcraft/source/demos/panel-grid-moves/GridFlashMosaic.tsx +182 -0
  220. package/skills/hyper-animator-codex/references/shotcraft/source/demos/paper-craft-moves/MaskingTapeSlap.tsx +163 -0
  221. package/skills/hyper-animator-codex/references/shotcraft/source/demos/paper-craft-moves/PopupBookRise.tsx +134 -0
  222. package/skills/hyper-animator-codex/references/shotcraft/source/demos/paper-plane-messenger/PaperPlaneMessenger.tsx +183 -0
  223. package/skills/hyper-animator-codex/references/shotcraft/source/demos/particle-celebrate-hits/ConfettiCrossfire.tsx +115 -0
  224. package/skills/hyper-animator-codex/references/shotcraft/source/demos/particle-celebrate-hits/CounterTickSparks.tsx +103 -0
  225. package/skills/hyper-animator-codex/references/shotcraft/source/demos/particle-sand-fill/ParticleSandFill.tsx +119 -0
  226. package/skills/hyper-animator-codex/references/shotcraft/source/demos/pill-slot-cycle/PillSlotCycle.tsx +220 -0
  227. package/skills/hyper-animator-codex/references/shotcraft/source/demos/print-texture-transitions/InkBleedReveal.tsx +81 -0
  228. package/skills/hyper-animator-codex/references/shotcraft/source/demos/rhythm-interrupt-moves/JumpCutPunchIn.tsx +72 -0
  229. package/skills/hyper-animator-codex/references/shotcraft/source/demos/rhythm-interrupt-moves/StrobeBlackFrames.tsx +99 -0
  230. package/skills/hyper-animator-codex/references/shotcraft/source/demos/riso-print-hits/RisoBeatPump.tsx +155 -0
  231. package/skills/hyper-animator-codex/references/shotcraft/source/demos/riso-print-hits/RisoMisregistrationHit.tsx +120 -0
  232. package/skills/hyper-animator-codex/references/shotcraft/source/demos/runway-ground-skim/RunwayGroundSkim.tsx +258 -0
  233. package/skills/hyper-animator-codex/references/shotcraft/source/demos/sakuga-timing-shift/SakugaTimingShift.tsx +178 -0
  234. package/skills/hyper-animator-codex/references/shotcraft/source/demos/scene-locked-title/SceneLockedTitle.tsx +98 -0
  235. package/skills/hyper-animator-codex/references/shotcraft/source/demos/scroll-brake-moves/BrakeReticleLock.tsx +171 -0
  236. package/skills/hyper-animator-codex/references/shotcraft/source/demos/scroll-brake-moves/ChangelogScrollBrake.tsx +117 -0
  237. package/skills/hyper-animator-codex/references/shotcraft/source/demos/segmented-thumb-hero/SegmentedThumbHero.tsx +213 -0
  238. package/skills/hyper-animator-codex/references/shotcraft/source/demos/shot-transitions/MaskWipeReal.tsx +67 -0
  239. package/skills/hyper-animator-codex/references/shotcraft/source/demos/shot-transitions/PortalWipeV2.tsx +128 -0
  240. package/skills/hyper-animator-codex/references/shotcraft/source/demos/shot-transitions/WhipBrakeReal.tsx +60 -0
  241. package/skills/hyper-animator-codex/references/shotcraft/source/demos/shot-transitions/WhipPanReal.tsx +45 -0
  242. package/skills/hyper-animator-codex/references/shotcraft/source/demos/skeleton-reveal/SkeletonReveal.tsx +283 -0
  243. package/skills/hyper-animator-codex/references/shotcraft/source/demos/slam-entrance-moves/ImpactBurstKit.tsx +185 -0
  244. package/skills/hyper-animator-codex/references/shotcraft/source/demos/slam-entrance-moves/KanadaPerspectiveSnap.tsx +91 -0
  245. package/skills/hyper-animator-codex/references/shotcraft/source/demos/slam-entrance-moves/ScoreSlam.tsx +225 -0
  246. package/skills/hyper-animator-codex/references/shotcraft/source/demos/smear-multiples/SmearMultiples.tsx +88 -0
  247. package/skills/hyper-animator-codex/references/shotcraft/source/demos/space-camera-moves/DroneDiveLanding.tsx +91 -0
  248. package/skills/hyper-animator-codex/references/shotcraft/source/demos/space-camera-moves/ExplodedView.tsx +178 -0
  249. package/skills/hyper-animator-codex/references/shotcraft/source/demos/space-camera-moves/SnorricamLock.tsx +130 -0
  250. package/skills/hyper-animator-codex/references/shotcraft/source/demos/spectrum-morph-ui/SpectrumMorphUi.tsx +129 -0
  251. package/skills/hyper-animator-codex/references/shotcraft/source/demos/speed-ramp-freeze/FreezeAnnotateReal.tsx +70 -0
  252. package/skills/hyper-animator-codex/references/shotcraft/source/demos/speed-ramp-freeze/SpeedRampReal.tsx +58 -0
  253. package/skills/hyper-animator-codex/references/shotcraft/source/demos/split-flap-title/SplitFlapFlip.tsx +189 -0
  254. package/skills/hyper-animator-codex/references/shotcraft/source/demos/spotlight-sweep-moves/CornerSpotlightReveal.tsx +121 -0
  255. package/skills/hyper-animator-codex/references/shotcraft/source/demos/spotlight-sweep-moves/GlowWakeSleepPanel.tsx +183 -0
  256. package/skills/hyper-animator-codex/references/shotcraft/source/demos/spotlight-sweep-moves/SlideSpotlightPan.tsx +171 -0
  257. package/skills/hyper-animator-codex/references/shotcraft/source/demos/steep-tilt-glide/SteepTiltGlide.tsx +315 -0
  258. package/skills/hyper-animator-codex/references/shotcraft/source/demos/stroke-segment-build/StrokeSegmentBuild.tsx +126 -0
  259. package/skills/hyper-animator-codex/references/shotcraft/source/demos/tear-streak-transitions/GlitchDisplace.tsx +107 -0
  260. package/skills/hyper-animator-codex/references/shotcraft/source/demos/tension-camera-moves/BulletTimeFreezeOrbit.tsx +219 -0
  261. package/skills/hyper-animator-codex/references/shotcraft/source/demos/tension-camera-moves/DutchRollToLevel.tsx +110 -0
  262. package/skills/hyper-animator-codex/references/shotcraft/source/demos/tension-camera-moves/PullBackIsolation.tsx +120 -0
  263. package/skills/hyper-animator-codex/references/shotcraft/source/demos/tension-camera-moves/SlowPushIn.tsx +96 -0
  264. package/skills/hyper-animator-codex/references/shotcraft/source/demos/text-as-mask/TextAsMask.tsx +94 -0
  265. package/skills/hyper-animator-codex/references/shotcraft/source/demos/text-column-converge/TextColumnConverge.tsx +122 -0
  266. package/skills/hyper-animator-codex/references/shotcraft/source/demos/theme-switch-moves/PaletteThemeRipple.tsx +207 -0
  267. package/skills/hyper-animator-codex/references/shotcraft/source/demos/theme-switch-moves/ThemeSweepToggle.tsx +123 -0
  268. package/skills/hyper-animator-codex/references/shotcraft/source/demos/timeline-travel/TimelineTravel.tsx +123 -0
  269. package/skills/hyper-animator-codex/references/shotcraft/source/demos/title-demote-to-label/TitleDemoteToLabel.tsx +174 -0
  270. package/skills/hyper-animator-codex/references/shotcraft/source/demos/trailer-grammar-moves/CardFootageCadence.tsx +118 -0
  271. package/skills/hyper-animator-codex/references/shotcraft/source/demos/trailer-grammar-moves/SmashCut.tsx +105 -0
  272. package/skills/hyper-animator-codex/references/shotcraft/source/demos/trailer-grammar-moves/TrailerBumper.tsx +103 -0
  273. package/skills/hyper-animator-codex/references/shotcraft/source/demos/transition-hidden-cut/InvisibleCut.tsx +93 -0
  274. package/skills/hyper-animator-codex/references/shotcraft/source/demos/transition-hidden-cut/LightLeakBurn.tsx +122 -0
  275. package/skills/hyper-animator-codex/references/shotcraft/source/demos/transition-hidden-cut/VersusSlam.tsx +104 -0
  276. package/skills/hyper-animator-codex/references/shotcraft/source/demos/transition-travel/LetterformZoom.tsx +141 -0
  277. package/skills/hyper-animator-codex/references/shotcraft/source/demos/transition-travel/SharedElementMorph.tsx +101 -0
  278. package/skills/hyper-animator-codex/references/shotcraft/source/demos/type-assembly-moves/LetterformDriftAssembly.tsx +107 -0
  279. package/skills/hyper-animator-codex/references/shotcraft/source/demos/type-assembly-moves/SplitTextStagger.tsx +101 -0
  280. package/skills/hyper-animator-codex/references/shotcraft/source/demos/type-assembly-moves/TextOnPath.tsx +92 -0
  281. package/skills/hyper-animator-codex/references/shotcraft/source/demos/type-assembly-moves/TrackingExpandReveal.tsx +109 -0
  282. package/skills/hyper-animator-codex/references/shotcraft/source/demos/type-entrance-moves/LetterDropPhysics.tsx +100 -0
  283. package/skills/hyper-animator-codex/references/shotcraft/source/demos/type-entrance-moves/ScrambleDecode.tsx +90 -0
  284. package/skills/hyper-animator-codex/references/shotcraft/source/demos/type-rhythm-sync/FontWeightPump.tsx +124 -0
  285. package/skills/hyper-animator-codex/references/shotcraft/source/demos/type-rhythm-sync/KaraokeFillSync.tsx +93 -0
  286. package/skills/hyper-animator-codex/references/shotcraft/source/demos/typewriter-moves/TerminalTypewriter.tsx +122 -0
  287. package/skills/hyper-animator-codex/references/shotcraft/source/demos/typewriter-moves/TypewriterErrorRetype.tsx +109 -0
  288. package/skills/hyper-animator-codex/references/shotcraft/source/demos/ui-strip-away-outro/UiStripAwayOutro.tsx +218 -0
  289. package/skills/hyper-animator-codex/references/shotcraft/source/demos/ui-to-brand-morph/IconFlipBloomLogo.tsx +199 -0
  290. package/skills/hyper-animator-codex/references/shotcraft/source/demos/ui-to-brand-morph/InputMorphsIntoLogo.tsx +215 -0
  291. package/skills/hyper-animator-codex/references/shotcraft/source/demos/voice-waveform-live/VoiceWaveformLive.tsx +171 -0
  292. package/skills/hyper-animator-codex/references/shotcraft/source/demos/wall-reveal-moves/BentoLightUp.tsx +135 -0
  293. package/skills/hyper-animator-codex/references/shotcraft/source/demos/wipe-transitions/BlindsSlice.tsx +107 -0
  294. package/skills/hyper-animator-codex/references/shotcraft/source/demos/wipe-transitions/ClockWipe.tsx +83 -0
  295. package/skills/hyper-animator-codex/references/shotcraft/source/demos/word-relay-filmstrip/WordRelayFilmstrip.tsx +300 -0
  296. package/skills/hyper-animator-codex/references/shotcraft/source/template/src/Root.tsx +15 -0
  297. package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/Caption.tsx +49 -0
  298. package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/DigitRoll.tsx +44 -0
  299. package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/FlashCut.tsx +19 -0
  300. package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/Main.tsx +163 -0
  301. package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/PaperTitleCard.tsx +89 -0
  302. package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/live/PageCam.tsx +145 -0
  303. package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/live/SceneDetail.tsx +146 -0
  304. package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/live/SceneFlyIn.tsx +447 -0
  305. package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/live/SceneOpen.tsx +532 -0
  306. package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/live/SceneOutroLive.tsx +394 -0
  307. package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/live/ScenePapers.tsx +185 -0
  308. package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/live/SceneWbr.tsx +299 -0
  309. package/skills/hyper-animator-codex/references/shotcraft/source/template/src/index.ts +4 -0
  310. package/skills/hyper-animator-codex/references/shotcraft/source-notes.md +10 -0
  311. package/skills/hyper-animator-codex/scripts/generate_minimax_music.mjs +27 -10
  312. package/skills/hyper-animator-codex/scripts/generate_minimax_tts.mjs +142 -13
  313. package/skills/hyper-animator-codex/scripts/generate_subtitles.mjs +42 -3
  314. package/skills/hyper-animator-codex/scripts/git_checkpoint.mjs +2 -2
  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 +266 -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,145 @@
1
+ // cursor-dialogue-duet —— figma-devmode 0:16–0:20
2
+ // 纯暗场上 Designer(蓝)/Developer(绿) 两枚具名光标做"对话式"双人舞:
3
+ // 相互靠近 → 绕位交换 → 名牌一亮一暗交接 → 一枚放大成巨箭头当转场。
4
+ import React from 'react';
5
+ import { useCurrentFrame, interpolate } from 'remotion';
6
+
7
+ const BLUE = '#4C8DF6';
8
+ const GREEN = '#2FBF71';
9
+ const DARK = '#101012';
10
+
11
+ const easeOutCubic = (t: number) => 1 - Math.pow(1 - t, 3);
12
+ const easeInOutCubic = (t: number) =>
13
+ t < 0.5 ? 4 * t * t * t : 1 - Math.pow(-2 * t + 2, 3) / 2;
14
+ const easeInCubic = (t: number) => t * t * t;
15
+
16
+ const clamp01 = (t: number) => Math.min(1, Math.max(0, t));
17
+
18
+ // 三次贝塞尔单段位移
19
+ const bez = (
20
+ t: number,
21
+ p0: [number, number], c1: [number, number], c2: [number, number], p3: [number, number],
22
+ ): [number, number] => {
23
+ const u = 1 - t;
24
+ const x = u * u * u * p0[0] + 3 * u * u * t * c1[0] + 3 * u * t * t * c2[0] + t * t * t * p3[0];
25
+ const y = u * u * u * p0[1] + 3 * u * u * t * c1[1] + 3 * u * t * t * c2[1] + t * t * t * p3[1];
26
+ return [x, y];
27
+ };
28
+
29
+ const Cursor: React.FC<{
30
+ x: number; y: number; scale: number; color: string; name: string;
31
+ badgeLit: number; // 0 压暗 1 点亮
32
+ badgeOpacity?: number;
33
+ }> = ({ x, y, scale, color, name, badgeLit, badgeOpacity = 1 }) => (
34
+ <div style={{ position: 'absolute', left: x, top: y, transform: `scale(${scale})`, transformOrigin: '0 0' }}>
35
+ <svg width={42} height={62} viewBox="0 0 13.5 20" style={{ display: 'block', overflow: 'visible' }}>
36
+ <path
37
+ d="M0.5 0.5 L0.5 17.2 L4.7 13.4 L7.3 19.5 L10 18.3 L7.4 12.3 L13 12.3 Z"
38
+ fill={color} stroke="#ffffff" strokeWidth={1.1} strokeLinejoin="round"
39
+ />
40
+ </svg>
41
+ <div style={{
42
+ position: 'absolute', left: 34, top: 56, whiteSpace: 'nowrap',
43
+ background: color, color: '#fff', borderRadius: 8, padding: '5px 13px',
44
+ fontFamily: 'Helvetica, Arial, sans-serif', fontWeight: 700, fontSize: 16,
45
+ opacity: badgeOpacity * (0.28 + 0.72 * badgeLit),
46
+ filter: `saturate(${0.35 + 0.65 * badgeLit})`,
47
+ boxShadow: badgeLit > 0.6 ? `0 0 ${22 * badgeLit}px ${color}` : 'none',
48
+ }}>
49
+ {name}
50
+ </div>
51
+ </div>
52
+ );
53
+
54
+ export const CursorDialogueDuet: React.FC = () => {
55
+ const f = useCurrentFrame();
56
+ const CX = 960; const CY = 520;
57
+ const R = 270;
58
+
59
+ // ---------- Designer(蓝) 轨迹 ----------
60
+ let dx = 0; let dy = 0;
61
+ // 入场:画外左 → 左位(弹性减速)
62
+ {
63
+ const t = easeOutCubic(clamp01(f / 24));
64
+ [dx, dy] = bez(t, [-140, 260], [300, 300], [520, 620], [CX - R, CY]);
65
+ }
66
+ // 靠近:向 Developer 探身(26–56)
67
+ if (f > 26) {
68
+ const t = easeInOutCubic(clamp01((f - 26) / 30));
69
+ const [nx, ny] = bez(t, [CX - R, CY], [CX - R + 120, CY - 150], [CX - 90, CY - 120], [CX - 120, CY - 24]);
70
+ dx = nx; dy = ny;
71
+ }
72
+ // 绕位:从左侧经上方绕到右侧(60–98)
73
+ if (f > 60) {
74
+ const t = easeInOutCubic(clamp01((f - 60) / 38));
75
+ const a = Math.PI + t * Math.PI; // 180° → 360°(上半弧)
76
+ dx = CX + Math.cos(a) * (R - 40) * (1 - t * 0.15) - 0;
77
+ dy = CY + Math.sin(a) * (R - 110);
78
+ if (t < 0.08) { // 与靠近段衔接的小混合
79
+ const m = t / 0.08;
80
+ dx = (CX - 120) * (1 - m) + dx * m;
81
+ dy = (CY - 24) * (1 - m) + dy * m;
82
+ }
83
+ }
84
+ // 退场:加速甩出画面左下(104–128)
85
+ if (f > 104) {
86
+ const t = easeInCubic(clamp01((f - 104) / 24));
87
+ dx = interpolate(t, [0, 1], [dx, -320]);
88
+ dy = interpolate(t, [0, 1], [dy, 1240]);
89
+ }
90
+
91
+ // ---------- Developer(绿) 轨迹 ----------
92
+ let gx = 0; let gy = 0;
93
+ {
94
+ const t = easeOutCubic(clamp01((f - 4) / 24));
95
+ [gx, gy] = bez(clamp01(t), [2080, 820], [1700, 760], [1420, 420], [CX + R, CY]);
96
+ }
97
+ // 回应:微微后仰再前倾(30–58)
98
+ if (f > 30) {
99
+ const t = easeInOutCubic(clamp01((f - 30) / 28));
100
+ const sway = Math.sin(t * Math.PI) * 70;
101
+ gx = CX + R + sway * 0.6;
102
+ gy = CY - Math.sin(t * Math.PI * 2) * 40;
103
+ }
104
+ // 绕位:从右侧经下方绕到左侧(60–98)
105
+ if (f > 60) {
106
+ const t = easeInOutCubic(clamp01((f - 60) / 38));
107
+ const a = 0 + t * Math.PI; // 0° → 180°(下半弧)
108
+ gx = CX + Math.cos(a) * (R - 40);
109
+ gy = CY + Math.sin(a) * (R - 110);
110
+ }
111
+ // 终场:冲向中心并放大成巨箭头(100–140)
112
+ const blow = easeInCubic(clamp01((f - 100) / 34));
113
+ if (f > 100) {
114
+ gx = interpolate(blow, [0, 1], [gx, -160]);
115
+ gy = interpolate(blow, [0, 1], [gy, -140]);
116
+ }
117
+ const gScale = 2.8 + blow * 66;
118
+
119
+ // ---------- 名牌灯光交接 ----------
120
+ // 前半 Designer 点亮,绕位中段(f≈78)交接给 Developer
121
+ const handoff = easeInOutCubic(clamp01((f - 70) / 14));
122
+ const dLit = f < 24 ? easeOutCubic(clamp01(f / 24)) : 1 - handoff;
123
+ const gLit = handoff;
124
+ const dBadgeIn = easeOutCubic(clamp01((f - 12) / 14));
125
+ const gBadgeIn = easeOutCubic(clamp01((f - 18) / 14));
126
+
127
+ // 对话"脉冲"——靠近对话时轻微缩放呼吸
128
+ const dPulse = f > 26 && f < 60 ? 1 + Math.sin((f - 26) * 0.5) * 0.05 : 1;
129
+
130
+ return (
131
+ <div style={{ width: 1920, height: 1080, background: DARK, position: 'relative', overflow: 'hidden' }}>
132
+ {/* 暗场微光晕,给纯黑一点空间感 */}
133
+ <div style={{
134
+ position: 'absolute', inset: 0,
135
+ background: `radial-gradient(ellipse 1100px 700px at 50% 48%, rgba(255,255,255,0.045), transparent 70%)`,
136
+ }} />
137
+ {f <= 132 && (
138
+ <Cursor x={dx} y={dy} scale={2.8 * dPulse} color={BLUE} name="Designer"
139
+ badgeLit={dLit} badgeOpacity={dBadgeIn * (f > 104 ? 1 - easeInCubic(clamp01((f - 104) / 18)) : 1)} />
140
+ )}
141
+ <Cursor x={gx} y={gy} scale={gScale} color={GREEN} name="Developer"
142
+ badgeLit={gLit} badgeOpacity={gBadgeIn * (1 - clamp01((f - 102) / 12))} />
143
+ </div>
144
+ );
145
+ };
@@ -0,0 +1,157 @@
1
+ // color-block-step-wipe —— 纯色矩形按 steps() 离散阶跃吞屏转场
2
+ // 源:notion-ai 1.5–3.5s(蓝块中央阶跃生长)+ 26–27s(红块右下角斜向吃屏,携带页面卡)
3
+ // 核心语法:无缓动、逐帧硬跳的块状生长,像素游戏手感。
4
+ import React from 'react';
5
+ import { AbsoluteFill, useCurrentFrame } from 'remotion';
6
+ import { G, Card } from '../_fixtures/Fixtures';
7
+
8
+ const BLUE = '#2383e2';
9
+ const RED = '#e8503a';
10
+
11
+ // 离散阶跃:frame 越过阈值瞬间跳到新值,无插值
12
+ const stepVal = (frame: number, steps: Array<[number, number]>): number => {
13
+ let v = steps[0][1];
14
+ for (const [f, val] of steps) {
15
+ if (frame >= f) v = val;
16
+ }
17
+ return v;
18
+ };
19
+
20
+ // 蓝底上的圆形 AI 表情徽章
21
+ const AiBadge: React.FC<{ scale: number; opacity: number }> = ({ scale, opacity }) => (
22
+ <div
23
+ style={{
24
+ width: 170,
25
+ height: 170,
26
+ borderRadius: '50%',
27
+ background: '#fdf6ec',
28
+ opacity,
29
+ transform: `scale(${scale})`,
30
+ display: 'flex',
31
+ alignItems: 'center',
32
+ justifyContent: 'center',
33
+ boxShadow: '0 6px 24px rgba(0,0,0,0.18)',
34
+ }}
35
+ >
36
+ <svg width={110} height={110} viewBox="0 0 110 110">
37
+ <circle cx={36} cy={44} r={8} fill={G.ink} />
38
+ <circle cx={74} cy={44} r={8} fill={G.ink} />
39
+ <path d="M32 70 Q55 88 78 70" stroke={G.ink} strokeWidth={7} fill="none" strokeLinecap="round" />
40
+ <path d="M24 28 Q34 20 44 26" stroke={G.ink} strokeWidth={6} fill="none" strokeLinecap="round" />
41
+ <path d="M66 26 Q76 20 86 28" stroke={G.ink} strokeWidth={6} fill="none" strokeLinecap="round" />
42
+ </svg>
43
+ </div>
44
+ );
45
+
46
+ // 变体 B 背景:极简灰阶页面(不动 Fixtures,只组合)
47
+ const GrayPage: React.FC = () => (
48
+ <AbsoluteFill style={{ background: G.panel, padding: '90px 160px', boxSizing: 'border-box' }}>
49
+ <div style={{ height: 40, width: 560, background: G.bar, borderRadius: 12, marginBottom: 40 }} />
50
+ {[92, 78, 86, 60].map((w, i) => (
51
+ <div key={i} style={{ height: 18, width: `${w}%`, background: G.line, borderRadius: 9, marginBottom: 24 }} />
52
+ ))}
53
+ <div style={{ display: 'flex', gap: 32, marginTop: 30 }}>
54
+ <Card w={420} h={280} seed={2} />
55
+ <Card w={420} h={280} seed={5} />
56
+ </div>
57
+ </AbsoluteFill>
58
+ );
59
+
60
+ export const ColorBlockStepWipe: React.FC = () => {
61
+ const frame = useCurrentFrame();
62
+
63
+ // ---------- 场景 A(0–77f):蓝块中央阶跃生长 ----------
64
+ if (frame < 78) {
65
+ // [宽, 高] 逐级硬跳:小条 → 长条 → 半屏色带 → 全屏
66
+ const w = stepVal(frame, [
67
+ [0, 0],
68
+ [8, 280],
69
+ [16, 820],
70
+ [24, 1340],
71
+ [32, 1920],
72
+ [44, 1920],
73
+ ]);
74
+ const h = stepVal(frame, [
75
+ [0, 0],
76
+ [8, 96],
77
+ [16, 96],
78
+ [24, 320],
79
+ [32, 580],
80
+ [44, 1080],
81
+ ]);
82
+ // 徽章:全屏接管后阶跃弹出(同样离散,两跳到位)
83
+ const badgeScale = stepVal(frame, [
84
+ [0, 0],
85
+ [52, 0.55],
86
+ [58, 1.12],
87
+ [63, 1],
88
+ ]);
89
+ const badgeOpacity = frame >= 52 ? 1 : 0;
90
+ return (
91
+ <AbsoluteFill style={{ background: G.bg, alignItems: 'center', justifyContent: 'center' }}>
92
+ <div
93
+ style={{
94
+ position: 'absolute',
95
+ left: 960 - w / 2,
96
+ top: 540 - h / 2,
97
+ width: w,
98
+ height: h,
99
+ background: BLUE,
100
+ display: 'flex',
101
+ alignItems: 'center',
102
+ justifyContent: 'center',
103
+ }}
104
+ />
105
+ <AiBadge scale={badgeScale} opacity={badgeOpacity} />
106
+ </AbsoluteFill>
107
+ );
108
+ }
109
+
110
+ // ---------- 场景 B(78–149f):红块从右下角斜向阶跃吃屏,携带灰阶页面卡 ----------
111
+ // p 控制对角线推进量:p=0 无,p=200 全覆盖
112
+ const p = stepVal(frame, [
113
+ [78, 0],
114
+ [84, 42],
115
+ [96, 106],
116
+ [108, 200],
117
+ ]);
118
+ // 卡片随色块逐跳前进(同样离散跳位)
119
+ const cardPos = stepVal(frame, [
120
+ [78, 0],
121
+ [84, 1],
122
+ [96, 2],
123
+ [108, 3],
124
+ ]);
125
+ const cardXY: Array<[number, number]> = [
126
+ [2100, 1180], // 画外
127
+ [1480, 800],
128
+ [980, 560],
129
+ [560, 350],
130
+ ];
131
+ const [cx, cy] = cardXY[cardPos];
132
+ const clip =
133
+ p <= 0
134
+ ? 'polygon(100% 100%, 100% 100%, 100% 100%)'
135
+ : `polygon(${100 - p}% 100%, 100% ${100 - p}%, 100% 100%)`;
136
+
137
+ return (
138
+ <AbsoluteFill>
139
+ <GrayPage />
140
+ <AbsoluteFill style={{ background: RED, clipPath: clip }} />
141
+ {p > 0 && (
142
+ <div
143
+ style={{
144
+ position: 'absolute',
145
+ left: cx - 210,
146
+ top: cy - 145,
147
+ transform: 'rotate(-4deg)',
148
+ boxShadow: '0 18px 50px rgba(0,0,0,0.3)',
149
+ borderRadius: 14,
150
+ }}
151
+ >
152
+ <Card w={420} h={290} seed={7} />
153
+ </div>
154
+ )}
155
+ </AbsoluteFill>
156
+ );
157
+ };
@@ -0,0 +1,173 @@
1
+ // command-palette-summon —— 命令面板降临
2
+ // FakeDashboard 静置 → 整屏压暗+blur → ⌘K 面板从中心上方 20px 带 overshoot 弹落
3
+ // → 5 条候选行错峰浮现 → 模拟输入 2 字母(灰块当字符)候选 5→3→2 收窄
4
+ // → 高亮首条。f=110 后全静止(40f)。光标 f<104 闪烁、之后常亮。
5
+ import React from 'react';
6
+ import { useCurrentFrame, interpolate, Easing } from 'remotion';
7
+ import { G, FakeDashboard } from '../_fixtures/Fixtures';
8
+
9
+ const CL = { extrapolateLeft: 'clamp', extrapolateRight: 'clamp' } as const;
10
+
11
+ // 时间轴
12
+ const DIM0 = 12; // 压暗开始(前 12f 初始静置)
13
+ const DIM1 = 22;
14
+ const PANEL_IN = 18; // 面板开始弹落
15
+ const ROWS_START = 32; // 候选行开始错峰浮现
16
+ const KEY1 = 62; // 第一个字母
17
+ const KEY2 = 78; // 第二个字母
18
+ const HL = 94; // 高亮首条
19
+ const BLINK_END = 104; // 光标停止闪烁(常亮)
20
+
21
+ const PANEL_W = 780;
22
+ const PANEL_X = (1920 - PANEL_W) / 2;
23
+ const PANEL_Y = 290;
24
+ const ROW_H = 72;
25
+ const ROW_GAP = 8;
26
+ const EXIT_DUR = 10;
27
+
28
+ // exitAt: 0=留到最后,1=第一次按键后退出,2=第二次按键后退出
29
+ const ROWS = [
30
+ { titleW: 52, exitAt: 0 },
31
+ { titleW: 38, exitAt: 0 },
32
+ { titleW: 61, exitAt: 2 },
33
+ { titleW: 45, exitAt: 1 },
34
+ { titleW: 56, exitAt: 1 },
35
+ ];
36
+
37
+ const PaletteRow: React.FC<{ i: number; frame: number }> = ({ i, frame }) => {
38
+ const { titleW, exitAt } = ROWS[i];
39
+ const inStart = ROWS_START + i * 4;
40
+ const exitStart = exitAt === 1 ? KEY1 + 3 : exitAt === 2 ? KEY2 + 3 : null;
41
+
42
+ if (exitStart !== null && frame >= exitStart + EXIT_DUR) return null; // 条件卸载,非 opacity 0
43
+
44
+ const inOp = interpolate(frame, [inStart, inStart + 8], [0, 1], CL);
45
+ const inY = interpolate(frame, [inStart, inStart + 8], [12, 0], {
46
+ easing: Easing.out(Easing.cubic),
47
+ ...CL,
48
+ });
49
+ const exitT =
50
+ exitStart === null
51
+ ? 1
52
+ : interpolate(frame, [exitStart, exitStart + EXIT_DUR], [1, 0], {
53
+ easing: Easing.inOut(Easing.cubic),
54
+ ...CL,
55
+ });
56
+
57
+ // 高亮首条
58
+ const hl = i === 0 ? interpolate(frame, [HL, HL + 10], [0, 1], CL) : 0;
59
+
60
+ return (
61
+ <div
62
+ style={{
63
+ height: (ROW_H + ROW_GAP) * exitT,
64
+ opacity: inOp * exitT,
65
+ overflow: 'hidden',
66
+ }}
67
+ >
68
+ <div
69
+ style={{
70
+ height: ROW_H,
71
+ borderRadius: 12,
72
+ background: hl > 0 ? `rgba(228,228,226,${hl})` : 'transparent',
73
+ boxShadow: hl > 0 ? `inset 4px 0 0 rgba(47,47,47,${hl})` : 'none',
74
+ display: 'flex',
75
+ alignItems: 'center',
76
+ gap: 20,
77
+ padding: '0 22px',
78
+ boxSizing: 'border-box',
79
+ transform: `translateY(${inY}px)`,
80
+ }}
81
+ >
82
+ <div style={{ width: 36, height: 36, borderRadius: 9, background: G.mid }} />
83
+ <div style={{ height: 14, width: `${titleW}%`, background: G.bar, borderRadius: 7 }} />
84
+ <div style={{ marginLeft: 'auto', width: 58, height: 24, borderRadius: 6, background: G.line }} />
85
+ </div>
86
+ </div>
87
+ );
88
+ };
89
+
90
+ export const CommandPaletteSummon: React.FC = () => {
91
+ const frame = useCurrentFrame();
92
+
93
+ // 背景压暗 + blur
94
+ const dim = interpolate(frame, [DIM0, DIM1], [0, 0.45], CL);
95
+ const blur = interpolate(frame, [DIM0, DIM1], [0, 10], CL);
96
+
97
+ // 面板弹落:上方 20px → 过冲 +8px → 落回 0
98
+ const panelY =
99
+ frame < PANEL_IN + 9
100
+ ? interpolate(frame, [PANEL_IN, PANEL_IN + 9], [-20, 8], {
101
+ easing: Easing.out(Easing.cubic),
102
+ ...CL,
103
+ })
104
+ : interpolate(frame, [PANEL_IN + 9, PANEL_IN + 15], [8, 0], {
105
+ easing: Easing.inOut(Easing.cubic),
106
+ ...CL,
107
+ });
108
+ const panelOp = interpolate(frame, [PANEL_IN, PANEL_IN + 7], [0, 1], CL);
109
+
110
+ // 模拟输入:已敲字符数
111
+ const typed = (frame >= KEY1 ? 1 : 0) + (frame >= KEY2 ? 1 : 0);
112
+ // 光标闪烁(周期 16f),BLINK_END 后常亮保证收尾静止
113
+ const cursorOn = frame >= BLINK_END ? true : (frame - PANEL_IN) % 16 < 8;
114
+
115
+ return (
116
+ <div style={{ width: 1920, height: 1080, background: G.bg, position: 'relative', overflow: 'hidden' }}>
117
+ <div style={{ filter: frame < DIM0 ? undefined : `blur(${blur}px)` }}>
118
+ <FakeDashboard variant="A" />
119
+ </div>
120
+ <div style={{ position: 'absolute', inset: 0, background: `rgba(20,20,20,${dim})` }} />
121
+
122
+ {frame >= PANEL_IN && (
123
+ <div
124
+ style={{
125
+ position: 'absolute',
126
+ left: PANEL_X,
127
+ top: PANEL_Y,
128
+ width: PANEL_W,
129
+ transform: `translateY(${panelY}px)`,
130
+ opacity: panelOp,
131
+ background: G.card,
132
+ borderRadius: 18,
133
+ border: `2px solid ${G.border}`,
134
+ boxShadow: '0 28px 90px rgba(0,0,0,0.4)',
135
+ padding: 20,
136
+ boxSizing: 'border-box',
137
+ }}
138
+ >
139
+ {/* 输入框 */}
140
+ <div
141
+ style={{
142
+ height: 76,
143
+ borderBottom: `2px solid ${G.line}`,
144
+ display: 'flex',
145
+ alignItems: 'center',
146
+ gap: 14,
147
+ padding: '0 10px 14px 10px',
148
+ boxSizing: 'border-box',
149
+ }}
150
+ >
151
+ <div style={{ width: 32, height: 32, borderRadius: 8, background: G.bar }} />
152
+ {/* 已敲入的字符灰块 */}
153
+ {Array.from({ length: typed }).map((_, c) => (
154
+ <div key={c} style={{ width: 28, height: 38, borderRadius: 6, background: '#4a4a48' }} />
155
+ ))}
156
+ {/* 光标 */}
157
+ {cursorOn && <div style={{ width: 4, height: 42, background: G.ink, borderRadius: 2 }} />}
158
+ {/* 占位提示条:敲第一个字母时卸载 */}
159
+ {typed === 0 && (
160
+ <div style={{ width: 260, height: 14, borderRadius: 7, background: G.line, opacity: 0.8 }} />
161
+ )}
162
+ </div>
163
+ {/* 候选行 */}
164
+ <div style={{ paddingTop: 14 }}>
165
+ {ROWS.map((_, i) => (
166
+ <PaletteRow key={i} i={i} frame={frame} />
167
+ ))}
168
+ </div>
169
+ </div>
170
+ )}
171
+ </div>
172
+ );
173
+ };
@@ -0,0 +1,91 @@
1
+ // 升降臂拉升揭示(crane-rise-reveal)——crane shot。
2
+ // 世界 = FakeDashboard(B) 五行列表。相机 transform-origin 左上,联动公式:
3
+ // translate = 屏幕中心 - 对准点*scale(对准点始终落在屏幕中心)。
4
+ // 帧 0–20 hold 在底行特写(scale 3.2,对准第 5 行图标+长条);
5
+ // 帧 20–120 scale 3.2→1 + 对准点 (520,958)→(960,540),Easing.out(quad) 减速升起;
6
+ // 视野上缘每越过一行顶边,该行深色脉冲一拍(4f 起 18f 落)读作"涌入";帧 120–150 满幅真静止。
7
+ import React from 'react';
8
+ import { useCurrentFrame, interpolate, Easing } from 'remotion';
9
+ import { G, FakeDashboard } from '../_fixtures/Fixtures';
10
+
11
+ const HOLD = 20; // 开场特写 hold
12
+ const MOVE_END = 120; // 运镜结束,此后真静止
13
+ const ease = Easing.out(Easing.quad);
14
+
15
+ // FakeDashboard(B) 行几何:侧栏 220 + 内容 padding 36,header 72,5 行 gap 20
16
+ const ROW_LEFT = 220 + 36;
17
+ const ROW_W = 1920 - ROW_LEFT - 36;
18
+ const ROW_H = (1080 - 72 - 72 - 4 * 20) / 5; // 171.2
19
+ const rowTop = (i: number) => 72 + 36 + i * (ROW_H + 20);
20
+
21
+ const F0 = { x: 520, y: rowTop(4) + ROW_H / 2 }; // 起点对准最底行(图标+标题条区域)
22
+ const F1 = { x: 960, y: 540 }; // 终点对准整页中心
23
+ const S0 = 3.2;
24
+
25
+ const camAt = (frame: number) => {
26
+ const p = Math.min(1, Math.max(0, (frame - HOLD) / (MOVE_END - HOLD)));
27
+ const e = ease(p);
28
+ const s = S0 + (1 - S0) * e;
29
+ const fx = F0.x + (F1.x - F0.x) * e;
30
+ const fy = F0.y + (F1.y - F0.y) * e;
31
+ return { s, tx: 960 - fx * s, ty: 540 - fy * s, visTop: fy - 540 / s };
32
+ };
33
+
34
+ // 每行脉冲触发帧:视野上缘首次越过该行顶边(底行开场已在画内 → 运动一起步即触发)
35
+ const triggers = Array.from({ length: 5 }, (_, i) => {
36
+ for (let f = HOLD; f <= MOVE_END; f++) {
37
+ if (camAt(f).visTop <= rowTop(i) + 1) return f;
38
+ }
39
+ return MOVE_END;
40
+ });
41
+
42
+ export const CraneRiseReveal: React.FC = () => {
43
+ const frame = useCurrentFrame();
44
+ const { s, tx, ty } = camAt(frame);
45
+
46
+ return (
47
+ <div
48
+ style={{
49
+ width: 1920,
50
+ height: 1080,
51
+ background: G.bg,
52
+ overflow: 'hidden',
53
+ position: 'relative',
54
+ }}
55
+ >
56
+ <div
57
+ style={{
58
+ position: 'absolute',
59
+ width: 1920,
60
+ height: 1080,
61
+ transformOrigin: '0 0',
62
+ transform: `translate(${tx}px, ${ty}px) scale(${s})`,
63
+ }}
64
+ >
65
+ <FakeDashboard variant="B" />
66
+ {triggers.map((t, i) => {
67
+ const op = interpolate(frame, [t, t + 4, t + 22], [0, 0.22, 0], {
68
+ extrapolateLeft: 'clamp',
69
+ extrapolateRight: 'clamp',
70
+ });
71
+ if (op <= 0.001) return null;
72
+ return (
73
+ <div
74
+ key={i}
75
+ style={{
76
+ position: 'absolute',
77
+ left: ROW_LEFT,
78
+ top: rowTop(i),
79
+ width: ROW_W,
80
+ height: ROW_H,
81
+ borderRadius: 14,
82
+ background: G.ink,
83
+ opacity: op,
84
+ }}
85
+ />
86
+ );
87
+ })}
88
+ </div>
89
+ </div>
90
+ );
91
+ };
@@ -0,0 +1,63 @@
1
+ // crash-impact 急推撞停——同 crash-zoom 的急推,到位瞬间不回弹而是
2
+ // 撞停震屏:高频抖 + 指数衰减 6f,然后真静止。对比点:重量感 vs 弹性感。
3
+ import { AbsoluteFill, Img, interpolate, staticFile, useCurrentFrame, Easing } from 'remotion';
4
+ import { CameraMotionBlur } from '@remotion/motion-blur';
5
+ import layout from '../_textures/live-layout.json';
6
+
7
+ export const CRASHIMPACT_DUR = 120;
8
+
9
+ const TARGET = { cx: 960, cy: 772 };
10
+ const VIEW_Y = 180;
11
+ const HIT = 46;
12
+
13
+ const Scene: React.FC = () => {
14
+ const frame = useCurrentFrame();
15
+ const zoom = interpolate(frame, [40, HIT], [1, 2.5], {
16
+ extrapolateLeft: 'clamp', extrapolateRight: 'clamp',
17
+ easing: Easing.bezier(0.55, 0, 0.7, 1),
18
+ });
19
+ const cx = interpolate(frame, [40, HIT], [960, TARGET.cx], {
20
+ extrapolateLeft: 'clamp', extrapolateRight: 'clamp', easing: Easing.in(Easing.quad),
21
+ });
22
+ const cy = interpolate(frame, [40, HIT], [VIEW_Y + 540, TARGET.cy], {
23
+ extrapolateLeft: 'clamp', extrapolateRight: 'clamp', easing: Easing.in(Easing.quad),
24
+ });
25
+ // 撞停震屏:amp 14px 指数衰减 ~6f 收干(可感幅度,参考轮 #2 可感档)
26
+ const since = frame - HIT;
27
+ const env = since >= 0 ? 14 * Math.exp(-since / 1.8) : 0;
28
+ const sx = env * Math.sin(since * 3.3);
29
+ const sy = env * 0.7 * Math.sin(since * 4.1 + 0.9);
30
+ return (
31
+ <AbsoluteFill style={{ backgroundColor: '#f9f6f1', overflow: 'hidden' }}>
32
+ <div
33
+ style={{
34
+ position: 'absolute', width: 1920, height: layout.projects.pageH,
35
+ transform: `translate(${960 - cx * zoom + sx}px, ${540 - cy * zoom + sy}px) scale(${zoom})`,
36
+ transformOrigin: '0 0',
37
+ }}
38
+ >
39
+ <Img src={staticFile('textures/live/projects-full.png')} style={{ position: 'absolute', width: 1920 }} />
40
+ <Img
41
+ src={staticFile('textures/live/card4-hires.png')}
42
+ style={{
43
+ position: 'absolute',
44
+ left: layout.projects.cards[3].x, top: layout.projects.cards[3].y,
45
+ width: layout.projects.cards[3].w, height: layout.projects.cards[3].h,
46
+ }}
47
+ />
48
+ </div>
49
+ </AbsoluteFill>
50
+ );
51
+ };
52
+
53
+ export const CrashImpactReal: React.FC = () => {
54
+ const frame = useCurrentFrame();
55
+ // blur 只包急推段;撞停震屏段保持清晰抖动
56
+ return frame >= 38 && frame <= HIT ? (
57
+ <CameraMotionBlur shutterAngle={200} samples={20}>
58
+ <Scene />
59
+ </CameraMotionBlur>
60
+ ) : (
61
+ <Scene />
62
+ );
63
+ };
@@ -0,0 +1,60 @@
1
+ // crash-zoom 急推——真实 projects 页全景一拍推到 card4(高清纹理槽位)。
2
+ // 节拍:0–40 全景 hold → 40–46 急推 6f(ease-in,峰值放大 2.6x)→
3
+ // 46–51 过冲回弹(2.6→2.45)→ 51–120 特写 hold 真静止。
4
+ // blur 只包 40–46 急推段(轮 A 规律:极速段 samples 20)。
5
+ import { AbsoluteFill, Img, interpolate, staticFile, useCurrentFrame, Easing } from 'remotion';
6
+ import { CameraMotionBlur } from '@remotion/motion-blur';
7
+ import layout from '../_textures/live-layout.json';
8
+
9
+ export const CRASHZOOM_DUR = 120;
10
+
11
+ // card4 中心(页面空间):x=781+357/2≈960, y=616+312/2=772
12
+ const TARGET = { cx: 960, cy: 772 };
13
+ const VIEW_Y = 180; // 全景观察窗顶(页面 y)
14
+
15
+ const Scene: React.FC = () => {
16
+ const frame = useCurrentFrame();
17
+ const zoom = interpolate(frame, [40, 46, 51], [1, 2.6, 2.45], {
18
+ extrapolateLeft: 'clamp', extrapolateRight: 'clamp',
19
+ easing: Easing.bezier(0.55, 0, 0.7, 1),
20
+ });
21
+ const cx = interpolate(frame, [40, 46], [960, TARGET.cx], {
22
+ extrapolateLeft: 'clamp', extrapolateRight: 'clamp', easing: Easing.in(Easing.quad),
23
+ });
24
+ const cy = interpolate(frame, [40, 46], [VIEW_Y + 540, TARGET.cy], {
25
+ extrapolateLeft: 'clamp', extrapolateRight: 'clamp', easing: Easing.in(Easing.quad),
26
+ });
27
+ return (
28
+ <AbsoluteFill style={{ backgroundColor: '#f9f6f1', overflow: 'hidden' }}>
29
+ <div
30
+ style={{
31
+ position: 'absolute', width: 1920, height: layout.projects.pageH,
32
+ transform: `translate(${960 - cx * zoom}px, ${540 - cy * zoom}px) scale(${zoom})`,
33
+ transformOrigin: '0 0',
34
+ }}
35
+ >
36
+ <Img src={staticFile('textures/live/projects-full.png')} style={{ position: 'absolute', width: 1920 }} />
37
+ {/* 高清目标卡覆盖原位,放大后文字仍锐(Q2) */}
38
+ <Img
39
+ src={staticFile('textures/live/card4-hires.png')}
40
+ style={{
41
+ position: 'absolute',
42
+ left: layout.projects.cards[3].x, top: layout.projects.cards[3].y,
43
+ width: layout.projects.cards[3].w, height: layout.projects.cards[3].h,
44
+ }}
45
+ />
46
+ </div>
47
+ </AbsoluteFill>
48
+ );
49
+ };
50
+
51
+ export const CrashZoomReal: React.FC = () => {
52
+ const frame = useCurrentFrame();
53
+ return frame >= 38 && frame <= 48 ? (
54
+ <CameraMotionBlur shutterAngle={200} samples={20}>
55
+ <Scene />
56
+ </CameraMotionBlur>
57
+ ) : (
58
+ <Scene />
59
+ );
60
+ };