hyper-animator-codex 0.7.1 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (318) hide show
  1. package/README.md +51 -3
  2. package/bin/hyper-animator-codex.mjs +1 -1
  3. package/lib/minimax-config.mjs +3 -3
  4. package/package.json +1 -1
  5. package/skills/hyper-animator-codex/SKILL.md +58 -20
  6. package/skills/hyper-animator-codex/agents/openai.yaml +2 -2
  7. package/skills/hyper-animator-codex/contracts/shot-plan.schema.json +214 -0
  8. package/skills/hyper-animator-codex/contracts/workflow-policy.json +85 -0
  9. package/skills/hyper-animator-codex/references/HyperFrames-AI-Generation-Patterns-codex.md +788 -0
  10. package/skills/hyper-animator-codex/references/beat-sync-workflow.md +7 -0
  11. package/skills/hyper-animator-codex/references/examples/shot-plan-dual-catalog.json +69 -0
  12. package/skills/hyper-animator-codex/references/hyperframes-agent-pseudocode.ts +1 -1
  13. package/skills/hyper-animator-codex/references/hyperframes-catalog-map.json +97 -230
  14. package/skills/hyper-animator-codex/references/hyperframes-intent-workflow.md +23 -7
  15. package/skills/hyper-animator-codex/references/minimax-music-workflow.md +24 -4
  16. package/skills/hyper-animator-codex/references/narration-audio-workflow.md +31 -1
  17. package/skills/hyper-animator-codex/references/shotcraft/LICENSE +202 -0
  18. package/skills/hyper-animator-codex/references/shotcraft/cards/ai-stream-response/README.md +46 -0
  19. package/skills/hyper-animator-codex/references/shotcraft/cards/autolayout-gap-dial/README.md +53 -0
  20. package/skills/hyper-animator-codex/references/shotcraft/cards/beat-cut-moves/README.md +54 -0
  21. package/skills/hyper-animator-codex/references/shotcraft/cards/beat-step-list-theme-cycle/README.md +59 -0
  22. package/skills/hyper-animator-codex/references/shotcraft/cards/before-after-slider-scrub/README.md +47 -0
  23. package/skills/hyper-animator-codex/references/shotcraft/cards/bottom-push-stack-wipe/README.md +58 -0
  24. package/skills/hyper-animator-codex/references/shotcraft/cards/brand-frame-snap/README.md +51 -0
  25. package/skills/hyper-animator-codex/references/shotcraft/cards/brand-ink-open/README.md +35 -0
  26. package/skills/hyper-animator-codex/references/shotcraft/cards/bubble-swarm-takeover/README.md +62 -0
  27. package/skills/hyper-animator-codex/references/shotcraft/cards/canvas-materialize-moves/README.md +55 -0
  28. package/skills/hyper-animator-codex/references/shotcraft/cards/card-flip-reveal/README.md +50 -0
  29. package/skills/hyper-animator-codex/references/shotcraft/cards/card-flock-tumble/README.md +54 -0
  30. package/skills/hyper-animator-codex/references/shotcraft/cards/cel-flash-stomp/README.md +54 -0
  31. package/skills/hyper-animator-codex/references/shotcraft/cards/chart-live-moves/README.md +51 -0
  32. package/skills/hyper-animator-codex/references/shotcraft/cards/circle-match-iris/README.md +53 -0
  33. package/skills/hyper-animator-codex/references/shotcraft/cards/cloner-depth-echo/README.md +38 -0
  34. package/skills/hyper-animator-codex/references/shotcraft/cards/collab-cursor-moves/README.md +48 -0
  35. package/skills/hyper-animator-codex/references/shotcraft/cards/color-block-step-wipe/README.md +54 -0
  36. package/skills/hyper-animator-codex/references/shotcraft/cards/command-palette-summon/README.md +45 -0
  37. package/skills/hyper-animator-codex/references/shotcraft/cards/crane-rise-reveal/README.md +47 -0
  38. package/skills/hyper-animator-codex/references/shotcraft/cards/crash-zoom-punch/README.md +38 -0
  39. package/skills/hyper-animator-codex/references/shotcraft/cards/dataviz-landscape-open/README.md +54 -0
  40. package/skills/hyper-animator-codex/references/shotcraft/cards/deck-deal-flyin/README.md +45 -0
  41. package/skills/hyper-animator-codex/references/shotcraft/cards/depth-layer-moves/README.md +40 -0
  42. package/skills/hyper-animator-codex/references/shotcraft/cards/document-typewriter-reveal/README.md +40 -0
  43. package/skills/hyper-animator-codex/references/shotcraft/cards/draw-svg-trace/README.md +50 -0
  44. package/skills/hyper-animator-codex/references/shotcraft/cards/edit-hook-moves/README.md +38 -0
  45. package/skills/hyper-animator-codex/references/shotcraft/cards/element-body-moves/README.md +49 -0
  46. package/skills/hyper-animator-codex/references/shotcraft/cards/fui-hud-moves/README.md +44 -0
  47. package/skills/hyper-animator-codex/references/shotcraft/cards/gauge-readout-moves/README.md +45 -0
  48. package/skills/hyper-animator-codex/references/shotcraft/cards/glow-flyline-moves/README.md +51 -0
  49. package/skills/hyper-animator-codex/references/shotcraft/cards/gradient-word-sweep/README.md +49 -0
  50. package/skills/hyper-animator-codex/references/shotcraft/cards/graze-face-tour/README.md +56 -0
  51. package/skills/hyper-animator-codex/references/shotcraft/cards/hashtag-to-pill-materialize/README.md +57 -0
  52. package/skills/hyper-animator-codex/references/shotcraft/cards/hires-rasterize-3d-text/README.md +34 -0
  53. package/skills/hyper-animator-codex/references/shotcraft/cards/icon-field-colorize/README.md +53 -0
  54. package/skills/hyper-animator-codex/references/shotcraft/cards/icon-performance-moves/README.md +46 -0
  55. package/skills/hyper-animator-codex/references/shotcraft/cards/impact-feedback/README.md +50 -0
  56. package/skills/hyper-animator-codex/references/shotcraft/cards/input-trigger-moves/README.md +49 -0
  57. package/skills/hyper-animator-codex/references/shotcraft/cards/integration-hub-map/README.md +54 -0
  58. package/skills/hyper-animator-codex/references/shotcraft/cards/letterspace-materialize/README.md +52 -0
  59. package/skills/hyper-animator-codex/references/shotcraft/cards/light-play-moves/README.md +49 -0
  60. package/skills/hyper-animator-codex/references/shotcraft/cards/line-boil/README.md +52 -0
  61. package/skills/hyper-animator-codex/references/shotcraft/cards/line-carry-transition/README.md +52 -0
  62. package/skills/hyper-animator-codex/references/shotcraft/cards/list-stack-press/README.md +43 -0
  63. package/skills/hyper-animator-codex/references/shotcraft/cards/magician-card-flourish/README.md +63 -0
  64. package/skills/hyper-animator-codex/references/shotcraft/cards/marker-underline-title/README.md +48 -0
  65. package/skills/hyper-animator-codex/references/shotcraft/cards/montage-rhythm-moves/README.md +55 -0
  66. package/skills/hyper-animator-codex/references/shotcraft/cards/morph-from-primitive/README.md +51 -0
  67. package/skills/hyper-animator-codex/references/shotcraft/cards/neon-frame-forerun/README.md +50 -0
  68. package/skills/hyper-animator-codex/references/shotcraft/cards/neon-frame-orbit-drop/README.md +50 -0
  69. package/skills/hyper-animator-codex/references/shotcraft/cards/neon-triple-marquee/README.md +55 -0
  70. package/skills/hyper-animator-codex/references/shotcraft/cards/odometer-digit-roll/README.md +54 -0
  71. package/skills/hyper-animator-codex/references/shotcraft/cards/outro-group-photo-launch/README.md +39 -0
  72. package/skills/hyper-animator-codex/references/shotcraft/cards/overhead-camera-moves/README.md +50 -0
  73. package/skills/hyper-animator-codex/references/shotcraft/cards/page-turn-transitions/README.md +48 -0
  74. package/skills/hyper-animator-codex/references/shotcraft/cards/page-waterfall-wall/README.md +52 -0
  75. package/skills/hyper-animator-codex/references/shotcraft/cards/panel-grid-moves/README.md +52 -0
  76. package/skills/hyper-animator-codex/references/shotcraft/cards/paper-craft-moves/README.md +46 -0
  77. package/skills/hyper-animator-codex/references/shotcraft/cards/paper-plane-messenger/README.md +62 -0
  78. package/skills/hyper-animator-codex/references/shotcraft/cards/paper-title-card/README.md +36 -0
  79. package/skills/hyper-animator-codex/references/shotcraft/cards/particle-celebrate-hits/README.md +42 -0
  80. package/skills/hyper-animator-codex/references/shotcraft/cards/particle-sand-fill/README.md +39 -0
  81. package/skills/hyper-animator-codex/references/shotcraft/cards/pill-slot-cycle/README.md +57 -0
  82. package/skills/hyper-animator-codex/references/shotcraft/cards/print-texture-transitions/README.md +40 -0
  83. package/skills/hyper-animator-codex/references/shotcraft/cards/rhythm-interrupt-moves/README.md +44 -0
  84. package/skills/hyper-animator-codex/references/shotcraft/cards/riso-print-hits/README.md +54 -0
  85. package/skills/hyper-animator-codex/references/shotcraft/cards/row-embed/README.md +36 -0
  86. package/skills/hyper-animator-codex/references/shotcraft/cards/runway-ground-skim/README.md +52 -0
  87. package/skills/hyper-animator-codex/references/shotcraft/cards/sakuga-timing-shift/README.md +50 -0
  88. package/skills/hyper-animator-codex/references/shotcraft/cards/scene-locked-title/README.md +43 -0
  89. package/skills/hyper-animator-codex/references/shotcraft/cards/scroll-brake-moves/README.md +45 -0
  90. package/skills/hyper-animator-codex/references/shotcraft/cards/segmented-thumb-hero/README.md +57 -0
  91. package/skills/hyper-animator-codex/references/shotcraft/cards/shot-transitions/README.md +60 -0
  92. package/skills/hyper-animator-codex/references/shotcraft/cards/skeleton-reveal/README.md +54 -0
  93. package/skills/hyper-animator-codex/references/shotcraft/cards/slam-entrance-moves/README.md +53 -0
  94. package/skills/hyper-animator-codex/references/shotcraft/cards/smear-multiples/README.md +49 -0
  95. package/skills/hyper-animator-codex/references/shotcraft/cards/space-camera-moves/README.md +53 -0
  96. package/skills/hyper-animator-codex/references/shotcraft/cards/spectrum-morph-ui/README.md +50 -0
  97. package/skills/hyper-animator-codex/references/shotcraft/cards/speed-ramp-freeze/README.md +42 -0
  98. package/skills/hyper-animator-codex/references/shotcraft/cards/split-flap-title/README.md +52 -0
  99. package/skills/hyper-animator-codex/references/shotcraft/cards/spotlight-hero-card/README.md +39 -0
  100. package/skills/hyper-animator-codex/references/shotcraft/cards/spotlight-sweep-moves/README.md +51 -0
  101. package/skills/hyper-animator-codex/references/shotcraft/cards/steep-tilt-glide/README.md +53 -0
  102. package/skills/hyper-animator-codex/references/shotcraft/cards/stroke-segment-build/README.md +43 -0
  103. package/skills/hyper-animator-codex/references/shotcraft/cards/tear-streak-transitions/README.md +43 -0
  104. package/skills/hyper-animator-codex/references/shotcraft/cards/tension-camera-moves/README.md +55 -0
  105. package/skills/hyper-animator-codex/references/shotcraft/cards/text-as-mask/README.md +50 -0
  106. package/skills/hyper-animator-codex/references/shotcraft/cards/text-column-converge/README.md +55 -0
  107. package/skills/hyper-animator-codex/references/shotcraft/cards/theme-switch-moves/README.md +44 -0
  108. package/skills/hyper-animator-codex/references/shotcraft/cards/timeline-travel/README.md +43 -0
  109. package/skills/hyper-animator-codex/references/shotcraft/cards/title-demote-to-label/README.md +58 -0
  110. package/skills/hyper-animator-codex/references/shotcraft/cards/trailer-grammar-moves/README.md +51 -0
  111. package/skills/hyper-animator-codex/references/shotcraft/cards/transition-hidden-cut/README.md +52 -0
  112. package/skills/hyper-animator-codex/references/shotcraft/cards/transition-travel/README.md +48 -0
  113. package/skills/hyper-animator-codex/references/shotcraft/cards/type-and-filter/README.md +37 -0
  114. package/skills/hyper-animator-codex/references/shotcraft/cards/type-assembly-moves/README.md +50 -0
  115. package/skills/hyper-animator-codex/references/shotcraft/cards/type-entrance-moves/README.md +46 -0
  116. package/skills/hyper-animator-codex/references/shotcraft/cards/type-rhythm-sync/README.md +47 -0
  117. package/skills/hyper-animator-codex/references/shotcraft/cards/typewriter-moves/README.md +50 -0
  118. package/skills/hyper-animator-codex/references/shotcraft/cards/ui-strip-away-outro/README.md +63 -0
  119. package/skills/hyper-animator-codex/references/shotcraft/cards/ui-to-brand-morph/README.md +52 -0
  120. package/skills/hyper-animator-codex/references/shotcraft/cards/voice-waveform-live/README.md +52 -0
  121. package/skills/hyper-animator-codex/references/shotcraft/cards/wall-reveal-moves/README.md +53 -0
  122. package/skills/hyper-animator-codex/references/shotcraft/cards/wipe-transitions/README.md +47 -0
  123. package/skills/hyper-animator-codex/references/shotcraft/cards/word-relay-filmstrip/README.md +50 -0
  124. package/skills/hyper-animator-codex/references/shotcraft/catalog.json +3946 -0
  125. package/skills/hyper-animator-codex/references/shotcraft/references/aesthetic-rules.md +157 -0
  126. package/skills/hyper-animator-codex/references/shotcraft/references/final-review.md +107 -0
  127. package/skills/hyper-animator-codex/references/shotcraft/references/guided-free-creation.md +197 -0
  128. package/skills/hyper-animator-codex/references/shotcraft/references/music-beat-sync.md +125 -0
  129. package/skills/hyper-animator-codex/references/shotcraft/references/pipeline.md +357 -0
  130. package/skills/hyper-animator-codex/references/shotcraft/references/sound-design.md +126 -0
  131. package/skills/hyper-animator-codex/references/shotcraft/source/assets/lib/Caption.tsx +50 -0
  132. package/skills/hyper-animator-codex/references/shotcraft/source/assets/lib/DigitRoll.tsx +45 -0
  133. package/skills/hyper-animator-codex/references/shotcraft/source/assets/lib/FlashCut.tsx +20 -0
  134. package/skills/hyper-animator-codex/references/shotcraft/source/assets/lib/FlatPanel.tsx +65 -0
  135. package/skills/hyper-animator-codex/references/shotcraft/source/assets/lib/PageCam.tsx +151 -0
  136. package/skills/hyper-animator-codex/references/shotcraft/source/assets/lib/VerticalTicker.tsx +129 -0
  137. package/skills/hyper-animator-codex/references/shotcraft/source/assets/lib/helpers/camera.tsx +75 -0
  138. package/skills/hyper-animator-codex/references/shotcraft/source/assets/lib/helpers/motion.ts +40 -0
  139. package/skills/hyper-animator-codex/references/shotcraft/source/assets/lib/helpers/rand.ts +11 -0
  140. package/skills/hyper-animator-codex/references/shotcraft/source/assets/lib/helpers/shake.ts +10 -0
  141. package/skills/hyper-animator-codex/references/shotcraft/source/demos/_fixtures/Fixtures.tsx +83 -0
  142. package/skills/hyper-animator-codex/references/shotcraft/source/demos/ai-stream-response/StreamResponse.tsx +146 -0
  143. package/skills/hyper-animator-codex/references/shotcraft/source/demos/autolayout-gap-dial/AutolayoutGapDial.tsx +174 -0
  144. package/skills/hyper-animator-codex/references/shotcraft/source/demos/beat-cut-moves/BeatCutAccelerando.tsx +77 -0
  145. package/skills/hyper-animator-codex/references/shotcraft/source/demos/beat-cut-moves/PaparazziFlash.tsx +115 -0
  146. package/skills/hyper-animator-codex/references/shotcraft/source/demos/beat-step-list-theme-cycle/BeatStepListThemeCycle.tsx +98 -0
  147. package/skills/hyper-animator-codex/references/shotcraft/source/demos/before-after-slider-scrub/BeforeAfterSliderScrub.tsx +99 -0
  148. package/skills/hyper-animator-codex/references/shotcraft/source/demos/bottom-push-stack-wipe/BottomPushStackWipe.tsx +79 -0
  149. package/skills/hyper-animator-codex/references/shotcraft/source/demos/brand-frame-snap/BrandFrameSnap.tsx +110 -0
  150. package/skills/hyper-animator-codex/references/shotcraft/source/demos/bubble-swarm-takeover/BubbleSwarmTakeover.tsx +189 -0
  151. package/skills/hyper-animator-codex/references/shotcraft/source/demos/canvas-materialize-moves/DiagramCascadeBuild.tsx +172 -0
  152. package/skills/hyper-animator-codex/references/shotcraft/source/demos/canvas-materialize-moves/PanelToCanvasMaterialize.tsx +254 -0
  153. package/skills/hyper-animator-codex/references/shotcraft/source/demos/card-flip-reveal/CardFlipReveal.tsx +139 -0
  154. package/skills/hyper-animator-codex/references/shotcraft/source/demos/card-flock-tumble/CardFlockTumble.tsx +382 -0
  155. package/skills/hyper-animator-codex/references/shotcraft/source/demos/cel-flash-stomp/CelFlashStomp.tsx +111 -0
  156. package/skills/hyper-animator-codex/references/shotcraft/source/demos/chart-live-moves/AxisRescaleShockV2.tsx +282 -0
  157. package/skills/hyper-animator-codex/references/shotcraft/source/demos/chart-live-moves/OscilloscopeStreamV2.tsx +227 -0
  158. package/skills/hyper-animator-codex/references/shotcraft/source/demos/chart-live-moves/UnitDotSwarmRegroupV2.tsx +248 -0
  159. package/skills/hyper-animator-codex/references/shotcraft/source/demos/circle-match-iris/CircleMatchIris.tsx +124 -0
  160. package/skills/hyper-animator-codex/references/shotcraft/source/demos/cloner-depth-echo/ClonerDepthEcho.tsx +90 -0
  161. package/skills/hyper-animator-codex/references/shotcraft/source/demos/collab-cursor-moves/CursorCastEnsemble.tsx +136 -0
  162. package/skills/hyper-animator-codex/references/shotcraft/source/demos/collab-cursor-moves/CursorDialogueDuet.tsx +145 -0
  163. package/skills/hyper-animator-codex/references/shotcraft/source/demos/color-block-step-wipe/ColorBlockStepWipe.tsx +157 -0
  164. package/skills/hyper-animator-codex/references/shotcraft/source/demos/command-palette-summon/CommandPaletteSummon.tsx +173 -0
  165. package/skills/hyper-animator-codex/references/shotcraft/source/demos/crane-rise-reveal/CraneRiseReveal.tsx +91 -0
  166. package/skills/hyper-animator-codex/references/shotcraft/source/demos/crash-zoom-punch/CrashImpactReal.tsx +63 -0
  167. package/skills/hyper-animator-codex/references/shotcraft/source/demos/crash-zoom-punch/CrashZoomReal.tsx +60 -0
  168. package/skills/hyper-animator-codex/references/shotcraft/source/demos/dataviz-landscape-open/DatavizLandscapeOpen.tsx +401 -0
  169. package/skills/hyper-animator-codex/references/shotcraft/source/demos/depth-layer-moves/DollyZoomReal.tsx +55 -0
  170. package/skills/hyper-animator-codex/references/shotcraft/source/demos/depth-layer-moves/MultiplaneReal.tsx +45 -0
  171. package/skills/hyper-animator-codex/references/shotcraft/source/demos/draw-svg-trace/DrawSvgTrace.tsx +199 -0
  172. package/skills/hyper-animator-codex/references/shotcraft/source/demos/edit-hook-moves/LogoStingButton.tsx +106 -0
  173. package/skills/hyper-animator-codex/references/shotcraft/source/demos/element-body-moves/AxialStretch.tsx +112 -0
  174. package/skills/hyper-animator-codex/references/shotcraft/source/demos/element-body-moves/ContactShadowLift.tsx +117 -0
  175. package/skills/hyper-animator-codex/references/shotcraft/source/demos/fui-hud-moves/LineUnfoldPanel.tsx +125 -0
  176. package/skills/hyper-animator-codex/references/shotcraft/source/demos/fui-hud-moves/ReticleLockOn.tsx +139 -0
  177. package/skills/hyper-animator-codex/references/shotcraft/source/demos/gauge-readout-moves/NeedleSweepSelftest.tsx +146 -0
  178. package/skills/hyper-animator-codex/references/shotcraft/source/demos/gauge-readout-moves/TapeScrollFixedPointer.tsx +120 -0
  179. package/skills/hyper-animator-codex/references/shotcraft/source/demos/glow-flyline-moves/FlylineArc.tsx +158 -0
  180. package/skills/hyper-animator-codex/references/shotcraft/source/demos/glow-flyline-moves/GlowOrbAmbient.tsx +131 -0
  181. package/skills/hyper-animator-codex/references/shotcraft/source/demos/glow-flyline-moves/OrbFlylineRelay.tsx +268 -0
  182. package/skills/hyper-animator-codex/references/shotcraft/source/demos/gradient-word-sweep/GradientWordSweep.tsx +307 -0
  183. package/skills/hyper-animator-codex/references/shotcraft/source/demos/graze-face-tour/GrazeFaceTour.tsx +469 -0
  184. package/skills/hyper-animator-codex/references/shotcraft/source/demos/hashtag-to-pill-materialize/HashtagToPillMaterialize.tsx +166 -0
  185. package/skills/hyper-animator-codex/references/shotcraft/source/demos/icon-field-colorize/IconFieldColorize.tsx +93 -0
  186. package/skills/hyper-animator-codex/references/shotcraft/source/demos/icon-performance-moves/AttentionBounce.tsx +193 -0
  187. package/skills/hyper-animator-codex/references/shotcraft/source/demos/icon-performance-moves/PopBurstConfirm.tsx +162 -0
  188. package/skills/hyper-animator-codex/references/shotcraft/source/demos/impact-feedback/AnimeImpact.tsx +149 -0
  189. package/skills/hyper-animator-codex/references/shotcraft/source/demos/impact-feedback/HitCounter.tsx +147 -0
  190. package/skills/hyper-animator-codex/references/shotcraft/source/demos/input-trigger-moves/CursorPerformancePunchIn.tsx +154 -0
  191. package/skills/hyper-animator-codex/references/shotcraft/source/demos/input-trigger-moves/KeycapSmashCut.tsx +217 -0
  192. package/skills/hyper-animator-codex/references/shotcraft/source/demos/integration-hub-map/IntegrationHubMap.tsx +554 -0
  193. package/skills/hyper-animator-codex/references/shotcraft/source/demos/letterspace-materialize/LetterspaceMaterialize.tsx +85 -0
  194. package/skills/hyper-animator-codex/references/shotcraft/source/demos/light-play-moves/HalationBloom.tsx +139 -0
  195. package/skills/hyper-animator-codex/references/shotcraft/source/demos/light-play-moves/SheenSweepRetry.tsx +85 -0
  196. package/skills/hyper-animator-codex/references/shotcraft/source/demos/light-play-moves/SpotlightSweepReveal.tsx +102 -0
  197. package/skills/hyper-animator-codex/references/shotcraft/source/demos/line-boil/LineBoil.tsx +140 -0
  198. package/skills/hyper-animator-codex/references/shotcraft/source/demos/line-carry-transition/LineCarryTransition.tsx +151 -0
  199. package/skills/hyper-animator-codex/references/shotcraft/source/demos/magician-card-flourish/MagicianCardFlourish.tsx +294 -0
  200. package/skills/hyper-animator-codex/references/shotcraft/source/demos/marker-underline-title/MarkerUnderlineTitle.tsx +87 -0
  201. package/skills/hyper-animator-codex/references/shotcraft/source/demos/montage-rhythm-moves/DominoCascade.tsx +125 -0
  202. package/skills/hyper-animator-codex/references/shotcraft/source/demos/montage-rhythm-moves/DropBlackoutSlam.tsx +135 -0
  203. package/skills/hyper-animator-codex/references/shotcraft/source/demos/montage-rhythm-moves/WrightTripleCut.tsx +175 -0
  204. package/skills/hyper-animator-codex/references/shotcraft/source/demos/morph-from-primitive/MorphFromPrimitive.tsx +190 -0
  205. package/skills/hyper-animator-codex/references/shotcraft/source/demos/neon-frame-forerun/NeonFrameForerun.tsx +279 -0
  206. package/skills/hyper-animator-codex/references/shotcraft/source/demos/neon-frame-orbit-drop/NeonFrameForerunOrbit.tsx +273 -0
  207. package/skills/hyper-animator-codex/references/shotcraft/source/demos/neon-triple-marquee/NeonTripleMarquee.tsx +111 -0
  208. package/skills/hyper-animator-codex/references/shotcraft/source/demos/odometer-digit-roll/OdometerDigitRoll.tsx +178 -0
  209. package/skills/hyper-animator-codex/references/shotcraft/source/demos/overhead-camera-moves/OverheadTabletopDrop.tsx +129 -0
  210. package/skills/hyper-animator-codex/references/shotcraft/source/demos/overhead-camera-moves/TiltReveal.tsx +55 -0
  211. package/skills/hyper-animator-codex/references/shotcraft/source/demos/page-turn-transitions/BarnDoorSplit.tsx +138 -0
  212. package/skills/hyper-animator-codex/references/shotcraft/source/demos/page-turn-transitions/CubeRotate.tsx +114 -0
  213. package/skills/hyper-animator-codex/references/shotcraft/source/demos/page-waterfall-wall/PageWaterfallWall.tsx +76 -0
  214. package/skills/hyper-animator-codex/references/shotcraft/source/demos/page-waterfall-wall/VerticalTicker.tsx +129 -0
  215. package/skills/hyper-animator-codex/references/shotcraft/source/demos/panel-grid-moves/ComicPanelSplit.tsx +171 -0
  216. package/skills/hyper-animator-codex/references/shotcraft/source/demos/panel-grid-moves/FlipGridReflow.tsx +121 -0
  217. package/skills/hyper-animator-codex/references/shotcraft/source/demos/panel-grid-moves/GridFlashMosaic.tsx +182 -0
  218. package/skills/hyper-animator-codex/references/shotcraft/source/demos/paper-craft-moves/MaskingTapeSlap.tsx +163 -0
  219. package/skills/hyper-animator-codex/references/shotcraft/source/demos/paper-craft-moves/PopupBookRise.tsx +134 -0
  220. package/skills/hyper-animator-codex/references/shotcraft/source/demos/paper-plane-messenger/PaperPlaneMessenger.tsx +183 -0
  221. package/skills/hyper-animator-codex/references/shotcraft/source/demos/particle-celebrate-hits/ConfettiCrossfire.tsx +115 -0
  222. package/skills/hyper-animator-codex/references/shotcraft/source/demos/particle-celebrate-hits/CounterTickSparks.tsx +103 -0
  223. package/skills/hyper-animator-codex/references/shotcraft/source/demos/particle-sand-fill/ParticleSandFill.tsx +119 -0
  224. package/skills/hyper-animator-codex/references/shotcraft/source/demos/pill-slot-cycle/PillSlotCycle.tsx +220 -0
  225. package/skills/hyper-animator-codex/references/shotcraft/source/demos/print-texture-transitions/InkBleedReveal.tsx +81 -0
  226. package/skills/hyper-animator-codex/references/shotcraft/source/demos/rhythm-interrupt-moves/JumpCutPunchIn.tsx +72 -0
  227. package/skills/hyper-animator-codex/references/shotcraft/source/demos/rhythm-interrupt-moves/StrobeBlackFrames.tsx +99 -0
  228. package/skills/hyper-animator-codex/references/shotcraft/source/demos/riso-print-hits/RisoBeatPump.tsx +155 -0
  229. package/skills/hyper-animator-codex/references/shotcraft/source/demos/riso-print-hits/RisoMisregistrationHit.tsx +120 -0
  230. package/skills/hyper-animator-codex/references/shotcraft/source/demos/runway-ground-skim/RunwayGroundSkim.tsx +258 -0
  231. package/skills/hyper-animator-codex/references/shotcraft/source/demos/sakuga-timing-shift/SakugaTimingShift.tsx +178 -0
  232. package/skills/hyper-animator-codex/references/shotcraft/source/demos/scene-locked-title/SceneLockedTitle.tsx +98 -0
  233. package/skills/hyper-animator-codex/references/shotcraft/source/demos/scroll-brake-moves/BrakeReticleLock.tsx +171 -0
  234. package/skills/hyper-animator-codex/references/shotcraft/source/demos/scroll-brake-moves/ChangelogScrollBrake.tsx +117 -0
  235. package/skills/hyper-animator-codex/references/shotcraft/source/demos/segmented-thumb-hero/SegmentedThumbHero.tsx +213 -0
  236. package/skills/hyper-animator-codex/references/shotcraft/source/demos/shot-transitions/MaskWipeReal.tsx +67 -0
  237. package/skills/hyper-animator-codex/references/shotcraft/source/demos/shot-transitions/PortalWipeV2.tsx +128 -0
  238. package/skills/hyper-animator-codex/references/shotcraft/source/demos/shot-transitions/WhipBrakeReal.tsx +60 -0
  239. package/skills/hyper-animator-codex/references/shotcraft/source/demos/shot-transitions/WhipPanReal.tsx +45 -0
  240. package/skills/hyper-animator-codex/references/shotcraft/source/demos/skeleton-reveal/SkeletonReveal.tsx +283 -0
  241. package/skills/hyper-animator-codex/references/shotcraft/source/demos/slam-entrance-moves/ImpactBurstKit.tsx +185 -0
  242. package/skills/hyper-animator-codex/references/shotcraft/source/demos/slam-entrance-moves/KanadaPerspectiveSnap.tsx +91 -0
  243. package/skills/hyper-animator-codex/references/shotcraft/source/demos/slam-entrance-moves/ScoreSlam.tsx +225 -0
  244. package/skills/hyper-animator-codex/references/shotcraft/source/demos/smear-multiples/SmearMultiples.tsx +88 -0
  245. package/skills/hyper-animator-codex/references/shotcraft/source/demos/space-camera-moves/DroneDiveLanding.tsx +91 -0
  246. package/skills/hyper-animator-codex/references/shotcraft/source/demos/space-camera-moves/ExplodedView.tsx +178 -0
  247. package/skills/hyper-animator-codex/references/shotcraft/source/demos/space-camera-moves/SnorricamLock.tsx +130 -0
  248. package/skills/hyper-animator-codex/references/shotcraft/source/demos/spectrum-morph-ui/SpectrumMorphUi.tsx +129 -0
  249. package/skills/hyper-animator-codex/references/shotcraft/source/demos/speed-ramp-freeze/FreezeAnnotateReal.tsx +70 -0
  250. package/skills/hyper-animator-codex/references/shotcraft/source/demos/speed-ramp-freeze/SpeedRampReal.tsx +58 -0
  251. package/skills/hyper-animator-codex/references/shotcraft/source/demos/split-flap-title/SplitFlapFlip.tsx +189 -0
  252. package/skills/hyper-animator-codex/references/shotcraft/source/demos/spotlight-sweep-moves/CornerSpotlightReveal.tsx +121 -0
  253. package/skills/hyper-animator-codex/references/shotcraft/source/demos/spotlight-sweep-moves/GlowWakeSleepPanel.tsx +183 -0
  254. package/skills/hyper-animator-codex/references/shotcraft/source/demos/spotlight-sweep-moves/SlideSpotlightPan.tsx +171 -0
  255. package/skills/hyper-animator-codex/references/shotcraft/source/demos/steep-tilt-glide/SteepTiltGlide.tsx +315 -0
  256. package/skills/hyper-animator-codex/references/shotcraft/source/demos/stroke-segment-build/StrokeSegmentBuild.tsx +126 -0
  257. package/skills/hyper-animator-codex/references/shotcraft/source/demos/tear-streak-transitions/GlitchDisplace.tsx +107 -0
  258. package/skills/hyper-animator-codex/references/shotcraft/source/demos/tension-camera-moves/BulletTimeFreezeOrbit.tsx +219 -0
  259. package/skills/hyper-animator-codex/references/shotcraft/source/demos/tension-camera-moves/DutchRollToLevel.tsx +110 -0
  260. package/skills/hyper-animator-codex/references/shotcraft/source/demos/tension-camera-moves/PullBackIsolation.tsx +120 -0
  261. package/skills/hyper-animator-codex/references/shotcraft/source/demos/tension-camera-moves/SlowPushIn.tsx +96 -0
  262. package/skills/hyper-animator-codex/references/shotcraft/source/demos/text-as-mask/TextAsMask.tsx +94 -0
  263. package/skills/hyper-animator-codex/references/shotcraft/source/demos/text-column-converge/TextColumnConverge.tsx +122 -0
  264. package/skills/hyper-animator-codex/references/shotcraft/source/demos/theme-switch-moves/PaletteThemeRipple.tsx +207 -0
  265. package/skills/hyper-animator-codex/references/shotcraft/source/demos/theme-switch-moves/ThemeSweepToggle.tsx +123 -0
  266. package/skills/hyper-animator-codex/references/shotcraft/source/demos/timeline-travel/TimelineTravel.tsx +123 -0
  267. package/skills/hyper-animator-codex/references/shotcraft/source/demos/title-demote-to-label/TitleDemoteToLabel.tsx +174 -0
  268. package/skills/hyper-animator-codex/references/shotcraft/source/demos/trailer-grammar-moves/CardFootageCadence.tsx +118 -0
  269. package/skills/hyper-animator-codex/references/shotcraft/source/demos/trailer-grammar-moves/SmashCut.tsx +105 -0
  270. package/skills/hyper-animator-codex/references/shotcraft/source/demos/trailer-grammar-moves/TrailerBumper.tsx +103 -0
  271. package/skills/hyper-animator-codex/references/shotcraft/source/demos/transition-hidden-cut/InvisibleCut.tsx +93 -0
  272. package/skills/hyper-animator-codex/references/shotcraft/source/demos/transition-hidden-cut/LightLeakBurn.tsx +122 -0
  273. package/skills/hyper-animator-codex/references/shotcraft/source/demos/transition-hidden-cut/VersusSlam.tsx +104 -0
  274. package/skills/hyper-animator-codex/references/shotcraft/source/demos/transition-travel/LetterformZoom.tsx +141 -0
  275. package/skills/hyper-animator-codex/references/shotcraft/source/demos/transition-travel/SharedElementMorph.tsx +101 -0
  276. package/skills/hyper-animator-codex/references/shotcraft/source/demos/type-assembly-moves/LetterformDriftAssembly.tsx +107 -0
  277. package/skills/hyper-animator-codex/references/shotcraft/source/demos/type-assembly-moves/SplitTextStagger.tsx +101 -0
  278. package/skills/hyper-animator-codex/references/shotcraft/source/demos/type-assembly-moves/TextOnPath.tsx +92 -0
  279. package/skills/hyper-animator-codex/references/shotcraft/source/demos/type-assembly-moves/TrackingExpandReveal.tsx +109 -0
  280. package/skills/hyper-animator-codex/references/shotcraft/source/demos/type-entrance-moves/LetterDropPhysics.tsx +100 -0
  281. package/skills/hyper-animator-codex/references/shotcraft/source/demos/type-entrance-moves/ScrambleDecode.tsx +90 -0
  282. package/skills/hyper-animator-codex/references/shotcraft/source/demos/type-rhythm-sync/FontWeightPump.tsx +124 -0
  283. package/skills/hyper-animator-codex/references/shotcraft/source/demos/type-rhythm-sync/KaraokeFillSync.tsx +93 -0
  284. package/skills/hyper-animator-codex/references/shotcraft/source/demos/typewriter-moves/TerminalTypewriter.tsx +122 -0
  285. package/skills/hyper-animator-codex/references/shotcraft/source/demos/typewriter-moves/TypewriterErrorRetype.tsx +109 -0
  286. package/skills/hyper-animator-codex/references/shotcraft/source/demos/ui-strip-away-outro/UiStripAwayOutro.tsx +218 -0
  287. package/skills/hyper-animator-codex/references/shotcraft/source/demos/ui-to-brand-morph/IconFlipBloomLogo.tsx +199 -0
  288. package/skills/hyper-animator-codex/references/shotcraft/source/demos/ui-to-brand-morph/InputMorphsIntoLogo.tsx +215 -0
  289. package/skills/hyper-animator-codex/references/shotcraft/source/demos/voice-waveform-live/VoiceWaveformLive.tsx +171 -0
  290. package/skills/hyper-animator-codex/references/shotcraft/source/demos/wall-reveal-moves/BentoLightUp.tsx +135 -0
  291. package/skills/hyper-animator-codex/references/shotcraft/source/demos/wipe-transitions/BlindsSlice.tsx +107 -0
  292. package/skills/hyper-animator-codex/references/shotcraft/source/demos/wipe-transitions/ClockWipe.tsx +83 -0
  293. package/skills/hyper-animator-codex/references/shotcraft/source/demos/word-relay-filmstrip/WordRelayFilmstrip.tsx +300 -0
  294. package/skills/hyper-animator-codex/references/shotcraft/source/template/src/Root.tsx +15 -0
  295. package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/Caption.tsx +49 -0
  296. package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/DigitRoll.tsx +44 -0
  297. package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/FlashCut.tsx +19 -0
  298. package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/Main.tsx +163 -0
  299. package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/PaperTitleCard.tsx +89 -0
  300. package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/live/PageCam.tsx +145 -0
  301. package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/live/SceneDetail.tsx +146 -0
  302. package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/live/SceneFlyIn.tsx +447 -0
  303. package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/live/SceneOpen.tsx +532 -0
  304. package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/live/SceneOutroLive.tsx +394 -0
  305. package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/live/ScenePapers.tsx +185 -0
  306. package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/live/SceneWbr.tsx +299 -0
  307. package/skills/hyper-animator-codex/references/shotcraft/source/template/src/index.ts +4 -0
  308. package/skills/hyper-animator-codex/references/shotcraft/source-notes.md +10 -0
  309. package/skills/hyper-animator-codex/scripts/generate_minimax_music.mjs +27 -10
  310. package/skills/hyper-animator-codex/scripts/generate_minimax_tts.mjs +142 -13
  311. package/skills/hyper-animator-codex/scripts/generate_subtitles.mjs +42 -3
  312. package/skills/hyper-animator-codex/scripts/minimax_runtime_config.mjs +3 -3
  313. package/skills/hyper-animator-codex/scripts/query_shotcraft.mjs +140 -0
  314. package/skills/hyper-animator-codex/scripts/validate_hyperframes_html.py +22 -0
  315. package/skills/hyper-animator-codex/scripts/validate_provider_policy.mjs +108 -0
  316. package/skills/hyper-animator-codex/scripts/validate_shot_plan.mjs +193 -0
  317. package/skills/hyper-animator-codex/vendor/music-beat-detector/beat_detector/analyzer.py +3 -1
  318. package/skills/hyper-animator-codex/vendor/music-beat-detector/beat_detector/beat.py +37 -1
