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.
- package/README.md +67 -4
- package/bin/hyper-animator-codex.mjs +1 -1
- package/lib/minimax-config.mjs +3 -3
- package/package.json +4 -1
- package/skills/hyper-animator-codex/SKILL.md +66 -22
- package/skills/hyper-animator-codex/agents/openai.yaml +2 -2
- package/skills/hyper-animator-codex/contracts/shot-plan.schema.json +280 -0
- package/skills/hyper-animator-codex/contracts/workflow-policy.json +97 -0
- package/skills/hyper-animator-codex/references/HyperFrames-AI-Generation-Patterns-codex.md +788 -0
- package/skills/hyper-animator-codex/references/beat-sync-workflow.md +7 -0
- package/skills/hyper-animator-codex/references/examples/shot-plan-dual-catalog.json +99 -0
- package/skills/hyper-animator-codex/references/hyperframes-agent-pseudocode.ts +1 -1
- package/skills/hyper-animator-codex/references/hyperframes-catalog-map.json +97 -230
- package/skills/hyper-animator-codex/references/hyperframes-intent-workflow.md +32 -8
- package/skills/hyper-animator-codex/references/minimax-music-workflow.md +24 -4
- package/skills/hyper-animator-codex/references/narration-audio-workflow.md +47 -10
- package/skills/hyper-animator-codex/references/shotcraft/LICENSE +202 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/ai-stream-response/README.md +46 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/autolayout-gap-dial/README.md +53 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/beat-cut-moves/README.md +54 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/beat-step-list-theme-cycle/README.md +59 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/before-after-slider-scrub/README.md +47 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/bottom-push-stack-wipe/README.md +58 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/brand-frame-snap/README.md +51 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/brand-ink-open/README.md +35 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/bubble-swarm-takeover/README.md +62 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/canvas-materialize-moves/README.md +55 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/card-flip-reveal/README.md +50 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/card-flock-tumble/README.md +54 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/cel-flash-stomp/README.md +54 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/chart-live-moves/README.md +51 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/circle-match-iris/README.md +53 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/cloner-depth-echo/README.md +38 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/collab-cursor-moves/README.md +48 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/color-block-step-wipe/README.md +54 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/command-palette-summon/README.md +45 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/crane-rise-reveal/README.md +47 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/crash-zoom-punch/README.md +38 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/dataviz-landscape-open/README.md +54 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/deck-deal-flyin/README.md +45 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/depth-layer-moves/README.md +40 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/document-typewriter-reveal/README.md +40 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/draw-svg-trace/README.md +50 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/edit-hook-moves/README.md +38 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/element-body-moves/README.md +49 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/fui-hud-moves/README.md +44 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/gauge-readout-moves/README.md +45 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/glow-flyline-moves/README.md +51 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/gradient-word-sweep/README.md +49 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/graze-face-tour/README.md +56 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/hashtag-to-pill-materialize/README.md +57 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/hires-rasterize-3d-text/README.md +34 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/icon-field-colorize/README.md +53 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/icon-performance-moves/README.md +46 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/impact-feedback/README.md +50 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/input-trigger-moves/README.md +49 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/integration-hub-map/README.md +54 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/letterspace-materialize/README.md +52 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/light-play-moves/README.md +49 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/line-boil/README.md +52 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/line-carry-transition/README.md +52 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/list-stack-press/README.md +43 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/magician-card-flourish/README.md +63 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/marker-underline-title/README.md +48 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/montage-rhythm-moves/README.md +55 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/morph-from-primitive/README.md +51 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/neon-frame-forerun/README.md +50 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/neon-frame-orbit-drop/README.md +50 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/neon-triple-marquee/README.md +55 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/odometer-digit-roll/README.md +54 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/outro-group-photo-launch/README.md +39 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/overhead-camera-moves/README.md +50 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/page-turn-transitions/README.md +48 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/page-waterfall-wall/README.md +52 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/panel-grid-moves/README.md +52 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/paper-craft-moves/README.md +46 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/paper-plane-messenger/README.md +62 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/paper-title-card/README.md +36 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/particle-celebrate-hits/README.md +42 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/particle-sand-fill/README.md +39 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/pill-slot-cycle/README.md +57 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/print-texture-transitions/README.md +40 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/rhythm-interrupt-moves/README.md +44 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/riso-print-hits/README.md +54 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/row-embed/README.md +36 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/runway-ground-skim/README.md +52 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/sakuga-timing-shift/README.md +50 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/scene-locked-title/README.md +43 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/scroll-brake-moves/README.md +45 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/segmented-thumb-hero/README.md +57 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/shot-transitions/README.md +60 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/skeleton-reveal/README.md +54 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/slam-entrance-moves/README.md +53 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/smear-multiples/README.md +49 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/space-camera-moves/README.md +53 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/spectrum-morph-ui/README.md +50 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/speed-ramp-freeze/README.md +42 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/split-flap-title/README.md +52 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/spotlight-hero-card/README.md +39 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/spotlight-sweep-moves/README.md +51 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/steep-tilt-glide/README.md +53 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/stroke-segment-build/README.md +43 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/tear-streak-transitions/README.md +43 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/tension-camera-moves/README.md +55 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/text-as-mask/README.md +50 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/text-column-converge/README.md +55 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/theme-switch-moves/README.md +44 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/timeline-travel/README.md +43 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/title-demote-to-label/README.md +58 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/trailer-grammar-moves/README.md +51 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/transition-hidden-cut/README.md +52 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/transition-travel/README.md +48 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/type-and-filter/README.md +37 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/type-assembly-moves/README.md +50 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/type-entrance-moves/README.md +46 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/type-rhythm-sync/README.md +47 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/typewriter-moves/README.md +50 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/ui-strip-away-outro/README.md +63 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/ui-to-brand-morph/README.md +52 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/voice-waveform-live/README.md +52 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/wall-reveal-moves/README.md +53 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/wipe-transitions/README.md +47 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/word-relay-filmstrip/README.md +50 -0
- package/skills/hyper-animator-codex/references/shotcraft/catalog.json +3946 -0
- package/skills/hyper-animator-codex/references/shotcraft/motion-pack/README.md +32 -0
- package/skills/hyper-animator-codex/references/shotcraft/motion-pack/shotcraft-motion-pack.js +178 -0
- package/skills/hyper-animator-codex/references/shotcraft/references/aesthetic-rules.md +157 -0
- package/skills/hyper-animator-codex/references/shotcraft/references/final-review.md +107 -0
- package/skills/hyper-animator-codex/references/shotcraft/references/guided-free-creation.md +197 -0
- package/skills/hyper-animator-codex/references/shotcraft/references/music-beat-sync.md +125 -0
- package/skills/hyper-animator-codex/references/shotcraft/references/pipeline.md +357 -0
- package/skills/hyper-animator-codex/references/shotcraft/references/sound-design.md +126 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/assets/lib/Caption.tsx +50 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/assets/lib/DigitRoll.tsx +45 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/assets/lib/FlashCut.tsx +20 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/assets/lib/FlatPanel.tsx +65 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/assets/lib/PageCam.tsx +151 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/assets/lib/VerticalTicker.tsx +129 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/assets/lib/helpers/camera.tsx +75 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/assets/lib/helpers/motion.ts +40 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/assets/lib/helpers/rand.ts +11 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/assets/lib/helpers/shake.ts +10 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/_fixtures/Fixtures.tsx +83 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/ai-stream-response/StreamResponse.tsx +146 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/autolayout-gap-dial/AutolayoutGapDial.tsx +174 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/beat-cut-moves/BeatCutAccelerando.tsx +77 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/beat-cut-moves/PaparazziFlash.tsx +115 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/beat-step-list-theme-cycle/BeatStepListThemeCycle.tsx +98 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/before-after-slider-scrub/BeforeAfterSliderScrub.tsx +99 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/bottom-push-stack-wipe/BottomPushStackWipe.tsx +79 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/brand-frame-snap/BrandFrameSnap.tsx +110 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/bubble-swarm-takeover/BubbleSwarmTakeover.tsx +189 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/canvas-materialize-moves/DiagramCascadeBuild.tsx +172 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/canvas-materialize-moves/PanelToCanvasMaterialize.tsx +254 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/card-flip-reveal/CardFlipReveal.tsx +139 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/card-flock-tumble/CardFlockTumble.tsx +382 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/cel-flash-stomp/CelFlashStomp.tsx +111 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/chart-live-moves/AxisRescaleShockV2.tsx +282 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/chart-live-moves/OscilloscopeStreamV2.tsx +227 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/chart-live-moves/UnitDotSwarmRegroupV2.tsx +248 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/circle-match-iris/CircleMatchIris.tsx +124 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/cloner-depth-echo/ClonerDepthEcho.tsx +90 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/collab-cursor-moves/CursorCastEnsemble.tsx +136 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/collab-cursor-moves/CursorDialogueDuet.tsx +145 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/color-block-step-wipe/ColorBlockStepWipe.tsx +157 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/command-palette-summon/CommandPaletteSummon.tsx +173 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/crane-rise-reveal/CraneRiseReveal.tsx +91 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/crash-zoom-punch/CrashImpactReal.tsx +63 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/crash-zoom-punch/CrashZoomReal.tsx +60 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/dataviz-landscape-open/DatavizLandscapeOpen.tsx +401 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/depth-layer-moves/DollyZoomReal.tsx +55 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/depth-layer-moves/MultiplaneReal.tsx +45 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/draw-svg-trace/DrawSvgTrace.tsx +199 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/edit-hook-moves/LogoStingButton.tsx +106 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/element-body-moves/AxialStretch.tsx +112 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/element-body-moves/ContactShadowLift.tsx +117 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/fui-hud-moves/LineUnfoldPanel.tsx +125 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/fui-hud-moves/ReticleLockOn.tsx +139 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/gauge-readout-moves/NeedleSweepSelftest.tsx +146 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/gauge-readout-moves/TapeScrollFixedPointer.tsx +120 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/glow-flyline-moves/FlylineArc.tsx +158 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/glow-flyline-moves/GlowOrbAmbient.tsx +131 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/glow-flyline-moves/OrbFlylineRelay.tsx +268 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/gradient-word-sweep/GradientWordSweep.tsx +307 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/graze-face-tour/GrazeFaceTour.tsx +469 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/hashtag-to-pill-materialize/HashtagToPillMaterialize.tsx +166 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/icon-field-colorize/IconFieldColorize.tsx +93 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/icon-performance-moves/AttentionBounce.tsx +193 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/icon-performance-moves/PopBurstConfirm.tsx +162 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/impact-feedback/AnimeImpact.tsx +149 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/impact-feedback/HitCounter.tsx +147 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/input-trigger-moves/CursorPerformancePunchIn.tsx +154 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/input-trigger-moves/KeycapSmashCut.tsx +217 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/integration-hub-map/IntegrationHubMap.tsx +554 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/letterspace-materialize/LetterspaceMaterialize.tsx +85 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/light-play-moves/HalationBloom.tsx +139 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/light-play-moves/SheenSweepRetry.tsx +85 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/light-play-moves/SpotlightSweepReveal.tsx +102 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/line-boil/LineBoil.tsx +140 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/line-carry-transition/LineCarryTransition.tsx +151 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/magician-card-flourish/MagicianCardFlourish.tsx +294 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/marker-underline-title/MarkerUnderlineTitle.tsx +87 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/montage-rhythm-moves/DominoCascade.tsx +125 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/montage-rhythm-moves/DropBlackoutSlam.tsx +135 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/montage-rhythm-moves/WrightTripleCut.tsx +175 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/morph-from-primitive/MorphFromPrimitive.tsx +190 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/neon-frame-forerun/NeonFrameForerun.tsx +279 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/neon-frame-orbit-drop/NeonFrameForerunOrbit.tsx +273 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/neon-triple-marquee/NeonTripleMarquee.tsx +111 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/odometer-digit-roll/OdometerDigitRoll.tsx +178 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/overhead-camera-moves/OverheadTabletopDrop.tsx +129 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/overhead-camera-moves/TiltReveal.tsx +55 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/page-turn-transitions/BarnDoorSplit.tsx +138 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/page-turn-transitions/CubeRotate.tsx +114 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/page-waterfall-wall/PageWaterfallWall.tsx +76 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/page-waterfall-wall/VerticalTicker.tsx +129 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/panel-grid-moves/ComicPanelSplit.tsx +171 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/panel-grid-moves/FlipGridReflow.tsx +121 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/panel-grid-moves/GridFlashMosaic.tsx +182 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/paper-craft-moves/MaskingTapeSlap.tsx +163 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/paper-craft-moves/PopupBookRise.tsx +134 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/paper-plane-messenger/PaperPlaneMessenger.tsx +183 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/particle-celebrate-hits/ConfettiCrossfire.tsx +115 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/particle-celebrate-hits/CounterTickSparks.tsx +103 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/particle-sand-fill/ParticleSandFill.tsx +119 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/pill-slot-cycle/PillSlotCycle.tsx +220 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/print-texture-transitions/InkBleedReveal.tsx +81 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/rhythm-interrupt-moves/JumpCutPunchIn.tsx +72 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/rhythm-interrupt-moves/StrobeBlackFrames.tsx +99 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/riso-print-hits/RisoBeatPump.tsx +155 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/riso-print-hits/RisoMisregistrationHit.tsx +120 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/runway-ground-skim/RunwayGroundSkim.tsx +258 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/sakuga-timing-shift/SakugaTimingShift.tsx +178 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/scene-locked-title/SceneLockedTitle.tsx +98 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/scroll-brake-moves/BrakeReticleLock.tsx +171 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/scroll-brake-moves/ChangelogScrollBrake.tsx +117 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/segmented-thumb-hero/SegmentedThumbHero.tsx +213 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/shot-transitions/MaskWipeReal.tsx +67 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/shot-transitions/PortalWipeV2.tsx +128 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/shot-transitions/WhipBrakeReal.tsx +60 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/shot-transitions/WhipPanReal.tsx +45 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/skeleton-reveal/SkeletonReveal.tsx +283 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/slam-entrance-moves/ImpactBurstKit.tsx +185 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/slam-entrance-moves/KanadaPerspectiveSnap.tsx +91 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/slam-entrance-moves/ScoreSlam.tsx +225 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/smear-multiples/SmearMultiples.tsx +88 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/space-camera-moves/DroneDiveLanding.tsx +91 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/space-camera-moves/ExplodedView.tsx +178 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/space-camera-moves/SnorricamLock.tsx +130 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/spectrum-morph-ui/SpectrumMorphUi.tsx +129 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/speed-ramp-freeze/FreezeAnnotateReal.tsx +70 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/speed-ramp-freeze/SpeedRampReal.tsx +58 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/split-flap-title/SplitFlapFlip.tsx +189 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/spotlight-sweep-moves/CornerSpotlightReveal.tsx +121 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/spotlight-sweep-moves/GlowWakeSleepPanel.tsx +183 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/spotlight-sweep-moves/SlideSpotlightPan.tsx +171 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/steep-tilt-glide/SteepTiltGlide.tsx +315 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/stroke-segment-build/StrokeSegmentBuild.tsx +126 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/tear-streak-transitions/GlitchDisplace.tsx +107 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/tension-camera-moves/BulletTimeFreezeOrbit.tsx +219 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/tension-camera-moves/DutchRollToLevel.tsx +110 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/tension-camera-moves/PullBackIsolation.tsx +120 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/tension-camera-moves/SlowPushIn.tsx +96 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/text-as-mask/TextAsMask.tsx +94 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/text-column-converge/TextColumnConverge.tsx +122 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/theme-switch-moves/PaletteThemeRipple.tsx +207 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/theme-switch-moves/ThemeSweepToggle.tsx +123 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/timeline-travel/TimelineTravel.tsx +123 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/title-demote-to-label/TitleDemoteToLabel.tsx +174 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/trailer-grammar-moves/CardFootageCadence.tsx +118 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/trailer-grammar-moves/SmashCut.tsx +105 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/trailer-grammar-moves/TrailerBumper.tsx +103 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/transition-hidden-cut/InvisibleCut.tsx +93 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/transition-hidden-cut/LightLeakBurn.tsx +122 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/transition-hidden-cut/VersusSlam.tsx +104 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/transition-travel/LetterformZoom.tsx +141 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/transition-travel/SharedElementMorph.tsx +101 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/type-assembly-moves/LetterformDriftAssembly.tsx +107 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/type-assembly-moves/SplitTextStagger.tsx +101 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/type-assembly-moves/TextOnPath.tsx +92 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/type-assembly-moves/TrackingExpandReveal.tsx +109 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/type-entrance-moves/LetterDropPhysics.tsx +100 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/type-entrance-moves/ScrambleDecode.tsx +90 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/type-rhythm-sync/FontWeightPump.tsx +124 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/type-rhythm-sync/KaraokeFillSync.tsx +93 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/typewriter-moves/TerminalTypewriter.tsx +122 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/typewriter-moves/TypewriterErrorRetype.tsx +109 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/ui-strip-away-outro/UiStripAwayOutro.tsx +218 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/ui-to-brand-morph/IconFlipBloomLogo.tsx +199 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/ui-to-brand-morph/InputMorphsIntoLogo.tsx +215 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/voice-waveform-live/VoiceWaveformLive.tsx +171 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/wall-reveal-moves/BentoLightUp.tsx +135 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/wipe-transitions/BlindsSlice.tsx +107 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/wipe-transitions/ClockWipe.tsx +83 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/word-relay-filmstrip/WordRelayFilmstrip.tsx +300 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/template/src/Root.tsx +15 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/Caption.tsx +49 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/DigitRoll.tsx +44 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/FlashCut.tsx +19 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/Main.tsx +163 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/PaperTitleCard.tsx +89 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/live/PageCam.tsx +145 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/live/SceneDetail.tsx +146 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/live/SceneFlyIn.tsx +447 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/live/SceneOpen.tsx +532 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/live/SceneOutroLive.tsx +394 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/live/ScenePapers.tsx +185 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/live/SceneWbr.tsx +299 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/template/src/index.ts +4 -0
- package/skills/hyper-animator-codex/references/shotcraft/source-notes.md +10 -0
- package/skills/hyper-animator-codex/scripts/generate_minimax_music.mjs +27 -10
- package/skills/hyper-animator-codex/scripts/generate_minimax_tts.mjs +142 -13
- package/skills/hyper-animator-codex/scripts/generate_subtitles.mjs +42 -3
- package/skills/hyper-animator-codex/scripts/git_checkpoint.mjs +2 -2
- package/skills/hyper-animator-codex/scripts/minimax_runtime_config.mjs +3 -3
- package/skills/hyper-animator-codex/scripts/query_shotcraft.mjs +140 -0
- package/skills/hyper-animator-codex/scripts/validate_hyperframes_html.py +22 -0
- package/skills/hyper-animator-codex/scripts/validate_provider_policy.mjs +108 -0
- package/skills/hyper-animator-codex/scripts/validate_shot_plan.mjs +266 -0
- package/skills/hyper-animator-codex/vendor/music-beat-detector/beat_detector/analyzer.py +3 -1
- package/skills/hyper-animator-codex/vendor/music-beat-detector/beat_detector/beat.py +37 -1
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
// pill-slot-cycle —— 句中词槽轮换:固定句干 + 句尾 pill 老虎机式滚一格
|
|
2
|
+
// 源:notion-ai 4.5–8.5s。旧 pill 上飞淡出、新 pill 从下带运动模糊滑入,
|
|
3
|
+
// 连换 6 次后 pill 消失、句子落成 "One AI tool to do it all." 收束。
|
|
4
|
+
import React from 'react';
|
|
5
|
+
import { AbsoluteFill, useCurrentFrame, interpolate, Easing } from 'remotion';
|
|
6
|
+
import { G } from '../_fixtures/Fixtures';
|
|
7
|
+
|
|
8
|
+
const FONT = 'Helvetica, Arial, sans-serif';
|
|
9
|
+
|
|
10
|
+
const PILLS = [
|
|
11
|
+
{ label: 'Ask a question', icon: '?' },
|
|
12
|
+
{ label: 'Find in Drive', icon: '▲' },
|
|
13
|
+
{ label: 'Find in Slack', icon: '#' },
|
|
14
|
+
{ label: 'Summarize', icon: '≡' },
|
|
15
|
+
{ label: 'Improve writing', icon: '✎' },
|
|
16
|
+
{ label: 'Draft an agenda', icon: '☰' },
|
|
17
|
+
];
|
|
18
|
+
|
|
19
|
+
const BEAT = 21; // ~0.7s @30fps
|
|
20
|
+
const INTRO = 12; // 句干入场
|
|
21
|
+
const CYCLES = PILLS.length;
|
|
22
|
+
|
|
23
|
+
const Pill: React.FC<{ label: string; icon: string; style?: React.CSSProperties }> = ({
|
|
24
|
+
label,
|
|
25
|
+
icon,
|
|
26
|
+
style,
|
|
27
|
+
}) => (
|
|
28
|
+
<div
|
|
29
|
+
style={{
|
|
30
|
+
display: 'inline-flex',
|
|
31
|
+
alignItems: 'center',
|
|
32
|
+
gap: 16,
|
|
33
|
+
padding: '14px 36px 14px 24px',
|
|
34
|
+
borderRadius: 999,
|
|
35
|
+
background: '#fff',
|
|
36
|
+
border: `3px solid ${G.border}`,
|
|
37
|
+
boxShadow: '0 6px 18px rgba(0,0,0,0.10)',
|
|
38
|
+
fontFamily: FONT,
|
|
39
|
+
fontWeight: 700,
|
|
40
|
+
fontSize: 64,
|
|
41
|
+
color: G.ink,
|
|
42
|
+
whiteSpace: 'nowrap',
|
|
43
|
+
...style,
|
|
44
|
+
}}
|
|
45
|
+
>
|
|
46
|
+
<span
|
|
47
|
+
style={{
|
|
48
|
+
width: 58,
|
|
49
|
+
height: 58,
|
|
50
|
+
borderRadius: 14,
|
|
51
|
+
background: G.bg,
|
|
52
|
+
display: 'inline-flex',
|
|
53
|
+
alignItems: 'center',
|
|
54
|
+
justifyContent: 'center',
|
|
55
|
+
fontSize: 38,
|
|
56
|
+
color: G.mid,
|
|
57
|
+
flexShrink: 0,
|
|
58
|
+
}}
|
|
59
|
+
>
|
|
60
|
+
{icon}
|
|
61
|
+
</span>
|
|
62
|
+
{label}
|
|
63
|
+
</div>
|
|
64
|
+
);
|
|
65
|
+
|
|
66
|
+
export const PillSlotCycle: React.FC = () => {
|
|
67
|
+
const frame = useCurrentFrame();
|
|
68
|
+
|
|
69
|
+
// 句干入场:ease-out 上浮淡入
|
|
70
|
+
const stemT = interpolate(frame, [0, INTRO], [0, 1], {
|
|
71
|
+
extrapolateRight: 'clamp',
|
|
72
|
+
easing: Easing.out(Easing.cubic),
|
|
73
|
+
});
|
|
74
|
+
|
|
75
|
+
const cycleStart = INTRO;
|
|
76
|
+
const cycleEnd = cycleStart + CYCLES * BEAT;
|
|
77
|
+
|
|
78
|
+
// 当前处于第几个 pill 拍
|
|
79
|
+
const rel = frame - cycleStart;
|
|
80
|
+
const idx = Math.min(Math.floor(rel / BEAT), CYCLES - 1);
|
|
81
|
+
const beatFrame = rel - idx * BEAT;
|
|
82
|
+
|
|
83
|
+
const SWAP = 8; // 每拍前 8f 完成换位
|
|
84
|
+
|
|
85
|
+
// 收束段:pill 上飞消失,"do it all." 从下滑入落位
|
|
86
|
+
const isFinale = frame >= cycleEnd;
|
|
87
|
+
const finT = interpolate(frame, [cycleEnd, cycleEnd + 14], [0, 1], {
|
|
88
|
+
extrapolateLeft: 'clamp',
|
|
89
|
+
extrapolateRight: 'clamp',
|
|
90
|
+
easing: Easing.out(Easing.back(1.4)),
|
|
91
|
+
});
|
|
92
|
+
|
|
93
|
+
// 槽内容渲染
|
|
94
|
+
let slot: React.ReactNode = null;
|
|
95
|
+
if (!isFinale && rel >= 0) {
|
|
96
|
+
const incoming = PILLS[idx];
|
|
97
|
+
const outgoing = idx > 0 ? PILLS[idx - 1] : null;
|
|
98
|
+
|
|
99
|
+
// 新 pill:从下 +120px 带 blur 滑入,ease-out
|
|
100
|
+
const inT = interpolate(beatFrame, [0, SWAP], [0, 1], {
|
|
101
|
+
extrapolateRight: 'clamp',
|
|
102
|
+
easing: Easing.out(Easing.cubic),
|
|
103
|
+
});
|
|
104
|
+
const inY = interpolate(inT, [0, 1], [120, 0]);
|
|
105
|
+
const inBlur = interpolate(inT, [0, 0.7, 1], [14, 4, 0]);
|
|
106
|
+
|
|
107
|
+
// 旧 pill:向上 -120px 加速飞出淡掉
|
|
108
|
+
const outT = interpolate(beatFrame, [0, SWAP - 1], [0, 1], {
|
|
109
|
+
extrapolateRight: 'clamp',
|
|
110
|
+
easing: Easing.in(Easing.cubic),
|
|
111
|
+
});
|
|
112
|
+
const outY = interpolate(outT, [0, 1], [0, -130]);
|
|
113
|
+
|
|
114
|
+
slot = (
|
|
115
|
+
<div style={{ position: 'relative', display: 'inline-block' }}>
|
|
116
|
+
{/* 撑起槽宽度的隐形占位(当前 pill) */}
|
|
117
|
+
<Pill label={incoming.label} icon={incoming.icon} style={{ visibility: 'hidden' }} />
|
|
118
|
+
{outgoing && outT < 1 && (
|
|
119
|
+
<div
|
|
120
|
+
style={{
|
|
121
|
+
position: 'absolute',
|
|
122
|
+
left: 0,
|
|
123
|
+
top: 0,
|
|
124
|
+
transform: `translateY(${outY}px)`,
|
|
125
|
+
opacity: 1 - outT,
|
|
126
|
+
filter: `blur(${outT * 10}px)`,
|
|
127
|
+
}}
|
|
128
|
+
>
|
|
129
|
+
<Pill label={outgoing.label} icon={outgoing.icon} />
|
|
130
|
+
</div>
|
|
131
|
+
)}
|
|
132
|
+
<div
|
|
133
|
+
style={{
|
|
134
|
+
position: 'absolute',
|
|
135
|
+
left: 0,
|
|
136
|
+
top: 0,
|
|
137
|
+
transform: `translateY(${inY}px)`,
|
|
138
|
+
opacity: idx === 0 ? inT : Math.min(1, inT * 1.6),
|
|
139
|
+
filter: `blur(${inBlur}px)`,
|
|
140
|
+
}}
|
|
141
|
+
>
|
|
142
|
+
<Pill label={incoming.label} icon={incoming.icon} />
|
|
143
|
+
</div>
|
|
144
|
+
</div>
|
|
145
|
+
);
|
|
146
|
+
} else if (isFinale) {
|
|
147
|
+
// 最后一个 pill 上飞离场(前 8f),然后 "do it all." 落位
|
|
148
|
+
const lastOutT = interpolate(frame, [cycleEnd, cycleEnd + 7], [0, 1], {
|
|
149
|
+
extrapolateLeft: 'clamp',
|
|
150
|
+
extrapolateRight: 'clamp',
|
|
151
|
+
easing: Easing.in(Easing.cubic),
|
|
152
|
+
});
|
|
153
|
+
slot = (
|
|
154
|
+
<div style={{ position: 'relative', display: 'inline-block' }}>
|
|
155
|
+
<span
|
|
156
|
+
style={{
|
|
157
|
+
fontFamily: FONT,
|
|
158
|
+
fontWeight: 800,
|
|
159
|
+
fontSize: 96,
|
|
160
|
+
color: G.ink,
|
|
161
|
+
letterSpacing: -1,
|
|
162
|
+
display: 'inline-block',
|
|
163
|
+
opacity: finT,
|
|
164
|
+
transform: `translateY(${(1 - finT) * 90}px)`,
|
|
165
|
+
filter: `blur(${(1 - finT) * 8}px)`,
|
|
166
|
+
whiteSpace: 'nowrap',
|
|
167
|
+
}}
|
|
168
|
+
>
|
|
169
|
+
do it all.
|
|
170
|
+
</span>
|
|
171
|
+
{lastOutT < 1 && (
|
|
172
|
+
<div
|
|
173
|
+
style={{
|
|
174
|
+
position: 'absolute',
|
|
175
|
+
left: 0,
|
|
176
|
+
top: -8,
|
|
177
|
+
transform: `translateY(${-130 * lastOutT}px)`,
|
|
178
|
+
opacity: 1 - lastOutT,
|
|
179
|
+
filter: `blur(${lastOutT * 10}px)`,
|
|
180
|
+
}}
|
|
181
|
+
>
|
|
182
|
+
<Pill label={PILLS[CYCLES - 1].label} icon={PILLS[CYCLES - 1].icon} />
|
|
183
|
+
</div>
|
|
184
|
+
)}
|
|
185
|
+
</div>
|
|
186
|
+
);
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
return (
|
|
190
|
+
<AbsoluteFill style={{ background: G.bg }}>
|
|
191
|
+
{/* 句干固定不动:整行左端锚死,不随 pill 宽度居中重排 */}
|
|
192
|
+
<div
|
|
193
|
+
style={{
|
|
194
|
+
position: 'absolute',
|
|
195
|
+
left: 300,
|
|
196
|
+
top: 540,
|
|
197
|
+
transform: `translateY(calc(-50% + ${(1 - stemT) * 50}px))`,
|
|
198
|
+
display: 'flex',
|
|
199
|
+
alignItems: 'center',
|
|
200
|
+
gap: 36,
|
|
201
|
+
opacity: stemT,
|
|
202
|
+
}}
|
|
203
|
+
>
|
|
204
|
+
<span
|
|
205
|
+
style={{
|
|
206
|
+
fontFamily: FONT,
|
|
207
|
+
fontWeight: 800,
|
|
208
|
+
fontSize: 96,
|
|
209
|
+
color: G.ink,
|
|
210
|
+
letterSpacing: -1,
|
|
211
|
+
whiteSpace: 'nowrap',
|
|
212
|
+
}}
|
|
213
|
+
>
|
|
214
|
+
One AI tool to
|
|
215
|
+
</span>
|
|
216
|
+
{slot}
|
|
217
|
+
</div>
|
|
218
|
+
</AbsoluteFill>
|
|
219
|
+
);
|
|
220
|
+
};
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
// 墨渗揭示(ink-bleed-reveal)——水墨转场(轨道遮罩法)。
|
|
2
|
+
// 旧景:G.bg 纸底 + 居中 TitleBlock "BEFORE";新景 FakeDashboard(A) 放进
|
|
3
|
+
// SVG <foreignObject>,套 <mask>:中心偏左上 (800,420) 的白圆当轨道遮罩。
|
|
4
|
+
// 圆本身套 feTurbulence(baseFrequency 0.02, octaves 3, seed 7 固定) +
|
|
5
|
+
// feDisplacementMap(scale 60→160 随帧涨)造须状渗边——filter 只作用在
|
|
6
|
+
// mask 形状上,新景内容始终清晰。帧 0–20 hold 旧景;帧 20–98 半径
|
|
7
|
+
// 0→1450(Easing.out(quad))再叠 ±8% 低频正弦扰动(帧 78–98 扰动衰减到 0,
|
|
8
|
+
// 洇满全屏);帧 100–130 摘掉 mask 直接铺新景,真静止 30f。
|
|
9
|
+
import React from 'react';
|
|
10
|
+
import { useCurrentFrame, interpolate, Easing } from 'remotion';
|
|
11
|
+
import { G, FakeDashboard, TitleBlock } from '../_fixtures/Fixtures';
|
|
12
|
+
|
|
13
|
+
export const InkBleedReveal: React.FC = () => {
|
|
14
|
+
const frame = useCurrentFrame();
|
|
15
|
+
|
|
16
|
+
// 墨滴落点:画面中心偏左上
|
|
17
|
+
const cx = 800;
|
|
18
|
+
const cy = 420;
|
|
19
|
+
|
|
20
|
+
// 基础半径:帧 20–98,0 → 1450px(最远角 ~1300px + 渗边位移余量 150px)
|
|
21
|
+
const baseR = interpolate(frame, [20, 98], [0, 1450], {
|
|
22
|
+
easing: Easing.out(Easing.quad),
|
|
23
|
+
extrapolateLeft: 'clamp',
|
|
24
|
+
extrapolateRight: 'clamp',
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
// ±8% 低频正弦扰动 = 快慢不匀的洇开;帧 78–98 幅度衰减到 0,保证吃满后能真静止
|
|
28
|
+
const wobbleEnv = interpolate(frame, [78, 98], [1, 0], {
|
|
29
|
+
extrapolateLeft: 'clamp',
|
|
30
|
+
extrapolateRight: 'clamp',
|
|
31
|
+
});
|
|
32
|
+
const r = Math.max(0, baseR * (1 + 0.08 * Math.sin(frame * 0.32) * wobbleEnv));
|
|
33
|
+
|
|
34
|
+
// 渗边发散度:displacement scale 60 → 160(边缘越洇越散、指尖分叉越长)
|
|
35
|
+
const dispScale = interpolate(frame, [20, 98], [60, 160], {
|
|
36
|
+
extrapolateLeft: 'clamp',
|
|
37
|
+
extrapolateRight: 'clamp',
|
|
38
|
+
});
|
|
39
|
+
|
|
40
|
+
// 帧 100 起 mask 已全白:摘掉 SVG 直接铺新景,确保结尾像素级真静止
|
|
41
|
+
const settled = frame >= 100;
|
|
42
|
+
|
|
43
|
+
return (
|
|
44
|
+
<div style={{ width: 1920, height: 1080, background: G.bg, position: 'relative', overflow: 'hidden' }}>
|
|
45
|
+
{/* 旧景:纸底 + BEFORE 标题 */}
|
|
46
|
+
<div style={{ position: 'absolute', inset: 0, background: G.bg, display: 'flex', alignItems: 'center', justifyContent: 'center' }}>
|
|
47
|
+
<TitleBlock text="BEFORE" size={120} />
|
|
48
|
+
</div>
|
|
49
|
+
|
|
50
|
+
{settled ? (
|
|
51
|
+
<div style={{ position: 'absolute', inset: 0 }}>
|
|
52
|
+
<FakeDashboard variant="A" />
|
|
53
|
+
</div>
|
|
54
|
+
) : (
|
|
55
|
+
<svg
|
|
56
|
+
width={1920}
|
|
57
|
+
height={1080}
|
|
58
|
+
viewBox="0 0 1920 1080"
|
|
59
|
+
style={{ position: 'absolute', inset: 0, display: 'block' }}
|
|
60
|
+
>
|
|
61
|
+
<defs>
|
|
62
|
+
{/* filter 只挂在 mask 的圆上——揉的是遮罩边,不是画面内容 */}
|
|
63
|
+
<filter id="inkBleed" x="-40%" y="-40%" width="180%" height="180%">
|
|
64
|
+
<feTurbulence type="fractalNoise" baseFrequency="0.02" numOctaves="3" seed="7" result="noise" />
|
|
65
|
+
<feDisplacementMap in="SourceGraphic" in2="noise" scale={dispScale} xChannelSelector="R" yChannelSelector="G" />
|
|
66
|
+
</filter>
|
|
67
|
+
<mask id="inkMask" maskUnits="userSpaceOnUse" x="0" y="0" width="1920" height="1080">
|
|
68
|
+
<rect x="0" y="0" width="1920" height="1080" fill="black" />
|
|
69
|
+
{r > 0.5 && <circle cx={cx} cy={cy} r={r} fill="white" filter="url(#inkBleed)" />}
|
|
70
|
+
</mask>
|
|
71
|
+
</defs>
|
|
72
|
+
<g mask="url(#inkMask)">
|
|
73
|
+
<foreignObject x="0" y="0" width="1920" height="1080">
|
|
74
|
+
<FakeDashboard variant="A" />
|
|
75
|
+
</foreignObject>
|
|
76
|
+
</g>
|
|
77
|
+
</svg>
|
|
78
|
+
)}
|
|
79
|
+
</div>
|
|
80
|
+
);
|
|
81
|
+
};
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
// 三级跳切推近(jump-cut-punch-in)——节奏剪辑|戈达尔跳切/纪录片 punch-in。
|
|
2
|
+
// FakeDashboard A 固定构图,transform-origin 钉在第 2 行中间卡中心
|
|
3
|
+
// (1070px, 817px)。三次无补间硬切逐级放大:刻意零 interpolate,
|
|
4
|
+
// 切换帧一帧到位。每次跳切帧叠 2f 整画面 brightness 0.92 加深脉冲当 tick。
|
|
5
|
+
// 关键帧:0–34 scale 1.0 hold → 帧 35 直跳 1.6(35–36 加深脉冲)→ hold →
|
|
6
|
+
// 帧 70 直跳 2.6(70–71 加深脉冲)→ 72–134 全静止(63f ≥45f)。
|
|
7
|
+
import React from 'react';
|
|
8
|
+
import { useCurrentFrame } from 'remotion';
|
|
9
|
+
import { G, FakeDashboard, TitleBlock } from '../_fixtures/Fixtures';
|
|
10
|
+
|
|
11
|
+
// 目标卡片(3×2 网格第 2 行中间卡)几何:
|
|
12
|
+
// 侧栏 220 + 内边距 36;卡宽 (1920-220-72-56)/3 = 524.67,卡高 (1080-72-72-28)/2 = 454
|
|
13
|
+
const CARD_L = 220 + 36 + 524.67 + 28; // ≈808.67
|
|
14
|
+
const CARD_T = 72 + 36 + 454 + 28; // 590
|
|
15
|
+
const CARD_W = 524.67;
|
|
16
|
+
const CARD_H = 454;
|
|
17
|
+
const ORIGIN_X = CARD_L + CARD_W / 2; // ≈1071
|
|
18
|
+
const ORIGIN_Y = CARD_T + CARD_H / 2; // 817
|
|
19
|
+
|
|
20
|
+
// 三级硬切:零补间,帧 35 / 帧 70 一帧到位
|
|
21
|
+
const scaleAt = (f: number): number => (f < 35 ? 1.0 : f < 70 ? 1.6 : 2.6);
|
|
22
|
+
|
|
23
|
+
// 跳切帧 2f 加深脉冲(整画面 brightness 0.92)
|
|
24
|
+
const pulseAt = (f: number): number =>
|
|
25
|
+
(f >= 35 && f <= 36) || (f >= 70 && f <= 71) ? 0.92 : 1;
|
|
26
|
+
|
|
27
|
+
export const JumpCutPunchIn: React.FC = () => {
|
|
28
|
+
const frame = useCurrentFrame();
|
|
29
|
+
const s = scaleAt(frame);
|
|
30
|
+
const b = pulseAt(frame);
|
|
31
|
+
|
|
32
|
+
return (
|
|
33
|
+
<div
|
|
34
|
+
style={{
|
|
35
|
+
width: 1920,
|
|
36
|
+
height: 1080,
|
|
37
|
+
background: G.bg,
|
|
38
|
+
position: 'relative',
|
|
39
|
+
overflow: 'hidden',
|
|
40
|
+
filter: `brightness(${b})`,
|
|
41
|
+
}}
|
|
42
|
+
>
|
|
43
|
+
<div
|
|
44
|
+
style={{
|
|
45
|
+
position: 'absolute',
|
|
46
|
+
inset: 0,
|
|
47
|
+
transform: `scale(${s})`,
|
|
48
|
+
transformOrigin: `${ORIGIN_X}px ${ORIGIN_Y}px`,
|
|
49
|
+
}}
|
|
50
|
+
>
|
|
51
|
+
<FakeDashboard variant="A" />
|
|
52
|
+
{/* 目标卡片标记:随构图一起缩放,提示 punch-in 落点 */}
|
|
53
|
+
<div
|
|
54
|
+
style={{
|
|
55
|
+
position: 'absolute',
|
|
56
|
+
left: CARD_L - 10,
|
|
57
|
+
top: CARD_T - 10,
|
|
58
|
+
width: CARD_W + 20,
|
|
59
|
+
height: CARD_H + 20,
|
|
60
|
+
border: `3px dashed ${G.mid}`,
|
|
61
|
+
borderRadius: 20,
|
|
62
|
+
boxSizing: 'border-box',
|
|
63
|
+
}}
|
|
64
|
+
/>
|
|
65
|
+
</div>
|
|
66
|
+
{/* 标签不随缩放,固定左上角 */}
|
|
67
|
+
<div style={{ position: 'absolute', left: 260, top: 20 }}>
|
|
68
|
+
<TitleBlock text="JUMP CUT PUNCH-IN" size={54} />
|
|
69
|
+
</div>
|
|
70
|
+
</div>
|
|
71
|
+
);
|
|
72
|
+
};
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
// 频闪黑帧(strobe-black-frames)——节奏剪辑|VJ strobe / 剪映闪黑。
|
|
2
|
+
// FakeDashboard A 全程缓慢推近蓄张力(scale 1.0→1.05,Easing.in(quad),
|
|
3
|
+
// 越到后段越快)。40–80f 频闪窗:全屏纯黑 #0c0c0c 按写死帧号表闪现,
|
|
4
|
+
// 每次持续 2f,间隔从 8f 收敛到 3f,窒息感逐渐逼近。最后一闪盖住 79–80,
|
|
5
|
+
// 帧 81 掀开时构图已硬切到 scale 1.35 对准第 2 行中间卡(零补间一帧到位),
|
|
6
|
+
// 叠 2f brightness 0.88 加深脉冲当落锤。
|
|
7
|
+
// 关键帧:0–78 推近 1.0→~1.05 → 黑闪 [40,48,55,61,66,70,73,76,79](各 2f)→
|
|
8
|
+
// 79–80 全黑 → 帧 81 硬切 scale 1.35(81–82 加深脉冲)→ 83–134 全静止(52f ≥50f)。
|
|
9
|
+
// 光敏警示:实战建议配乐渐强使用。
|
|
10
|
+
import React from 'react';
|
|
11
|
+
import { useCurrentFrame, interpolate, Easing } from 'remotion';
|
|
12
|
+
import { G, FakeDashboard, TitleBlock } from '../_fixtures/Fixtures';
|
|
13
|
+
|
|
14
|
+
// punch-in 落点:3×2 网格第 2 行中间卡中心(同 JumpCutPunchIn 几何)
|
|
15
|
+
// 侧栏 220 + 内边距 36;卡宽 (1920-220-72-56)/3 ≈ 524.67,卡高 (1080-72-72-28)/2 = 454
|
|
16
|
+
const CARD_L = 220 + 36 + 524.67 + 28; // ≈808.67
|
|
17
|
+
const CARD_T = 72 + 36 + 454 + 28; // 590
|
|
18
|
+
const CARD_W = 524.67;
|
|
19
|
+
const CARD_H = 454;
|
|
20
|
+
const ORIGIN_X = CARD_L + CARD_W / 2; // ≈1071
|
|
21
|
+
const ORIGIN_Y = CARD_T + CARD_H / 2; // 817
|
|
22
|
+
|
|
23
|
+
// 黑闪帧号表(写死):间隔 8→7→6→5→4→3→3→3,每次持续 2f(f0 与 f0+1)
|
|
24
|
+
const FLASHES = [40, 48, 55, 61, 66, 70, 73, 76, 79];
|
|
25
|
+
|
|
26
|
+
const isBlack = (f: number): boolean =>
|
|
27
|
+
FLASHES.some((f0) => f >= f0 && f <= f0 + 1);
|
|
28
|
+
|
|
29
|
+
// 帧 81 前缓慢推近(Easing.in 蓄力),81 起零补间硬切 1.35 定住
|
|
30
|
+
const scaleAt = (f: number): number =>
|
|
31
|
+
f < 81
|
|
32
|
+
? interpolate(f, [0, 80], [1.0, 1.05], {
|
|
33
|
+
extrapolateLeft: 'clamp',
|
|
34
|
+
extrapolateRight: 'clamp',
|
|
35
|
+
easing: Easing.in(Easing.quad),
|
|
36
|
+
})
|
|
37
|
+
: 1.35;
|
|
38
|
+
|
|
39
|
+
// 落锤:81–82 两帧整画面加深脉冲
|
|
40
|
+
const pulseAt = (f: number): number => (f >= 81 && f <= 82 ? 0.88 : 1);
|
|
41
|
+
|
|
42
|
+
export const StrobeBlackFrames: React.FC = () => {
|
|
43
|
+
const frame = useCurrentFrame();
|
|
44
|
+
const s = scaleAt(frame);
|
|
45
|
+
const b = pulseAt(frame);
|
|
46
|
+
const black = isBlack(frame);
|
|
47
|
+
|
|
48
|
+
return (
|
|
49
|
+
<div
|
|
50
|
+
style={{
|
|
51
|
+
width: 1920,
|
|
52
|
+
height: 1080,
|
|
53
|
+
background: G.bg,
|
|
54
|
+
position: 'relative',
|
|
55
|
+
overflow: 'hidden',
|
|
56
|
+
filter: `brightness(${b})`,
|
|
57
|
+
}}
|
|
58
|
+
>
|
|
59
|
+
<div
|
|
60
|
+
style={{
|
|
61
|
+
position: 'absolute',
|
|
62
|
+
inset: 0,
|
|
63
|
+
transform: `scale(${s})`,
|
|
64
|
+
transformOrigin: `${ORIGIN_X}px ${ORIGIN_Y}px`,
|
|
65
|
+
}}
|
|
66
|
+
>
|
|
67
|
+
<FakeDashboard variant="A" />
|
|
68
|
+
{/* 落点卡片标记:随构图一起缩放,提示硬切对准的核心卡 */}
|
|
69
|
+
<div
|
|
70
|
+
style={{
|
|
71
|
+
position: 'absolute',
|
|
72
|
+
left: CARD_L - 10,
|
|
73
|
+
top: CARD_T - 10,
|
|
74
|
+
width: CARD_W + 20,
|
|
75
|
+
height: CARD_H + 20,
|
|
76
|
+
border: `3px dashed ${G.mid}`,
|
|
77
|
+
borderRadius: 20,
|
|
78
|
+
boxSizing: 'border-box',
|
|
79
|
+
}}
|
|
80
|
+
/>
|
|
81
|
+
</div>
|
|
82
|
+
{/* 标签不随缩放,固定顶栏位置 */}
|
|
83
|
+
<div style={{ position: 'absolute', left: 260, top: 20 }}>
|
|
84
|
+
<TitleBlock text="STROBE BLACK FRAMES" size={54} />
|
|
85
|
+
</div>
|
|
86
|
+
{/* 全屏黑闪层:盖住一切(含标签),每次 2f */}
|
|
87
|
+
{black && (
|
|
88
|
+
<div
|
|
89
|
+
style={{
|
|
90
|
+
position: 'absolute',
|
|
91
|
+
inset: 0,
|
|
92
|
+
background: '#0c0c0c',
|
|
93
|
+
zIndex: 10,
|
|
94
|
+
}}
|
|
95
|
+
/>
|
|
96
|
+
)}
|
|
97
|
+
</div>
|
|
98
|
+
);
|
|
99
|
+
};
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
// 套印节拍泵(riso-beat-pump)——beat-punch-in(卡点顿推)× riso-misregistration-hit
|
|
2
|
+
// (套印错位)的组合节奏。节拍帧 [30,54,78,102](每 24f 一拍),每命中帧:
|
|
3
|
+
// ① 整画面 scale 一帧瞬跳 1.08(无渐入),14f 内按 exp(-t/3) 指数衰减回 1;
|
|
4
|
+
// ② 标题裂成 G.mid/G.ink 双色印版 multiply 错位,初始错位逐拍加码 4/7/11/16px
|
|
5
|
+
// (每版反向 → 总分离 8/14/22/32px),12f 衰减余弦震荡收敛套准;
|
|
6
|
+
// ③ 底部对应节拍刻度点闪深并常驻。结构:0–29f hold;30–115f 四拍;116–139f 真静止。
|
|
7
|
+
import React from 'react';
|
|
8
|
+
import { useCurrentFrame } from 'remotion';
|
|
9
|
+
import { G, Card, TitleBlock } from '../_fixtures/Fixtures';
|
|
10
|
+
|
|
11
|
+
const HITS = [30, 54, 78, 102]; // 节拍命中帧
|
|
12
|
+
const AMP = [4, 7, 11, 16]; // 每拍单版初始错位(px),逐拍加码
|
|
13
|
+
const PUMP_WIN = 14; // scale 泵窗口:14f 后精确归 1(保证结尾真静止)
|
|
14
|
+
const SPLIT_WIN = 12; // 错位窗口:12f 后精确归 0(余量 <0.4px,硬切套准)
|
|
15
|
+
|
|
16
|
+
// 与 TitleBlock 同字形的单色印版(错位需要可调色副本)
|
|
17
|
+
const Plate: React.FC<{ color: string; dx: number; dy: number }> = ({ color, dx, dy }) => (
|
|
18
|
+
<div
|
|
19
|
+
style={{
|
|
20
|
+
position: 'absolute',
|
|
21
|
+
inset: 0,
|
|
22
|
+
display: 'flex',
|
|
23
|
+
alignItems: 'center',
|
|
24
|
+
justifyContent: 'center',
|
|
25
|
+
transform: `translate(${dx}px, ${dy}px)`,
|
|
26
|
+
mixBlendMode: 'multiply',
|
|
27
|
+
}}
|
|
28
|
+
>
|
|
29
|
+
<div
|
|
30
|
+
style={{
|
|
31
|
+
fontFamily: 'Helvetica, Arial, sans-serif',
|
|
32
|
+
fontWeight: 800,
|
|
33
|
+
fontSize: 160,
|
|
34
|
+
color,
|
|
35
|
+
letterSpacing: -1,
|
|
36
|
+
whiteSpace: 'nowrap',
|
|
37
|
+
}}
|
|
38
|
+
>
|
|
39
|
+
ON THE BEAT
|
|
40
|
+
</div>
|
|
41
|
+
</div>
|
|
42
|
+
);
|
|
43
|
+
|
|
44
|
+
export const RisoBeatPump: React.FC = () => {
|
|
45
|
+
const frame = useCurrentFrame();
|
|
46
|
+
|
|
47
|
+
// 找最近一次已命中的节拍(24f 间隔 > 14f 窗口,永远只有一拍在作用)
|
|
48
|
+
let beatIdx = -1;
|
|
49
|
+
for (let i = 0; i < HITS.length; i++) {
|
|
50
|
+
if (frame >= HITS[i]) beatIdx = i;
|
|
51
|
+
}
|
|
52
|
+
const t = beatIdx >= 0 ? frame - HITS[beatIdx] : Infinity;
|
|
53
|
+
|
|
54
|
+
// ① 整画面泵:命中帧一帧到位 1.08(t=0 即满值,无渐入),指数衰减回 1
|
|
55
|
+
const pump = t < PUMP_WIN ? 1 + 0.08 * Math.exp(-t / 3) : 1;
|
|
56
|
+
|
|
57
|
+
// ② 标题错位:衰减余弦震荡(周期 6f 抖两下),窗口外精确 0 = 套准
|
|
58
|
+
const split = t < SPLIT_WIN;
|
|
59
|
+
const m = split ? Math.cos((2 * Math.PI * t) / 6) * Math.exp(-t / 3) : 0;
|
|
60
|
+
const dx = beatIdx >= 0 ? AMP[beatIdx] * m : 0;
|
|
61
|
+
const dy = dx * 0.45; // y 少量,更像没对准版
|
|
62
|
+
|
|
63
|
+
return (
|
|
64
|
+
<div
|
|
65
|
+
style={{
|
|
66
|
+
width: 1920,
|
|
67
|
+
height: 1080,
|
|
68
|
+
background: G.bg,
|
|
69
|
+
position: 'relative',
|
|
70
|
+
overflow: 'hidden',
|
|
71
|
+
}}
|
|
72
|
+
>
|
|
73
|
+
{/* 整画面容器:scale 泵作用在全部内容上 */}
|
|
74
|
+
<div
|
|
75
|
+
style={{
|
|
76
|
+
position: 'absolute',
|
|
77
|
+
inset: 0,
|
|
78
|
+
transform: `scale(${pump})`,
|
|
79
|
+
transformOrigin: 'center center',
|
|
80
|
+
}}
|
|
81
|
+
>
|
|
82
|
+
{/* 标题区:正体 / 双版错位互斥切换 */}
|
|
83
|
+
<div style={{ position: 'absolute', left: 0, right: 0, top: 0, height: 660 }}>
|
|
84
|
+
{!split && (
|
|
85
|
+
<div
|
|
86
|
+
style={{
|
|
87
|
+
position: 'absolute',
|
|
88
|
+
inset: 0,
|
|
89
|
+
display: 'flex',
|
|
90
|
+
alignItems: 'center',
|
|
91
|
+
justifyContent: 'center',
|
|
92
|
+
}}
|
|
93
|
+
>
|
|
94
|
+
<TitleBlock text="ON THE BEAT" size={160} />
|
|
95
|
+
</div>
|
|
96
|
+
)}
|
|
97
|
+
{split && (
|
|
98
|
+
<>
|
|
99
|
+
<Plate color={G.mid} dx={-dx} dy={dy} />
|
|
100
|
+
<Plate color={G.ink} dx={dx} dy={-dy} />
|
|
101
|
+
</>
|
|
102
|
+
)}
|
|
103
|
+
</div>
|
|
104
|
+
|
|
105
|
+
{/* 底下一排 3 张小卡 */}
|
|
106
|
+
<div
|
|
107
|
+
style={{
|
|
108
|
+
position: 'absolute',
|
|
109
|
+
left: 0,
|
|
110
|
+
right: 0,
|
|
111
|
+
top: 660,
|
|
112
|
+
display: 'flex',
|
|
113
|
+
justifyContent: 'center',
|
|
114
|
+
gap: 44,
|
|
115
|
+
}}
|
|
116
|
+
>
|
|
117
|
+
<Card w={330} h={200} seed={2} />
|
|
118
|
+
<Card w={330} h={200} seed={5} />
|
|
119
|
+
<Card w={330} h={200} seed={8} />
|
|
120
|
+
</div>
|
|
121
|
+
|
|
122
|
+
{/* 节拍刻度:命中即闪深(8f 缩放脉冲 1.8→1)并常驻深色 */}
|
|
123
|
+
<div
|
|
124
|
+
style={{
|
|
125
|
+
position: 'absolute',
|
|
126
|
+
left: 0,
|
|
127
|
+
right: 0,
|
|
128
|
+
top: 950,
|
|
129
|
+
display: 'flex',
|
|
130
|
+
justifyContent: 'center',
|
|
131
|
+
gap: 60,
|
|
132
|
+
}}
|
|
133
|
+
>
|
|
134
|
+
{HITS.map((hit, i) => {
|
|
135
|
+
const dt = frame - hit;
|
|
136
|
+
const on = dt >= 0;
|
|
137
|
+
const s = on && dt < 8 ? 1 + 0.8 * (1 - dt / 8) : 1;
|
|
138
|
+
return (
|
|
139
|
+
<div
|
|
140
|
+
key={i}
|
|
141
|
+
style={{
|
|
142
|
+
width: 22,
|
|
143
|
+
height: 22,
|
|
144
|
+
borderRadius: 11,
|
|
145
|
+
background: on ? G.ink : G.bar,
|
|
146
|
+
transform: `scale(${s})`,
|
|
147
|
+
}}
|
|
148
|
+
/>
|
|
149
|
+
);
|
|
150
|
+
})}
|
|
151
|
+
</div>
|
|
152
|
+
</div>
|
|
153
|
+
</div>
|
|
154
|
+
);
|
|
155
|
+
};
|