hyper-animator-codex 0.7.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +67 -7
- package/bin/hyper-animator-codex.mjs +31 -9
- package/bin/postinstall.mjs +19 -0
- package/lib/install-options.mjs +3 -0
- package/lib/install-skill.mjs +84 -2
- package/lib/minimax-config.mjs +3 -3
- package/package.json +3 -2
- package/skills/hyper-animator-codex/SKILL.md +58 -20
- package/skills/hyper-animator-codex/agents/openai.yaml +2 -2
- package/skills/hyper-animator-codex/contracts/shot-plan.schema.json +214 -0
- package/skills/hyper-animator-codex/contracts/workflow-policy.json +85 -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 +69 -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 +23 -7
- package/skills/hyper-animator-codex/references/minimax-music-workflow.md +24 -4
- package/skills/hyper-animator-codex/references/narration-audio-workflow.md +31 -1
- 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/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/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 +193 -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,174 @@
|
|
|
1
|
+
// title-demote-to-label —— 大标题降格为节标签
|
|
2
|
+
// 源:perplexity-promo 16–18.5s。大标题居中显影站稳一拍,随后缩小 ~0.3x
|
|
3
|
+
// 平移到左上角变小节标签,内容区(灰阶骨架块)在其下方生长。
|
|
4
|
+
// 附加变体(framer text-selection-title):标题登场带文本选中蓝高亮块、随后撤掉。
|
|
5
|
+
import React from 'react';
|
|
6
|
+
import { AbsoluteFill, useCurrentFrame, interpolate, Easing } from 'remotion';
|
|
7
|
+
import { G } from '../_fixtures/Fixtures';
|
|
8
|
+
|
|
9
|
+
const FONT = 'Helvetica, Arial, sans-serif';
|
|
10
|
+
const SEL = 'rgba(58, 128, 236, 0.35)';
|
|
11
|
+
|
|
12
|
+
// 内容骨架块:随 t 依次生长
|
|
13
|
+
const Skeleton: React.FC<{ t: number }> = ({ t }) => {
|
|
14
|
+
const blocks = [
|
|
15
|
+
{ w: 1500, h: 26 },
|
|
16
|
+
{ w: 1280, h: 26 },
|
|
17
|
+
{ w: 1420, h: 26 },
|
|
18
|
+
{ w: 760, h: 26 },
|
|
19
|
+
{ w: 1500, h: 300, card: true },
|
|
20
|
+
];
|
|
21
|
+
return (
|
|
22
|
+
<div style={{ display: 'flex', flexDirection: 'column', gap: 34 }}>
|
|
23
|
+
{blocks.map((b, i) => {
|
|
24
|
+
const bt = interpolate(t, [i * 0.16, i * 0.16 + 0.3], [0, 1], {
|
|
25
|
+
extrapolateLeft: 'clamp',
|
|
26
|
+
extrapolateRight: 'clamp',
|
|
27
|
+
easing: Easing.out(Easing.cubic),
|
|
28
|
+
});
|
|
29
|
+
return (
|
|
30
|
+
<div
|
|
31
|
+
key={i}
|
|
32
|
+
style={{
|
|
33
|
+
width: b.w * (0.35 + 0.65 * bt),
|
|
34
|
+
height: b.h,
|
|
35
|
+
background: b.card ? G.card : G.line,
|
|
36
|
+
border: b.card ? `2px solid ${G.border}` : 'none',
|
|
37
|
+
borderRadius: b.card ? 16 : 13,
|
|
38
|
+
opacity: bt,
|
|
39
|
+
transform: `translateY(${(1 - bt) * 28}px)`,
|
|
40
|
+
boxSizing: 'border-box',
|
|
41
|
+
}}
|
|
42
|
+
/>
|
|
43
|
+
);
|
|
44
|
+
})}
|
|
45
|
+
</div>
|
|
46
|
+
);
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
// 一个完整的"显影→(可选高亮)→降格→内容生长"小节
|
|
50
|
+
const DemoteScene: React.FC<{
|
|
51
|
+
frame: number;
|
|
52
|
+
title: string;
|
|
53
|
+
withSelection: boolean;
|
|
54
|
+
}> = ({ frame, title, withSelection }) => {
|
|
55
|
+
// 时间轴(局部帧)
|
|
56
|
+
const REVEAL = 0; // 0–12 显影
|
|
57
|
+
const SEL_ON = 14; // 高亮扫入 14–24
|
|
58
|
+
const SEL_OFF = 32; // 高亮撤掉 32–40
|
|
59
|
+
const DEMOTE = withSelection ? 44 : 32; // 降格开始
|
|
60
|
+
const DEMOTE_END = DEMOTE + 20;
|
|
61
|
+
const GROW = DEMOTE + 12;
|
|
62
|
+
|
|
63
|
+
// 显影:blur + 淡入
|
|
64
|
+
const rev = interpolate(frame, [REVEAL, REVEAL + 12], [0, 1], {
|
|
65
|
+
extrapolateLeft: 'clamp',
|
|
66
|
+
extrapolateRight: 'clamp',
|
|
67
|
+
easing: Easing.out(Easing.cubic),
|
|
68
|
+
});
|
|
69
|
+
|
|
70
|
+
// 降格补间:scale 1 -> 0.3,中心 -> 左上
|
|
71
|
+
const dem = interpolate(frame, [DEMOTE, DEMOTE_END], [0, 1], {
|
|
72
|
+
extrapolateLeft: 'clamp',
|
|
73
|
+
extrapolateRight: 'clamp',
|
|
74
|
+
easing: Easing.inOut(Easing.cubic),
|
|
75
|
+
});
|
|
76
|
+
const scale = interpolate(dem, [0, 1], [1, 0.3]);
|
|
77
|
+
// 用 left/top 补间:起点居中(由外层 flex 定位换算),终点左上角
|
|
78
|
+
const x = interpolate(dem, [0, 1], [960, 150]);
|
|
79
|
+
const y = interpolate(dem, [0, 1], [480, 110]);
|
|
80
|
+
|
|
81
|
+
// 高亮块:从左扫入盖住文字,再从左撤掉
|
|
82
|
+
let selLeft = 0;
|
|
83
|
+
let selWidth = 0;
|
|
84
|
+
if (withSelection) {
|
|
85
|
+
const on = interpolate(frame, [SEL_ON, SEL_ON + 10], [0, 1], {
|
|
86
|
+
extrapolateLeft: 'clamp',
|
|
87
|
+
extrapolateRight: 'clamp',
|
|
88
|
+
easing: Easing.out(Easing.quad),
|
|
89
|
+
});
|
|
90
|
+
const off = interpolate(frame, [SEL_OFF, SEL_OFF + 8], [0, 1], {
|
|
91
|
+
extrapolateLeft: 'clamp',
|
|
92
|
+
extrapolateRight: 'clamp',
|
|
93
|
+
easing: Easing.in(Easing.quad),
|
|
94
|
+
});
|
|
95
|
+
selLeft = off * 100;
|
|
96
|
+
selWidth = Math.max(0, on * 100 - selLeft);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
const growT = interpolate(frame, [GROW, GROW + 40], [0, 1], {
|
|
100
|
+
extrapolateLeft: 'clamp',
|
|
101
|
+
extrapolateRight: 'clamp',
|
|
102
|
+
});
|
|
103
|
+
|
|
104
|
+
return (
|
|
105
|
+
<AbsoluteFill style={{ background: G.bg }}>
|
|
106
|
+
{/* 内容骨架区 */}
|
|
107
|
+
<div style={{ position: 'absolute', left: 150, top: 210 }}>
|
|
108
|
+
<Skeleton t={growT} />
|
|
109
|
+
</div>
|
|
110
|
+
{/* 标题:transform-origin 左中,位置补间 */}
|
|
111
|
+
<div
|
|
112
|
+
style={{
|
|
113
|
+
position: 'absolute',
|
|
114
|
+
left: x,
|
|
115
|
+
top: y,
|
|
116
|
+
transform: `translate(${-(1 - dem) * 50}%, -50%) scale(${scale})`,
|
|
117
|
+
transformOrigin: 'left center',
|
|
118
|
+
opacity: rev,
|
|
119
|
+
filter: `blur(${(1 - rev) * 12}px)`,
|
|
120
|
+
}}
|
|
121
|
+
>
|
|
122
|
+
<div
|
|
123
|
+
style={{
|
|
124
|
+
position: 'relative',
|
|
125
|
+
fontFamily: FONT,
|
|
126
|
+
fontWeight: 800,
|
|
127
|
+
fontSize: 128,
|
|
128
|
+
color: G.ink,
|
|
129
|
+
letterSpacing: -2,
|
|
130
|
+
whiteSpace: 'nowrap',
|
|
131
|
+
padding: '10px 18px',
|
|
132
|
+
}}
|
|
133
|
+
>
|
|
134
|
+
{withSelection && selWidth > 0 && (
|
|
135
|
+
<div
|
|
136
|
+
style={{
|
|
137
|
+
position: 'absolute',
|
|
138
|
+
left: `${selLeft}%`,
|
|
139
|
+
top: 8,
|
|
140
|
+
width: `${selWidth}%`,
|
|
141
|
+
height: 'calc(100% - 16px)',
|
|
142
|
+
background: SEL,
|
|
143
|
+
borderRadius: 6,
|
|
144
|
+
}}
|
|
145
|
+
/>
|
|
146
|
+
)}
|
|
147
|
+
<span style={{ position: 'relative' }}>{title}</span>
|
|
148
|
+
</div>
|
|
149
|
+
</div>
|
|
150
|
+
</AbsoluteFill>
|
|
151
|
+
);
|
|
152
|
+
};
|
|
153
|
+
|
|
154
|
+
export const TitleDemoteToLabel: React.FC = () => {
|
|
155
|
+
const frame = useCurrentFrame();
|
|
156
|
+
const SPLIT = 92; // 变体 A 时长
|
|
157
|
+
|
|
158
|
+
if (frame < SPLIT) {
|
|
159
|
+
return <DemoteScene frame={frame} title="Running Subagents" withSelection={false} />;
|
|
160
|
+
}
|
|
161
|
+
// 变体 B:文本选中态高亮登场
|
|
162
|
+
const f = frame - SPLIT;
|
|
163
|
+
// 白闪转场 3f
|
|
164
|
+
const flash = interpolate(f, [0, 4], [1, 0], {
|
|
165
|
+
extrapolateLeft: 'clamp',
|
|
166
|
+
extrapolateRight: 'clamp',
|
|
167
|
+
});
|
|
168
|
+
return (
|
|
169
|
+
<AbsoluteFill>
|
|
170
|
+
<DemoteScene frame={f} title="Select the Answer" withSelection={true} />
|
|
171
|
+
<AbsoluteFill style={{ background: '#fff', opacity: flash, pointerEvents: 'none' }} />
|
|
172
|
+
</AbsoluteFill>
|
|
173
|
+
);
|
|
174
|
+
};
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
// card-footage-cadence|字卡穿插节奏
|
|
2
|
+
// UI 镜头 ↔ 黑底字卡像对话接拍:0–14f UI A 缓推 → 硬切 8f 字卡 SHIP →
|
|
3
|
+
// 硬切 12f UI B 1.6x 裁切缓移 → 8f 字卡 FASTER → 10f UI A 2x 裁切 →
|
|
4
|
+
// 10f 字卡 TODAY(下划线) → 62f 硬切收尾全景定格。
|
|
5
|
+
// UI 段全部带微动(推/移),字卡段除落定微缩(1.05→1, out-cubic)外全静,
|
|
6
|
+
// 动↔静对比即手法本体。所有切换零过渡(条件挂载,无 crossfade)。
|
|
7
|
+
// 收尾 62–105f 轻推收完,105–150f 真静止 45f ≥ 40f。帧确定,无随机。
|
|
8
|
+
import React from 'react';
|
|
9
|
+
import { AbsoluteFill, useCurrentFrame, interpolate, Easing } from 'remotion';
|
|
10
|
+
import { FakeDashboard } from '../_fixtures/Fixtures';
|
|
11
|
+
|
|
12
|
+
const CLAMP = { extrapolateLeft: 'clamp', extrapolateRight: 'clamp' } as const;
|
|
13
|
+
|
|
14
|
+
// 黑底白字字卡:落定微缩 1.05→1(out-cubic,段内前 5f 完成),其余全静
|
|
15
|
+
const TitleCard: React.FC<{ text: string; local: number; underline?: boolean }> = ({
|
|
16
|
+
text,
|
|
17
|
+
local,
|
|
18
|
+
underline = false,
|
|
19
|
+
}) => {
|
|
20
|
+
const scale = interpolate(local, [0, 5], [1.05, 1], {
|
|
21
|
+
...CLAMP,
|
|
22
|
+
easing: Easing.out(Easing.cubic),
|
|
23
|
+
});
|
|
24
|
+
return (
|
|
25
|
+
<AbsoluteFill
|
|
26
|
+
style={{ background: '#0d0d0d', alignItems: 'center', justifyContent: 'center' }}
|
|
27
|
+
>
|
|
28
|
+
<div
|
|
29
|
+
style={{
|
|
30
|
+
transform: `scale(${scale})`,
|
|
31
|
+
display: 'flex',
|
|
32
|
+
flexDirection: 'column',
|
|
33
|
+
alignItems: 'center',
|
|
34
|
+
gap: 26,
|
|
35
|
+
}}
|
|
36
|
+
>
|
|
37
|
+
<div
|
|
38
|
+
style={{
|
|
39
|
+
fontFamily: 'Helvetica, Arial, sans-serif',
|
|
40
|
+
fontWeight: 800,
|
|
41
|
+
fontSize: 170,
|
|
42
|
+
color: '#ffffff',
|
|
43
|
+
letterSpacing: 2,
|
|
44
|
+
lineHeight: 1,
|
|
45
|
+
}}
|
|
46
|
+
>
|
|
47
|
+
{text}
|
|
48
|
+
</div>
|
|
49
|
+
{underline && (
|
|
50
|
+
<div style={{ width: 560, height: 14, background: '#ffffff', borderRadius: 7 }} />
|
|
51
|
+
)}
|
|
52
|
+
</div>
|
|
53
|
+
</AbsoluteFill>
|
|
54
|
+
);
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
// UI 镜头:包一层 transform 做缓推/缓移,硬切由外层条件挂载保证
|
|
58
|
+
const UiShot: React.FC<{
|
|
59
|
+
variant: 'A' | 'B';
|
|
60
|
+
transform: string;
|
|
61
|
+
origin?: string;
|
|
62
|
+
}> = ({ variant, transform, origin = '50% 50%' }) => (
|
|
63
|
+
<AbsoluteFill style={{ overflow: 'hidden', background: '#ececea' }}>
|
|
64
|
+
<div style={{ width: 1920, height: 1080, transform, transformOrigin: origin }}>
|
|
65
|
+
<FakeDashboard variant={variant} />
|
|
66
|
+
</div>
|
|
67
|
+
</AbsoluteFill>
|
|
68
|
+
);
|
|
69
|
+
|
|
70
|
+
export const CardFootageCadence: React.FC = () => {
|
|
71
|
+
const frame = useCurrentFrame();
|
|
72
|
+
|
|
73
|
+
// ---- 分段:切点 14 / 22 / 34 / 42 / 52 / 62,总长 150 ----
|
|
74
|
+
|
|
75
|
+
// 段1 0–14f:UI A 全景缓推 1.0→1.08
|
|
76
|
+
if (frame < 14) {
|
|
77
|
+
const s = interpolate(frame, [0, 14], [1, 1.08], CLAMP);
|
|
78
|
+
return <UiShot variant="A" transform={`scale(${s})`} />;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
// 段2 14–22f:字卡 SHIP
|
|
82
|
+
if (frame < 22) {
|
|
83
|
+
return <TitleCard text="SHIP" local={frame - 14} />;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
// 段3 22–34f:UI B 1.6x 裁切 + 横向缓移(120px 内容位移,屏上 ~192px)。
|
|
87
|
+
// origin 偏左让列表行图标入画,读得出是 UI(QA 后调:50%→35%)
|
|
88
|
+
if (frame < 34) {
|
|
89
|
+
const tx = interpolate(frame - 22, [0, 12], [60, -60], CLAMP);
|
|
90
|
+
return (
|
|
91
|
+
<UiShot variant="B" transform={`scale(1.6) translateX(${tx}px)`} origin="35% 50%" />
|
|
92
|
+
);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
// 段4 34–42f:字卡 FASTER
|
|
96
|
+
if (frame < 42) {
|
|
97
|
+
return <TitleCard text="FASTER" local={frame - 34} />;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
// 段5 42–52f:UI A 另一处 2x 裁切(左上卡片区)+ 继续缓推 2.0→2.14
|
|
101
|
+
if (frame < 52) {
|
|
102
|
+
const s = interpolate(frame - 42, [0, 10], [2, 2.14], CLAMP);
|
|
103
|
+
return <UiShot variant="A" transform={`scale(${s})`} origin="32% 30%" />;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
// 段6 52–62f:字卡 TODAY + 下划线
|
|
107
|
+
if (frame < 62) {
|
|
108
|
+
return <TitleCard text="TODAY" local={frame - 52} underline />;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
// 段7 62–150f:收尾全景 UI 定格。62–105f 极缓推收完(out-cubic),
|
|
112
|
+
// 105f 后 transform 值恒为 1.02,105–150f 真静止 45f。
|
|
113
|
+
const s = interpolate(frame, [62, 105], [1, 1.02], {
|
|
114
|
+
...CLAMP,
|
|
115
|
+
easing: Easing.out(Easing.cubic),
|
|
116
|
+
});
|
|
117
|
+
return <UiShot variant="B" transform={`scale(${s})`} />;
|
|
118
|
+
};
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
// smash-cut|猛切(喧闹→死寂)
|
|
2
|
+
// 0–41f 轰鸣段:5 张 Card 多方向高速飞掠冲镜(穿屏 translate + scale 1.5→3
|
|
3
|
+
// 冲脸 + 微 rotate,各卡错峰跑两轮,第二轮更快=整体仍在加速),背景
|
|
4
|
+
// FakeDashboard A 以 ease-in 持续加速推近 1→1.55 并滚动 rotate 1.8°——
|
|
5
|
+
// 切点前一刻动势最猛。42f 一帧硬切 variant B 整齐静止全景,无一物在动,
|
|
6
|
+
// 停满 93f(>50f)。反差即手法本体。总 135f。
|
|
7
|
+
import React from 'react';
|
|
8
|
+
import { useCurrentFrame, interpolate, Easing } from 'remotion';
|
|
9
|
+
import { G, Card, FakeDashboard } from '../_fixtures/Fixtures';
|
|
10
|
+
|
|
11
|
+
const CUT = 42; // 硬切帧:>=42 全静止
|
|
12
|
+
|
|
13
|
+
// 每张飞卡:两轮 pass,第二轮更短(更快),ease-in 让每一程都在加速。
|
|
14
|
+
// from/to 为屏幕外起终点(中心系坐标),飞行中 scale 1.5→3 冲脸。
|
|
15
|
+
type Fly = {
|
|
16
|
+
from: [number, number];
|
|
17
|
+
to: [number, number];
|
|
18
|
+
rot: [number, number]; // 微旋转 起→终
|
|
19
|
+
seed: number;
|
|
20
|
+
w: number;
|
|
21
|
+
h: number;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
const FLIES: Fly[] = [
|
|
25
|
+
{ from: [-1400, -120], to: [1400, 60], rot: [-6, 5], seed: 1, w: 440, h: 290 },
|
|
26
|
+
{ from: [1400, 180], to: [-1400, -100], rot: [7, -4], seed: 2, w: 400, h: 260 },
|
|
27
|
+
{ from: [-300, -900], to: [200, 900], rot: [-3, 8], seed: 3, w: 460, h: 300 },
|
|
28
|
+
{ from: [-1300, 800], to: [1300, -750], rot: [5, -7], seed: 4, w: 420, h: 280 },
|
|
29
|
+
{ from: [1350, -780], to: [-1350, 820], rot: [-8, 4], seed: 5, w: 480, h: 310 },
|
|
30
|
+
];
|
|
31
|
+
|
|
32
|
+
// 卡 i 的第 k 轮:start = i*4 + k*20,时长 16 / 12(第二轮更快)。
|
|
33
|
+
// card4 第二轮 36–48f 在切点 42f 被硬切截断——正中"绝不减速迎接切点"。
|
|
34
|
+
const passWindow = (i: number, k: number): [number, number] => {
|
|
35
|
+
const start = i * 4 + k * 20;
|
|
36
|
+
const dur = k === 0 ? 16 : 12;
|
|
37
|
+
return [start, start + dur];
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
const FlyCard: React.FC<{ fly: Fly; i: number; frame: number }> = ({ fly, i, frame }) => {
|
|
41
|
+
// 找当前活跃的 pass(两轮)
|
|
42
|
+
let active: [number, number] | null = null;
|
|
43
|
+
for (let k = 0; k < 2; k++) {
|
|
44
|
+
const [s, e] = passWindow(i, k);
|
|
45
|
+
if (frame >= s && frame < e) { active = [s, e]; break; }
|
|
46
|
+
}
|
|
47
|
+
if (!active) return null;
|
|
48
|
+
const [s, e] = active;
|
|
49
|
+
// ease-in:全程加速,越接近终点越快
|
|
50
|
+
const p = interpolate(frame, [s, e], [0, 1], {
|
|
51
|
+
extrapolateLeft: 'clamp', extrapolateRight: 'clamp',
|
|
52
|
+
easing: Easing.in(Easing.quad),
|
|
53
|
+
});
|
|
54
|
+
const x = fly.from[0] + (fly.to[0] - fly.from[0]) * p;
|
|
55
|
+
const y = fly.from[1] + (fly.to[1] - fly.from[1]) * p;
|
|
56
|
+
const rot = fly.rot[0] + (fly.rot[1] - fly.rot[0]) * p;
|
|
57
|
+
const scale = 1.5 + 1.5 * p; // 1.5 → 3 冲脸
|
|
58
|
+
// 速度门控方向模糊感:ease-in 下瞬时速度 ∝ p,速度越快越糊
|
|
59
|
+
const blur = 1 + 4 * p;
|
|
60
|
+
return (
|
|
61
|
+
<div style={{
|
|
62
|
+
position: 'absolute', left: 960 - fly.w / 2, top: 540 - fly.h / 2,
|
|
63
|
+
transform: `translate(${x}px, ${y}px) rotate(${rot}deg) scale(${scale})`,
|
|
64
|
+
filter: `blur(${blur}px)`,
|
|
65
|
+
}}>
|
|
66
|
+
<Card w={fly.w} h={fly.h} seed={fly.seed}
|
|
67
|
+
style={{ boxShadow: '0 12px 40px rgba(0,0,0,0.25)' }} />
|
|
68
|
+
</div>
|
|
69
|
+
);
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
export const SmashCut: React.FC = () => {
|
|
73
|
+
const frame = useCurrentFrame();
|
|
74
|
+
|
|
75
|
+
// —— 死寂段:42f 起 variant B 整齐静止全景,无任何动画属性 ——
|
|
76
|
+
if (frame >= CUT) {
|
|
77
|
+
return <FakeDashboard variant="B" />;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
// —— 轰鸣段:背景 ease-in 加速推近 + 滚动,切点前 3f 仍在加速 ——
|
|
81
|
+
const bgScale = interpolate(frame, [0, CUT], [1, 1.55], {
|
|
82
|
+
extrapolateLeft: 'clamp', extrapolateRight: 'clamp',
|
|
83
|
+
easing: Easing.in(Easing.quad),
|
|
84
|
+
});
|
|
85
|
+
const bgRot = interpolate(frame, [0, CUT], [0, 1.8], {
|
|
86
|
+
extrapolateLeft: 'clamp', extrapolateRight: 'clamp',
|
|
87
|
+
easing: Easing.in(Easing.quad),
|
|
88
|
+
});
|
|
89
|
+
|
|
90
|
+
return (
|
|
91
|
+
<div style={{ width: 1920, height: 1080, background: G.bg, overflow: 'hidden', position: 'relative' }}>
|
|
92
|
+
<div style={{
|
|
93
|
+
width: 1920, height: 1080,
|
|
94
|
+
transform: `scale(${bgScale}) rotate(${bgRot}deg)`,
|
|
95
|
+
transformOrigin: '50% 50%',
|
|
96
|
+
filter: 'blur(1.5px)', // 背景轻糊,衬前景飞卡
|
|
97
|
+
}}>
|
|
98
|
+
<FakeDashboard variant="A" />
|
|
99
|
+
</div>
|
|
100
|
+
{FLIES.map((fly, i) => (
|
|
101
|
+
<FlyCard key={i} fly={fly} i={i} frame={frame} />
|
|
102
|
+
))}
|
|
103
|
+
</div>
|
|
104
|
+
);
|
|
105
|
+
};
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
// trailer-bumper|前置速剪预告
|
|
2
|
+
// 结构即全部:三连 9f 速剪(A 整页 / B 整页 / A 2.2x 怼脸特写)→ 6f 纯黑喘息
|
|
3
|
+
// → 正式开场大标题淡入+微升 16f 定格。每个速剪镜头内部带 1→1.04 轻推近。
|
|
4
|
+
// 收尾真静止:49f 后所有动画结束,静止 91f(>40f)。
|
|
5
|
+
import React from 'react';
|
|
6
|
+
import { useCurrentFrame, interpolate, Easing } from 'remotion';
|
|
7
|
+
import { G, FakeDashboard } from '../_fixtures/Fixtures';
|
|
8
|
+
|
|
9
|
+
// 时间轴(帧)
|
|
10
|
+
const CUT_1 = 0; // 镜头1:variant A 整页
|
|
11
|
+
const CUT_2 = 9; // 镜头2:variant B 整页
|
|
12
|
+
const CUT_3 = 18; // 镜头3:variant A 2.2x 怼脸特写
|
|
13
|
+
const BLACK = 27; // 纯黑静默
|
|
14
|
+
const TITLE = 33; // 正式开场
|
|
15
|
+
const TITLE_IN = 16; // 标题淡入+微升时长
|
|
16
|
+
|
|
17
|
+
// 速剪镜头内部轻推近:镜头内 local 0→9f,scale 1→1.04(线性,活镜头感)
|
|
18
|
+
const push = (frame: number, start: number) =>
|
|
19
|
+
interpolate(frame, [start, start + 9], [1, 1.04], {
|
|
20
|
+
extrapolateLeft: 'clamp',
|
|
21
|
+
extrapolateRight: 'clamp',
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
export const TrailerBumper: React.FC = () => {
|
|
25
|
+
const frame = useCurrentFrame();
|
|
26
|
+
|
|
27
|
+
// —— 段落 1–3:三连速剪 ——
|
|
28
|
+
if (frame < BLACK) {
|
|
29
|
+
let inner: React.ReactNode;
|
|
30
|
+
if (frame < CUT_2) {
|
|
31
|
+
// 镜头1:A 整页 + 轻推近
|
|
32
|
+
inner = (
|
|
33
|
+
<div style={{ width: 1920, height: 1080, transform: `scale(${push(frame, CUT_1)})`, transformOrigin: '50% 50%' }}>
|
|
34
|
+
<FakeDashboard variant="A" />
|
|
35
|
+
</div>
|
|
36
|
+
);
|
|
37
|
+
} else if (frame < CUT_3) {
|
|
38
|
+
// 镜头2:B 整页 + 轻推近
|
|
39
|
+
inner = (
|
|
40
|
+
<div style={{ width: 1920, height: 1080, transform: `scale(${push(frame, CUT_2)})`, transformOrigin: '50% 50%' }}>
|
|
41
|
+
<FakeDashboard variant="B" />
|
|
42
|
+
</div>
|
|
43
|
+
);
|
|
44
|
+
} else {
|
|
45
|
+
// 镜头3:A 的 2.2x 放大裁切怼脸特写(对准中列卡片),叠加同样的轻推近
|
|
46
|
+
const s = 2.2 * push(frame, CUT_3);
|
|
47
|
+
inner = (
|
|
48
|
+
<div style={{ width: 1920, height: 1080, transform: `scale(${s})`, transformOrigin: '58% 40%' }}>
|
|
49
|
+
<FakeDashboard variant="A" />
|
|
50
|
+
</div>
|
|
51
|
+
);
|
|
52
|
+
}
|
|
53
|
+
return (
|
|
54
|
+
<div style={{ width: 1920, height: 1080, overflow: 'hidden', background: G.bg }}>
|
|
55
|
+
{inner}
|
|
56
|
+
</div>
|
|
57
|
+
);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
// —— 段落 4:纯黑静默 6f,必须纯黑无物 ——
|
|
61
|
+
if (frame < TITLE) {
|
|
62
|
+
return <div style={{ width: 1920, height: 1080, background: '#000000' }} />;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
// —— 段落 5:正式开场——浅底大标题淡入+微升 16f 后定格 ——
|
|
66
|
+
const opacity = interpolate(frame, [TITLE, TITLE + TITLE_IN], [0, 1], {
|
|
67
|
+
extrapolateLeft: 'clamp',
|
|
68
|
+
extrapolateRight: 'clamp',
|
|
69
|
+
});
|
|
70
|
+
const rise = interpolate(frame, [TITLE, TITLE + TITLE_IN], [44, 0], {
|
|
71
|
+
extrapolateLeft: 'clamp',
|
|
72
|
+
extrapolateRight: 'clamp',
|
|
73
|
+
easing: Easing.out(Easing.cubic),
|
|
74
|
+
});
|
|
75
|
+
return (
|
|
76
|
+
<div
|
|
77
|
+
style={{
|
|
78
|
+
width: 1920,
|
|
79
|
+
height: 1080,
|
|
80
|
+
background: G.bg,
|
|
81
|
+
display: 'flex',
|
|
82
|
+
alignItems: 'center',
|
|
83
|
+
justifyContent: 'center',
|
|
84
|
+
overflow: 'hidden',
|
|
85
|
+
}}
|
|
86
|
+
>
|
|
87
|
+
<div
|
|
88
|
+
style={{
|
|
89
|
+
opacity,
|
|
90
|
+
transform: `translateY(${rise}px)`,
|
|
91
|
+
fontFamily: 'Helvetica, Arial, sans-serif',
|
|
92
|
+
fontWeight: 800,
|
|
93
|
+
fontSize: 168,
|
|
94
|
+
color: G.ink,
|
|
95
|
+
letterSpacing: -2,
|
|
96
|
+
textAlign: 'center',
|
|
97
|
+
}}
|
|
98
|
+
>
|
|
99
|
+
THE LAUNCH
|
|
100
|
+
</div>
|
|
101
|
+
</div>
|
|
102
|
+
);
|
|
103
|
+
};
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { AbsoluteFill, Easing, interpolate, useCurrentFrame } from 'remotion';
|
|
3
|
+
import { CameraMotionBlur } from '@remotion/motion-blur';
|
|
4
|
+
import { FakeDashboard, Card, G } from '../_fixtures/Fixtures';
|
|
5
|
+
|
|
6
|
+
// invisible-cut:前景遮挡隐形切——一张放大到超出画幅的卡片带重运动模糊
|
|
7
|
+
// 从左侧贴脸扫过,糊满屏幕的瞬间背景从 A 无痕换成 B,卡片飞出右侧时
|
|
8
|
+
// 观众以为还是同一镜。(invisible-cut + foreground-occlusion-swipe)
|
|
9
|
+
const SW_START = 40; // 卡片入场
|
|
10
|
+
const SW_END = 54; // 卡片出场(14f 横扫)
|
|
11
|
+
const CUT = 47; // 硬切点:扫掠中点,卡片完全糊满画面的那一帧
|
|
12
|
+
|
|
13
|
+
// 卡片中扫掠曲线上的水平位置(容器 left,未缩放坐标)
|
|
14
|
+
const xAt = (f: number) =>
|
|
15
|
+
// 卡片 scale(1.6) 后半宽 1280:起点右缘 -120 / 终点左缘 2120,均完全出画;
|
|
16
|
+
// 中点 f47 覆盖 -280..2280,糊满整个 1920 画幅
|
|
17
|
+
interpolate(f, [SW_START, SW_END], [-2200, 2600], {
|
|
18
|
+
extrapolateLeft: 'clamp',
|
|
19
|
+
extrapolateRight: 'clamp',
|
|
20
|
+
easing: Easing.bezier(0.3, 0, 0.7, 1),
|
|
21
|
+
});
|
|
22
|
+
|
|
23
|
+
const Scene: React.FC = () => {
|
|
24
|
+
const frame = useCurrentFrame();
|
|
25
|
+
const x = xAt(frame);
|
|
26
|
+
// 瞬时速度(px/帧),驱动斜切与残影强度
|
|
27
|
+
const v = xAt(frame + 0.5) - xAt(frame - 0.5);
|
|
28
|
+
const sweeping = frame > SW_START - 2 && frame < SW_END + 3;
|
|
29
|
+
// 背景被"带风"轻推:A 被拖向左,切成 B 后从右侧回稳——卖同一镜错觉
|
|
30
|
+
const shove =
|
|
31
|
+
frame < CUT
|
|
32
|
+
? interpolate(frame, [SW_START, CUT], [0, -40], {
|
|
33
|
+
extrapolateLeft: 'clamp',
|
|
34
|
+
extrapolateRight: 'clamp',
|
|
35
|
+
easing: Easing.in(Easing.quad),
|
|
36
|
+
})
|
|
37
|
+
: interpolate(frame, [CUT, CUT + 13], [40, 0], {
|
|
38
|
+
extrapolateLeft: 'clamp',
|
|
39
|
+
extrapolateRight: 'clamp',
|
|
40
|
+
easing: Easing.out(Easing.cubic),
|
|
41
|
+
});
|
|
42
|
+
return (
|
|
43
|
+
<AbsoluteFill style={{ background: G.bg, overflow: 'hidden' }}>
|
|
44
|
+
{/* 背景层:硬切藏在遮挡帧内 */}
|
|
45
|
+
<div style={{ position: 'absolute', inset: 0, transform: `translateX(${shove}px)` }}>
|
|
46
|
+
{frame < CUT ? <FakeDashboard variant="A" /> : <FakeDashboard variant="B" />}
|
|
47
|
+
</div>
|
|
48
|
+
{/* 手动残影:4 层拖尾(在主卡身后),保证遮挡窗口糊满全屏 */}
|
|
49
|
+
{sweeping &&
|
|
50
|
+
[4, 3, 2, 1].map((i) => (
|
|
51
|
+
<div
|
|
52
|
+
key={i}
|
|
53
|
+
style={{
|
|
54
|
+
position: 'absolute',
|
|
55
|
+
left: xAt(frame - i * 0.55),
|
|
56
|
+
top: 40,
|
|
57
|
+
width: 1600,
|
|
58
|
+
height: 1000,
|
|
59
|
+
transform: 'scale(1.6)',
|
|
60
|
+
opacity: [0, 0.35, 0.22, 0.13, 0.07][i],
|
|
61
|
+
filter: 'blur(14px)',
|
|
62
|
+
}}
|
|
63
|
+
>
|
|
64
|
+
<Card w={1600} h={1000} seed={9} style={{ width: '100%', height: '100%' }} />
|
|
65
|
+
</div>
|
|
66
|
+
))}
|
|
67
|
+
{/* 主卡:1600x1000 放大 1.6 倍(2560x1600 超出画幅),自带 blur 加强糊感 */}
|
|
68
|
+
{sweeping && (
|
|
69
|
+
<div
|
|
70
|
+
style={{
|
|
71
|
+
position: 'absolute',
|
|
72
|
+
left: x,
|
|
73
|
+
top: 40,
|
|
74
|
+
width: 1600,
|
|
75
|
+
height: 1000,
|
|
76
|
+
transform: `scale(1.6) skewX(${-v * 0.018}deg)`,
|
|
77
|
+
filter: 'blur(8px)',
|
|
78
|
+
boxShadow: '0 24px 80px rgba(0,0,0,0.3)',
|
|
79
|
+
borderRadius: 20,
|
|
80
|
+
}}
|
|
81
|
+
>
|
|
82
|
+
<Card w={1600} h={1000} seed={9} style={{ width: '100%', height: '100%' }} />
|
|
83
|
+
</div>
|
|
84
|
+
)}
|
|
85
|
+
</AbsoluteFill>
|
|
86
|
+
);
|
|
87
|
+
};
|
|
88
|
+
|
|
89
|
+
export const InvisibleCut: React.FC = () => (
|
|
90
|
+
<CameraMotionBlur shutterAngle={300} samples={12}>
|
|
91
|
+
<Scene />
|
|
92
|
+
</CameraMotionBlur>
|
|
93
|
+
);
|