@@ -0,0 +1,122 @@
1
+ // terminal-typewriter —— 终端打字机触发
2
+ // 深色终端窗居中,"$ acme deploy --prod" 逐字符敲出(2f/字符,帧确定
3
+ // substring),方块光标 12f 方波闪 → 敲完停 12f → 回车帧:整场景 6f
4
+ // Easing.in(cubic) 急推 scale 1→3.2 向命令行推入(末 2f 加 blur)硬切到
5
+ // FakeDashboard A 全屏,1.06→1 回稳 4f 落定。收尾真静止 ≥40f。
6
+ import React from 'react';
7
+ import { useCurrentFrame, interpolate, Easing } from 'remotion';
8
+ import { G, FakeDashboard } from '../_fixtures/Fixtures';
9
+
10
+ const CMD = 'acme deploy --prod';
11
+
12
+ // 时间轴(30fps,共 145f)
13
+ const T = {
14
+ typeStart: 10, // 开始敲字
15
+ typeEnd: 10 + CMD.length * 2, // 46:18 字符 × 2f
16
+ enter: 58, // 敲完停 12f 后回车
17
+ pushEnd: 64, // 6f 急推结束,硬切帧
18
+ settleEnd: 68, // dashboard 1.06→1 回稳 4f
19
+ total: 145, // f68 起真静止 77f
20
+ };
21
+
22
+ // 终端窗几何
23
+ const TW = 1100;
24
+ const TH = 620;
25
+ const TL = (1920 - TW) / 2; // 410
26
+ const TT = (1080 - TH) / 2; // 230
27
+ const TITLEBAR = 52;
28
+ const PAD = 34;
29
+ // 命令行基线(推入焦点):标题栏下第二行文字中心
30
+ const FOCUS_X = 960;
31
+ const FOCUS_Y = TT + TITLEBAR + PAD + 92; // ≈ 408
32
+
33
+ const TerminalWindow: React.FC<{ chars: number; cursorOn: boolean }> = ({ chars, cursorOn }) => (
34
+ <div style={{
35
+ width: TW, height: TH, background: '#1e1e1c', borderRadius: 14,
36
+ boxShadow: '0 24px 64px rgba(0,0,0,0.35)',
37
+ overflow: 'hidden', boxSizing: 'border-box',
38
+ }}>
39
+ {/* 标题栏:三圆点窗控(灰阶) */}
40
+ <div style={{
41
+ height: TITLEBAR, background: '#2a2a28', borderBottom: '1px solid #3a3a38',
42
+ display: 'flex', alignItems: 'center', gap: 12, padding: '0 22px',
43
+ boxSizing: 'border-box',
44
+ }}>
45
+ {['#6a6a68', '#8f8f8d', '#b5b5b3'].map((c, i) => (
46
+ <div key={i} style={{ width: 16, height: 16, borderRadius: 8, background: c }} />
47
+ ))}
48
+ <div style={{ margin: '0 auto', height: 10, width: 200, background: '#4a4a48', borderRadius: 5 }} />
49
+ <div style={{ width: 72 }} />
50
+ </div>
51
+ {/* 内容区 */}
52
+ <div style={{
53
+ padding: PAD, fontFamily: 'Menlo, Consolas, monospace', fontSize: 40,
54
+ color: '#d8d8d6', lineHeight: 1.5,
55
+ }}>
56
+ {/* 一行历史输出做上下文 */}
57
+ <div style={{ color: '#7a7a78', fontSize: 32, marginBottom: 18 }}>~/acme-app (main)</div>
58
+ <div style={{ display: 'flex', alignItems: 'center', whiteSpace: 'pre' }}>
59
+ <span style={{ color: '#9f9f9d' }}>{'$ '}</span>
60
+ <span>{CMD.substring(0, chars)}</span>
61
+ <span style={{
62
+ display: 'inline-block', width: 24, height: 48, marginLeft: 4,
63
+ background: '#d8d8d6', opacity: cursorOn ? 1 : 0,
64
+ }} />
65
+ </div>
66
+ </div>
67
+ </div>
68
+ );
69
+
70
+ export const TerminalTypewriter: React.FC = () => {
71
+ const frame = useCurrentFrame();
72
+
73
+ // 帧确定打字:2f/字符
74
+ const chars = Math.min(CMD.length, Math.max(0, Math.floor((frame - T.typeStart) / 2)));
75
+
76
+ // 方块光标 12f 周期方波闪(全程)
77
+ const cursorOn = frame % 12 < 6;
78
+
79
+ // 回车急推:整场景 scale 1→3.2,6f Easing.in(cubic),向命令行推入
80
+ const pushScale = interpolate(frame, [T.enter, T.pushEnd], [1, 3.2], {
81
+ extrapolateLeft: 'clamp', extrapolateRight: 'clamp',
82
+ easing: Easing.in(Easing.cubic),
83
+ });
84
+ // 末 2f 运动模糊(f62–f64),硬切后摘罩=条件挂载
85
+ const pushBlur = interpolate(frame, [T.pushEnd - 2, T.pushEnd], [0, 10], {
86
+ extrapolateLeft: 'clamp', extrapolateRight: 'clamp',
87
+ });
88
+
89
+ // 硬切:f64 起终端场景整体卸载,dashboard 挂载
90
+ const cut = frame >= T.pushEnd;
91
+
92
+ // dashboard 落定:1.06→1 回稳 4f
93
+ const dashScale = interpolate(frame, [T.pushEnd, T.settleEnd], [1.06, 1], {
94
+ extrapolateLeft: 'clamp', extrapolateRight: 'clamp',
95
+ easing: Easing.out(Easing.cubic),
96
+ });
97
+
98
+ return (
99
+ <div style={{ width: 1920, height: 1080, background: G.bg, position: 'relative', overflow: 'hidden' }}>
100
+ {!cut ? (
101
+ <div style={{
102
+ width: 1920, height: 1080,
103
+ transform: `scale(${pushScale})`,
104
+ transformOrigin: `${FOCUS_X}px ${FOCUS_Y}px`,
105
+ ...(pushBlur > 0 ? { filter: `blur(${pushBlur}px)` } : {}),
106
+ }}>
107
+ <div style={{ position: 'absolute', left: TL, top: TT }}>
108
+ <TerminalWindow chars={chars} cursorOn={cursorOn} />
109
+ </div>
110
+ </div>
111
+ ) : (
112
+ <div style={{
113
+ width: 1920, height: 1080,
114
+ transform: `scale(${dashScale})`,
115
+ transformOrigin: '960px 540px',
116
+ }}>
117
+ <FakeDashboard variant="A" />
118
+ </div>
119
+ )}
120
+ </div>
121
+ );
122
+ };
@@ -0,0 +1,109 @@
1
+ // typewriter-error-retype|打字机误删重打
2
+ // 浅底居中大字:f2 起 2f/字符打出 "just a dashboard"(16 字符) → f32–48 停顿
3
+ // 16f(光标闪两下=犹豫) → f48 起 1.5f/字符逐字退格删掉 "a dashboard"(11 字符,
4
+ // 字符直接消失) → f68 起 1.5f/字符果断打出 "your command center"(19 字符,
5
+ // f95 打完) → 光标闪两个周期(10f/周期)后 f110 永久熄灭。节奏三档:打 2f/删
6
+ // 1.5f/重打 1.5f 且无停顿。f110 后全静止,160f 总长 → 收尾真静止 50f。
7
+ // 等宽感:逐字符固定宽 span,无 letter-spacing 动画。全部帧确定。
8
+ import React from 'react';
9
+ import { useCurrentFrame } from 'remotion';
10
+ import { G } from '../_fixtures/Fixtures';
11
+
12
+ const TEXT1 = 'just a dashboard'; // 16 chars
13
+ const KEEP = 5; // "just " 保留
14
+ const DEL = TEXT1.length - KEEP; // 11 chars 待删
15
+ const TEXT2 = 'your command center'; // 19 chars
16
+
17
+ const T1 = 2; // 第一遍打字起点,2f/字符
18
+ const PAUSE_START = T1 + (TEXT1.length - 1) * 2; // f32 打完
19
+ const DS = PAUSE_START + 16; // f48 开删,1.5f/字符
20
+ const RS = 68; // 重打起点,1.5f/字符(删完 f64.5 后小顿 3.5f)
21
+ const TYPE2_END = RS + (TEXT2.length - 1) * 1.5; // f95 打完
22
+ const CURSOR_OFF = 115; // 两个 10f 闪烁周期后熄灭(最后一次视觉变化 f110)
23
+
24
+ const CHAR_W = 58; // fontSize 96 的等宽感字符宽
25
+
26
+ // 光标可见性:打字/删除时常亮;停顿段 8f 周期闪两下;打完后 10f 周期闪两下;之后永灭
27
+ const cursorOn = (f: number): boolean => {
28
+ if (f >= CURSOR_OFF) return false;
29
+ if (f >= TYPE2_END) {
30
+ // f95 起:on[95,100) off[100,105) on[105,110) off[110,115)
31
+ return Math.floor((f - TYPE2_END) / 5) % 2 === 0;
32
+ }
33
+ if (f >= DS) return true; // 删除 + 重打:常亮(果断)
34
+ if (f >= PAUSE_START) {
35
+ // 犹豫段 f32–48:on[32,36) off[36,40) on[40,44) off[44,48)
36
+ return Math.floor((f - PAUSE_START) / 4) % 2 === 0;
37
+ }
38
+ return true; // 第一遍打字:常亮
39
+ };
40
+
41
+ export const TypewriterErrorRetype: React.FC = () => {
42
+ const f = useCurrentFrame();
43
+
44
+ // 第一遍已打出字符数
45
+ const n1 = f < T1 ? 0 : Math.min(TEXT1.length, Math.floor((f - T1) / 2) + 1);
46
+ // 已删除字符数(从尾部删)
47
+ const removed = f < DS ? 0 : Math.min(DEL, Math.floor((f - DS) / 1.5) + 1);
48
+ // 第二遍已打出字符数
49
+ const n2 = f < RS ? 0 : Math.min(TEXT2.length, Math.floor((f - RS) / 1.5) + 1);
50
+
51
+ const shown =
52
+ TEXT1.slice(0, Math.max(KEEP, n1 - removed)).slice(0, n1) +
53
+ TEXT2.slice(0, n2);
54
+
55
+ const chars = shown.split('');
56
+
57
+ return (
58
+ <div
59
+ style={{
60
+ width: 1920,
61
+ height: 1080,
62
+ background: G.bg,
63
+ position: 'relative',
64
+ }}
65
+ >
66
+ {/* 左缘锚定:最终句 24 字符×58=1392px,左起 264 恰好整体居中;
67
+ 打字过程不横移(真打字机感) */}
68
+ <div
69
+ style={{
70
+ position: 'absolute',
71
+ left: 264,
72
+ top: 490,
73
+ display: 'flex',
74
+ alignItems: 'center',
75
+ }}
76
+ >
77
+ {chars.map((c, i) => (
78
+ <span
79
+ key={i}
80
+ style={{
81
+ display: 'inline-block',
82
+ width: CHAR_W,
83
+ textAlign: 'center',
84
+ fontFamily: '"Courier New", Courier, monospace',
85
+ fontSize: 96,
86
+ fontWeight: 700,
87
+ color: G.ink,
88
+ lineHeight: 1.1,
89
+ }}
90
+ >
91
+ {c === ' ' ? ' ' : c}
92
+ </span>
93
+ ))}
94
+ {/* 光标:竖线,条件挂载而非 opacity 0 */}
95
+ {cursorOn(f) && (
96
+ <span
97
+ style={{
98
+ display: 'inline-block',
99
+ width: 7,
100
+ height: 100,
101
+ marginLeft: 4,
102
+ background: G.ink,
103
+ }}
104
+ />
105
+ )}
106
+ </div>
107
+ </div>
108
+ );
109
+ };
@@ -0,0 +1,218 @@
1
+ // ui-strip-away-outro —— framer-ai 33–36.5s
2
+ // 满屏灰阶"编辑器"里光标点击高亮 Publish 按钮 → UI 层层错峰蒸发退场
3
+ // (每层 fade + 轻微位移,从外围到中心)→ 黑场只剩按钮 → 按钮淡出交棒字标。
4
+ import React from 'react';
5
+ import { AbsoluteFill, useCurrentFrame, interpolate, spring, useVideoConfig, Easing } from 'remotion';
6
+ import { G, Card } from '../_fixtures/Fixtures';
7
+
8
+ const CLICK = 34; // 点击时刻
9
+ // 蒸发层级(点击后延迟,外围先走)
10
+ const STRIP = {
11
+ sidebar: CLICK + 4,
12
+ leftPanel: CLICK + 8,
13
+ canvasCards: CLICK + 12,
14
+ topbarEnds: CLICK + 16,
15
+ canvasBg: CLICK + 20,
16
+ toolbarShell: CLICK + 24,
17
+ };
18
+ const STRIP_DUR = 14;
19
+ const BTN_FADE = CLICK + 52;
20
+ const LOGO_IN = CLICK + 62;
21
+
22
+ // 某层的蒸发进度 → {opacity, offset}
23
+ const useStrip = (frame: number, start: number, dx: number, dy: number) => {
24
+ const p = interpolate(frame, [start, start + STRIP_DUR], [0, 1], {
25
+ extrapolateLeft: 'clamp',
26
+ extrapolateRight: 'clamp',
27
+ easing: Easing.in(Easing.quad), // 离场加速
28
+ });
29
+ return {
30
+ opacity: 1 - p,
31
+ transform: `translate(${dx * p}px, ${dy * p}px)`,
32
+ };
33
+ };
34
+
35
+ export const UiStripAwayOutro: React.FC = () => {
36
+ const frame = useCurrentFrame();
37
+ const { fps } = useVideoConfig();
38
+
39
+ // 背景:编辑器灰底 → 黑场(随 canvasBg 层蒸发压黑)
40
+ const bgDark = interpolate(frame, [STRIP.canvasBg, STRIP.canvasBg + STRIP_DUR + 6], [0, 1], {
41
+ extrapolateLeft: 'clamp',
42
+ extrapolateRight: 'clamp',
43
+ easing: Easing.inOut(Easing.quad),
44
+ });
45
+
46
+ const sidebar = useStrip(frame, STRIP.sidebar, -140, 0);
47
+ const leftPanel = useStrip(frame, STRIP.leftPanel, -90, 20);
48
+ const topLeft = useStrip(frame, STRIP.topbarEnds, -80, -60);
49
+ const topRight = useStrip(frame, STRIP.topbarEnds, 80, -60);
50
+ const toolbarShell = useStrip(frame, STRIP.toolbarShell, 0, -50);
51
+ const canvasFrame = useStrip(frame, STRIP.canvasBg, 0, 40);
52
+
53
+ // 画布卡片错峰蒸发
54
+ const cardStrip = (i: number) => useStripStatic(frame, STRIP.canvasCards + i * 3, (i % 2 ? 70 : -70), 50 + i * 10);
55
+
56
+ // 按钮:点击脉冲 + 最后淡出
57
+ const press = spring({ frame: frame - CLICK, fps, config: { damping: 12, stiffness: 220 } });
58
+ const pressScale = frame < CLICK ? 1 : 1 - 0.12 * Math.sin(Math.min(1, press) * Math.PI);
59
+ const btnOp = interpolate(frame, [BTN_FADE, BTN_FADE + 12], [1, 0], {
60
+ extrapolateLeft: 'clamp',
61
+ extrapolateRight: 'clamp',
62
+ });
63
+ // 蒸发期间按钮从工具条位置滑向屏幕中心,独占黑场
64
+ const btnCenter = interpolate(frame, [STRIP.toolbarShell, STRIP.toolbarShell + 18], [0, 1], {
65
+ extrapolateLeft: 'clamp',
66
+ extrapolateRight: 'clamp',
67
+ easing: Easing.inOut(Easing.cubic),
68
+ });
69
+ const btnX = 1560 + (960 - 88 - 1560) * btnCenter;
70
+ const btnY = 30 + (540 - 30 - 30) * btnCenter;
71
+ const btnScale = 1 + 0.5 * btnCenter;
72
+
73
+ // 字标接棒
74
+ const logoP = spring({ frame: frame - LOGO_IN, fps, config: { damping: 14, stiffness: 90 } });
75
+
76
+ // 光标移向按钮
77
+ const curX = interpolate(frame, [4, CLICK - 2], [820, 1636], {
78
+ extrapolateLeft: 'clamp', extrapolateRight: 'clamp', easing: Easing.inOut(Easing.quad),
79
+ });
80
+ const curY = interpolate(frame, [4, CLICK - 2], [640, 64], {
81
+ extrapolateLeft: 'clamp', extrapolateRight: 'clamp', easing: Easing.inOut(Easing.quad),
82
+ });
83
+ const curOp = interpolate(frame, [CLICK + 6, CLICK + 16], [1, 0], {
84
+ extrapolateLeft: 'clamp', extrapolateRight: 'clamp',
85
+ });
86
+
87
+ return (
88
+ <AbsoluteFill style={{ background: '#111110', overflow: 'hidden' }}>
89
+ {/* 编辑器灰底(作为一层可蒸发的背景) */}
90
+ <AbsoluteFill style={{ background: G.bg, opacity: 1 - bgDark }} />
91
+
92
+ {/* 左侧栏(图层面板) */}
93
+ <div style={{ position: 'absolute', left: 0, top: 0, bottom: 0, width: 240, background: G.side, padding: '90px 24px', boxSizing: 'border-box', display: 'flex', flexDirection: 'column', gap: 20, ...sidebar }}>
94
+ {Array.from({ length: 9 }).map((_, i) => (
95
+ <div key={i} style={{ height: 13, width: `${55 + ((i * 31) % 40)}%`, background: G.sideBar, borderRadius: 6 }} />
96
+ ))}
97
+ </div>
98
+
99
+ {/* 右侧属性面板 */}
100
+ <div style={{ position: 'absolute', right: 0, top: 60, bottom: 0, width: 300, background: G.panel, borderLeft: `2px solid ${G.line}`, padding: 28, boxSizing: 'border-box', display: 'flex', flexDirection: 'column', gap: 18, ...leftPanel }}>
101
+ {Array.from({ length: 4 }).map((_, i) => (
102
+ <React.Fragment key={i}>
103
+ <div style={{ height: 12, width: '45%', background: G.bar, borderRadius: 6 }} />
104
+ <div style={{ height: 34, background: '#fff', border: `2px solid ${G.line}`, borderRadius: 8, boxSizing: 'border-box' }} />
105
+ </React.Fragment>
106
+ ))}
107
+ </div>
108
+
109
+ {/* 顶部工具条左半(logo + 工具 chips) */}
110
+ <div style={{ position: 'absolute', left: 0, top: 0, width: 760, height: 60, background: G.panel, borderBottom: `2px solid ${G.line}`, display: 'flex', alignItems: 'center', gap: 16, padding: '0 24px', boxSizing: 'border-box', ...topLeft }}>
111
+ <div style={{ width: 32, height: 32, borderRadius: 8, background: G.mid }} />
112
+ {Array.from({ length: 5 }).map((_, i) => (
113
+ <div key={i} style={{ width: 30, height: 30, borderRadius: 8, background: G.line }} />
114
+ ))}
115
+ </div>
116
+ {/* 顶部工具条中段(标题) */}
117
+ <div style={{ position: 'absolute', left: 760, top: 0, right: 400, height: 60, background: G.panel, borderBottom: `2px solid ${G.line}`, display: 'flex', alignItems: 'center', justifyContent: 'center', boxSizing: 'border-box', ...toolbarShell }}>
118
+ <div style={{ height: 14, width: 220, background: G.bar, borderRadius: 7 }} />
119
+ </div>
120
+ {/* 顶部工具条右段底板(Invite 假按钮;Publish 单独渲染在最上层) */}
121
+ <div style={{ position: 'absolute', right: 0, top: 0, width: 400, height: 60, background: G.panel, borderBottom: `2px solid ${G.line}`, display: 'flex', alignItems: 'center', justifyContent: 'flex-start', gap: 14, padding: '0 24px', boxSizing: 'border-box', ...topRight }}>
122
+ <div style={{ height: 36, width: 100, borderRadius: 18, border: `2px solid ${G.bar}`, boxSizing: 'border-box' }} />
123
+ </div>
124
+
125
+ {/* 画布区:一张浏览器式大卡 + 两张小卡 */}
126
+ <div style={{ position: 'absolute', left: 320, top: 130, width: 1180, height: 850, ...canvasFrame }}>
127
+ <div style={{ position: 'absolute', inset: 0, background: G.card, border: `2px solid ${G.border}`, borderRadius: 18, boxShadow: '0 10px 40px rgba(0,0,0,0.08)' }}>
128
+ <div style={{ height: 46, borderBottom: `2px solid ${G.line}`, display: 'flex', alignItems: 'center', gap: 8, padding: '0 18px' }}>
129
+ {[0, 1, 2].map((i) => (
130
+ <div key={i} style={{ width: 14, height: 14, borderRadius: 7, background: G.line }} />
131
+ ))}
132
+ <div style={{ marginLeft: 16, height: 20, width: 380, background: G.bg, borderRadius: 10 }} />
133
+ </div>
134
+ </div>
135
+ {[0, 1, 2, 3].map((i) => {
136
+ const s = cardStrip(i);
137
+ return (
138
+ <div key={i} style={{ position: 'absolute', left: 70 + (i % 2) * 560, top: 120 + Math.floor(i / 2) * 340, ...s }}>
139
+ <Card w={480} h={280} seed={i + 2} />
140
+ </div>
141
+ );
142
+ })}
143
+ </div>
144
+
145
+ {/* Publish 按钮(高亮层,最后退场) */}
146
+ <div
147
+ style={{
148
+ position: 'absolute',
149
+ left: btnX,
150
+ top: btnY,
151
+ width: 176,
152
+ height: 44,
153
+ opacity: btnOp,
154
+ transform: `scale(${pressScale})`,
155
+ zIndex: 30,
156
+ }}
157
+ >
158
+ <div
159
+ style={{
160
+ width: 176 * btnScale,
161
+ height: 44 * btnScale,
162
+ marginLeft: -((176 * btnScale - 176) / 2),
163
+ marginTop: -((44 * btnScale - 44) / 2),
164
+ borderRadius: 22 * btnScale,
165
+ background: '#f2f2f0',
166
+ boxShadow: `0 0 ${30 + 40 * btnCenter}px rgba(255,255,255,${0.25 + 0.3 * btnCenter * bgDark})`,
167
+ display: 'flex',
168
+ alignItems: 'center',
169
+ justifyContent: 'center',
170
+ fontFamily: 'Helvetica, Arial, sans-serif',
171
+ fontWeight: 700,
172
+ fontSize: 20 * btnScale,
173
+ color: '#161615',
174
+ }}
175
+ >
176
+ Publish
177
+ </div>
178
+ </div>
179
+
180
+ {/* 字标接棒 */}
181
+ {frame >= LOGO_IN && (
182
+ <AbsoluteFill style={{ alignItems: 'center', justifyContent: 'center' }}>
183
+ <div
184
+ style={{
185
+ opacity: logoP,
186
+ transform: `scale(${0.86 + 0.14 * logoP})`,
187
+ fontFamily: 'Helvetica, Arial, sans-serif',
188
+ fontWeight: 800,
189
+ fontSize: 110,
190
+ letterSpacing: 6,
191
+ color: '#f2f2f0',
192
+ }}
193
+ >
194
+ WORDMARK
195
+ </div>
196
+ </AbsoluteFill>
197
+ )}
198
+
199
+ {/* 光标 */}
200
+ <svg width={40} height={44} viewBox="0 0 20 22" style={{ position: 'absolute', left: curX, top: curY, opacity: curOp, zIndex: 40 }}>
201
+ <path d="M2 1 L2 17 L6.5 13.2 L9.4 20 L12.4 18.7 L9.5 12 L15 11.6 Z" fill={G.ink} stroke="#fff" strokeWidth="1.4" />
202
+ </svg>
203
+ </AbsoluteFill>
204
+ );
205
+ };
206
+
207
+ // hook 规则外的静态版本(供 map 内调用)
208
+ const useStripStatic = (frame: number, start: number, dx: number, dy: number) => {
209
+ const p = interpolate(frame, [start, start + STRIP_DUR], [0, 1], {
210
+ extrapolateLeft: 'clamp',
211
+ extrapolateRight: 'clamp',
212
+ easing: Easing.in(Easing.quad),
213
+ });
214
+ return {
215
+ opacity: 1 - p,
216
+ transform: `translate(${dx * p}px, ${dy * p}px)`,
217
+ };
218
+ };
@@ -0,0 +1,199 @@
1
+ // icon-flip-bloom-logo —— 图标 Y 轴翻转压扁成竖线,绽放成花形 mark + wordmark 扫出
2
+ // 源:perplexity-promo 88–91.5s。笑脸 laptop 图标 anticipation 晃两下 →
3
+ // 沿 Y 轴翻转压扁成竖线(拖影/模糊)→ 翻过最薄处绽放花形 mark(花瓣张开)→
4
+ // wordmark 从 mark 右侧带方向模糊逐段扫出(字符从糊到锐利)。
5
+ import React from 'react';
6
+ import { AbsoluteFill, useCurrentFrame, interpolate, Easing, spring, useVideoConfig } from 'remotion';
7
+ import { G } from '../_fixtures/Fixtures';
8
+
9
+ const FONT = 'Helvetica, Arial, sans-serif';
10
+ const INK = '#20808d'; // 花形 mark 用一点 teal,其余灰阶
11
+
12
+ const SmileLaptop: React.FC<{ size: number }> = ({ size }) => (
13
+ <svg width={size} height={size} viewBox="0 0 40 40">
14
+ <rect x={7} y={6} width={26} height={20} rx={3.5} fill="#fff" stroke={G.ink} strokeWidth={3} />
15
+ <circle cx={15.5} cy={13.5} r={2} fill={G.ink} />
16
+ <circle cx={24.5} cy={13.5} r={2} fill={G.ink} />
17
+ <path d="M14 18.5 Q20 23.5 26 18.5" stroke={G.ink} strokeWidth={2.8} fill="none" strokeLinecap="round" />
18
+ <path d="M3.5 31.5 L36.5 31.5" stroke={G.ink} strokeWidth={3.6} strokeLinecap="round" />
19
+ </svg>
20
+ );
21
+
22
+ // 5 瓣抽象花形 mark,bloom: 0(闭合竖线)→1(全开)
23
+ const FlowerMark: React.FC<{ size: number; bloom: number }> = ({ size, bloom }) => {
24
+ const petals = 5;
25
+ return (
26
+ <svg width={size} height={size} viewBox="-50 -50 100 100">
27
+ {Array.from({ length: petals }).map((_, i) => {
28
+ // 从竖直方向(-90°)向两侧展开到均匀分布
29
+ const finalAngle = -90 + (i - (petals - 1) / 2) * (360 / petals);
30
+ const angle = interpolate(bloom, [0, 1], [-90, finalAngle]);
31
+ const len = interpolate(bloom, [0, 1], [20, 38]);
32
+ const wid = interpolate(bloom, [0, 1], [3, 15]);
33
+ return (
34
+ <ellipse
35
+ key={i}
36
+ cx={0}
37
+ cy={-len / 2}
38
+ rx={wid / 2}
39
+ ry={len / 2}
40
+ fill={INK}
41
+ opacity={0.92}
42
+ transform={`rotate(${angle + 90})`}
43
+ />
44
+ );
45
+ })}
46
+ <circle r={interpolate(bloom, [0, 1], [2, 9])} fill={G.ink} />
47
+ </svg>
48
+ );
49
+ };
50
+
51
+ const WORD = 'perplexity';
52
+
53
+ export const IconFlipBloomLogo: React.FC = () => {
54
+ const frame = useCurrentFrame();
55
+ const { fps } = useVideoConfig();
56
+
57
+ // ---- 时间轴 ----
58
+ // 0–10: 图标登场(淡入微弹)
59
+ // 12–34: anticipation 倾斜蓄力晃两下
60
+ // 34–46: Y 轴翻转压扁成竖线(scaleX -> 0.04,带拖影)
61
+ // 46–62: 翻过最薄处绽放花形(bloom 0->1 带过冲)
62
+ // 64–100: mark 左移让位 + wordmark 逐字符方向模糊扫出
63
+ const FLIP_START = 34;
64
+ const FLIP_MID = 46;
65
+ const BLOOM_END = 62;
66
+ const WORD_START = 66;
67
+
68
+ // 登场
69
+ const inT = spring({ frame, fps, config: { damping: 13, stiffness: 140, mass: 0.8 } });
70
+
71
+ // anticipation:两次倾斜摆动,幅度递增(-10° / +14°),最后向反方向压一下蓄力
72
+ const wobble =
73
+ interpolate(frame, [12, 18, 24, 30, FLIP_START], [0, -12, 14, -18, 0], {
74
+ extrapolateLeft: 'clamp',
75
+ extrapolateRight: 'clamp',
76
+ easing: Easing.inOut(Easing.sin),
77
+ });
78
+
79
+ // 翻转前半:scaleX 1 -> 0.04(加速入),伴随拖影
80
+ const flipIn = interpolate(frame, [FLIP_START, FLIP_MID], [0, 1], {
81
+ extrapolateLeft: 'clamp',
82
+ extrapolateRight: 'clamp',
83
+ easing: Easing.in(Easing.cubic),
84
+ });
85
+ const iconScaleX = interpolate(flipIn, [0, 1], [1, 0.04]);
86
+
87
+ // 绽放:spring 过冲
88
+ const bloomSpring = spring({
89
+ frame: frame - FLIP_MID,
90
+ fps,
91
+ config: { damping: 11, stiffness: 130, mass: 0.9 },
92
+ });
93
+ const bloom = frame < FLIP_MID ? 0 : bloomSpring;
94
+ // mark 从竖线厚度撑开:scaleX 0.04 -> 1
95
+ const markScaleX = interpolate(bloom, [0, 1], [0.04, 1]);
96
+
97
+ // mark 左移让位(wordmark 登场时)
98
+ const shift = interpolate(frame, [WORD_START - 2, WORD_START + 16], [0, 1], {
99
+ extrapolateLeft: 'clamp',
100
+ extrapolateRight: 'clamp',
101
+ easing: Easing.out(Easing.cubic),
102
+ });
103
+ const markX = interpolate(shift, [0, 1], [0, -420]);
104
+
105
+ const showIcon = frame < FLIP_MID;
106
+
107
+ // 拖影帧(翻转期间画 2 个残影)
108
+ const ghosts = frame >= FLIP_START && frame < FLIP_MID ? [0.12, 0.24] : [];
109
+
110
+ return (
111
+ <AbsoluteFill style={{ background: G.bg, alignItems: 'center', justifyContent: 'center' }}>
112
+ <div style={{ position: 'relative', width: 1920, height: 400, display: 'flex', alignItems: 'center', justifyContent: 'center' }}>
113
+ {/* 图标 / mark 容器 */}
114
+ <div
115
+ style={{
116
+ position: 'absolute',
117
+ left: 960 + markX,
118
+ top: 200,
119
+ transform: 'translate(-50%, -50%)',
120
+ }}
121
+ >
122
+ {showIcon ? (
123
+ <>
124
+ {ghosts.map((g, i) => {
125
+ const gs = Math.min(1, iconScaleX + g);
126
+ return (
127
+ <div
128
+ key={i}
129
+ style={{
130
+ position: 'absolute',
131
+ left: '50%',
132
+ top: '50%',
133
+ transform: `translate(-50%, -50%) scaleX(${gs})`,
134
+ opacity: 0.22 - i * 0.08,
135
+ filter: 'blur(6px)',
136
+ }}
137
+ >
138
+ <SmileLaptop size={340} />
139
+ </div>
140
+ );
141
+ })}
142
+ <div
143
+ style={{
144
+ transform: `scale(${inT}) rotate(${wobble}deg) scaleX(${iconScaleX})`,
145
+ transformOrigin: 'center 78%',
146
+ filter: flipIn > 0.3 ? `blur(${flipIn * 5}px)` : 'none',
147
+ opacity: inT,
148
+ }}
149
+ >
150
+ <SmileLaptop size={340} />
151
+ </div>
152
+ </>
153
+ ) : (
154
+ <div style={{ transform: `scaleX(${markScaleX})` }}>
155
+ <FlowerMark size={340} bloom={bloom} />
156
+ </div>
157
+ )}
158
+ </div>
159
+
160
+ {/* wordmark:逐字符方向模糊扫出 */}
161
+ <div
162
+ style={{
163
+ position: 'absolute',
164
+ left: 960 + markX + 230,
165
+ top: 200,
166
+ transform: 'translateY(-50%)',
167
+ display: 'flex',
168
+ fontFamily: FONT,
169
+ fontWeight: 700,
170
+ fontSize: 150,
171
+ color: G.ink,
172
+ letterSpacing: 2,
173
+ }}
174
+ >
175
+ {WORD.split('').map((ch, i) => {
176
+ const cT = interpolate(frame, [WORD_START + i * 2.2, WORD_START + i * 2.2 + 10], [0, 1], {
177
+ extrapolateLeft: 'clamp',
178
+ extrapolateRight: 'clamp',
179
+ easing: Easing.out(Easing.cubic),
180
+ });
181
+ return (
182
+ <span
183
+ key={i}
184
+ style={{
185
+ display: 'inline-block',
186
+ opacity: cT,
187
+ transform: `translateX(${(1 - cT) * -70}px)`,
188
+ filter: `blur(${(1 - cT) * 16}px)`,
189
+ }}
190
+ >
191
+ {ch}
192
+ </span>
193
+ );
194
+ })}
195
+ </div>
196
+ </div>
197
+ </AbsoluteFill>
198
+ );
199
+ };