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,219 @@
|
|
|
1
|
+
// 子弹时间冻结环绕(bullet-time-freeze-orbit)——The Matrix bullet time。
|
|
2
|
+
// 中央 900×560 面板内 5 根柱状图错峰生长(动画时钟 effFrame 驱动)。
|
|
3
|
+
// 关键帧:0–20 hold 读布景;20–45 柱子正常生长;45–105 时钟咬死(柱子完全静止),
|
|
4
|
+
// 相机 perspective(1600px) 下 rotateY 0→55°(45–72)→顶点悬停(72–82)→回 0(82–105),
|
|
5
|
+
// 同步 scale 1→1.12→1 + translateX 摆动增强绕行感;105–120 时钟恢复柱子长完;
|
|
6
|
+
// 118–128 数字标签浮现;128–150 全静止收尾。
|
|
7
|
+
import React from 'react';
|
|
8
|
+
import { useCurrentFrame, interpolate, Easing } from 'remotion';
|
|
9
|
+
import { G, TitleBlock } from '../_fixtures/Fixtures';
|
|
10
|
+
|
|
11
|
+
const h = (n: number) => {
|
|
12
|
+
const s = Math.sin(n * 127.3) * 43758.5453;
|
|
13
|
+
return s - Math.floor(s);
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
const PANEL_W = 900;
|
|
17
|
+
const PANEL_H = 560;
|
|
18
|
+
const BAR_COUNT = 5;
|
|
19
|
+
|
|
20
|
+
export const BulletTimeFreezeOrbit: React.FC = () => {
|
|
21
|
+
const frame = useCurrentFrame();
|
|
22
|
+
|
|
23
|
+
// ── 子弹时间时钟:0–45 正常走,45–105 冻结,105 起恢复 ──
|
|
24
|
+
const effFrame =
|
|
25
|
+
frame < 45 ? frame : frame < 105 ? 45 : 45 + (frame - 105);
|
|
26
|
+
|
|
27
|
+
// ── 冻结区间的相机环绕(用真实 frame 驱动) ──
|
|
28
|
+
const rotY =
|
|
29
|
+
frame < 72
|
|
30
|
+
? interpolate(frame, [45, 72], [0, 55], {
|
|
31
|
+
extrapolateLeft: 'clamp',
|
|
32
|
+
extrapolateRight: 'clamp',
|
|
33
|
+
easing: Easing.inOut(Easing.cubic),
|
|
34
|
+
})
|
|
35
|
+
: frame < 82
|
|
36
|
+
? 55 // 顶点悬停 10f
|
|
37
|
+
: interpolate(frame, [82, 105], [55, 0], {
|
|
38
|
+
extrapolateLeft: 'clamp',
|
|
39
|
+
extrapolateRight: 'clamp',
|
|
40
|
+
easing: Easing.inOut(Easing.cubic),
|
|
41
|
+
});
|
|
42
|
+
const orbitT = rotY / 55; // 0→1→0,复用做 scale / translateX
|
|
43
|
+
const scale = 1 + 0.12 * orbitT;
|
|
44
|
+
const tx = -170 * Math.sin(orbitT * Math.PI * 0.5) - 60 * orbitT; // 绕行横摆
|
|
45
|
+
const ty = -24 * orbitT;
|
|
46
|
+
|
|
47
|
+
// ── 柱子:错峰生长,全部由 effFrame 驱动(冻结即静止) ──
|
|
48
|
+
const chartW = PANEL_W - 140;
|
|
49
|
+
const chartH = PANEL_H - 190;
|
|
50
|
+
const barW = 92;
|
|
51
|
+
const gap = (chartW - BAR_COUNT * barW) / (BAR_COUNT - 1);
|
|
52
|
+
const bars = Array.from({ length: BAR_COUNT }).map((_, i) => {
|
|
53
|
+
const full = chartH * (0.42 + h(i + 1) * 0.55); // 目标高度
|
|
54
|
+
const start = 20 + i * 4;
|
|
55
|
+
const end = 48 + i * 3; // 20–60f 区间内错峰
|
|
56
|
+
const p = interpolate(effFrame, [start, end], [0, 1], {
|
|
57
|
+
extrapolateLeft: 'clamp',
|
|
58
|
+
extrapolateRight: 'clamp',
|
|
59
|
+
easing: Easing.out(Easing.cubic),
|
|
60
|
+
});
|
|
61
|
+
const value = Math.round((full / chartH) * 100); // 标签与柱高一致
|
|
62
|
+
|
|
63
|
+
return { hNow: full * p, full, value, done: p >= 1 };
|
|
64
|
+
});
|
|
65
|
+
|
|
66
|
+
// ── 恢复段:数字标签浮现(118–128),之后全静止 ──
|
|
67
|
+
const labelOp = interpolate(frame, [118, 128], [0, 1], {
|
|
68
|
+
extrapolateLeft: 'clamp',
|
|
69
|
+
extrapolateRight: 'clamp',
|
|
70
|
+
});
|
|
71
|
+
|
|
72
|
+
// 冻结提示条:冻结期间显示 FREEZE 徽标,帮助读出手法
|
|
73
|
+
const freezeOp = interpolate(frame, [45, 52, 98, 105], [0, 1, 1, 0], {
|
|
74
|
+
extrapolateLeft: 'clamp',
|
|
75
|
+
extrapolateRight: 'clamp',
|
|
76
|
+
});
|
|
77
|
+
|
|
78
|
+
return (
|
|
79
|
+
<div
|
|
80
|
+
style={{
|
|
81
|
+
width: 1920,
|
|
82
|
+
height: 1080,
|
|
83
|
+
background: G.bg,
|
|
84
|
+
position: 'relative',
|
|
85
|
+
overflow: 'hidden',
|
|
86
|
+
fontFamily: 'Helvetica, Arial, sans-serif',
|
|
87
|
+
}}
|
|
88
|
+
>
|
|
89
|
+
<div style={{ position: 'absolute', top: 56, left: 72 }}>
|
|
90
|
+
<TitleBlock text="BULLET TIME" size={44} />
|
|
91
|
+
</div>
|
|
92
|
+
|
|
93
|
+
{/* 冻结徽标 */}
|
|
94
|
+
<div
|
|
95
|
+
style={{
|
|
96
|
+
position: 'absolute',
|
|
97
|
+
top: 62,
|
|
98
|
+
right: 84,
|
|
99
|
+
opacity: freezeOp,
|
|
100
|
+
background: G.ink,
|
|
101
|
+
color: G.card,
|
|
102
|
+
fontWeight: 800,
|
|
103
|
+
fontSize: 30,
|
|
104
|
+
letterSpacing: 4,
|
|
105
|
+
padding: '12px 26px',
|
|
106
|
+
borderRadius: 10,
|
|
107
|
+
}}
|
|
108
|
+
>
|
|
109
|
+
FREEZE
|
|
110
|
+
</div>
|
|
111
|
+
|
|
112
|
+
{/* 3D 舞台 */}
|
|
113
|
+
<div
|
|
114
|
+
style={{
|
|
115
|
+
position: 'absolute',
|
|
116
|
+
inset: 0,
|
|
117
|
+
display: 'flex',
|
|
118
|
+
alignItems: 'center',
|
|
119
|
+
justifyContent: 'center',
|
|
120
|
+
perspective: 1600,
|
|
121
|
+
}}
|
|
122
|
+
>
|
|
123
|
+
<div
|
|
124
|
+
style={{
|
|
125
|
+
width: PANEL_W,
|
|
126
|
+
height: PANEL_H,
|
|
127
|
+
background: G.card,
|
|
128
|
+
border: `2px solid ${G.border}`,
|
|
129
|
+
borderRadius: 18,
|
|
130
|
+
boxShadow: '0 16px 48px rgba(0,0,0,0.14)',
|
|
131
|
+
boxSizing: 'border-box',
|
|
132
|
+
padding: '44px 70px',
|
|
133
|
+
transform: `translateX(${tx}px) translateY(${ty}px) rotateY(${rotY}deg) scale(${scale})`,
|
|
134
|
+
transformStyle: 'preserve-3d',
|
|
135
|
+
}}
|
|
136
|
+
>
|
|
137
|
+
{/* 面板标题条 */}
|
|
138
|
+
<div
|
|
139
|
+
style={{
|
|
140
|
+
height: 20,
|
|
141
|
+
width: 260,
|
|
142
|
+
background: G.bar,
|
|
143
|
+
borderRadius: 10,
|
|
144
|
+
marginBottom: 14,
|
|
145
|
+
}}
|
|
146
|
+
/>
|
|
147
|
+
<div
|
|
148
|
+
style={{
|
|
149
|
+
height: 12,
|
|
150
|
+
width: 170,
|
|
151
|
+
background: G.line,
|
|
152
|
+
borderRadius: 6,
|
|
153
|
+
marginBottom: 30,
|
|
154
|
+
}}
|
|
155
|
+
/>
|
|
156
|
+
|
|
157
|
+
{/* 图表区:横向刻度线 + 柱子 */}
|
|
158
|
+
<div style={{ position: 'relative', width: chartW, height: chartH }}>
|
|
159
|
+
{[0, 1, 2, 3].map((i) => (
|
|
160
|
+
<div
|
|
161
|
+
key={i}
|
|
162
|
+
style={{
|
|
163
|
+
position: 'absolute',
|
|
164
|
+
left: 0,
|
|
165
|
+
right: 0,
|
|
166
|
+
top: (chartH / 4) * i,
|
|
167
|
+
height: 2,
|
|
168
|
+
background: G.line,
|
|
169
|
+
}}
|
|
170
|
+
/>
|
|
171
|
+
))}
|
|
172
|
+
{/* 基线 */}
|
|
173
|
+
<div
|
|
174
|
+
style={{
|
|
175
|
+
position: 'absolute',
|
|
176
|
+
left: 0,
|
|
177
|
+
right: 0,
|
|
178
|
+
bottom: 0,
|
|
179
|
+
height: 3,
|
|
180
|
+
background: G.mid,
|
|
181
|
+
}}
|
|
182
|
+
/>
|
|
183
|
+
{bars.map((b, i) => (
|
|
184
|
+
<div key={i}>
|
|
185
|
+
<div
|
|
186
|
+
style={{
|
|
187
|
+
position: 'absolute',
|
|
188
|
+
left: i * (barW + gap),
|
|
189
|
+
bottom: 3,
|
|
190
|
+
width: barW,
|
|
191
|
+
height: b.hNow,
|
|
192
|
+
background: i % 2 === 0 ? G.bar : G.mid,
|
|
193
|
+
borderRadius: '8px 8px 0 0',
|
|
194
|
+
}}
|
|
195
|
+
/>
|
|
196
|
+
{/* 数字标签:恢复段浮现 */}
|
|
197
|
+
<div
|
|
198
|
+
style={{
|
|
199
|
+
position: 'absolute',
|
|
200
|
+
left: i * (barW + gap),
|
|
201
|
+
bottom: 3 + b.full + 14 - 10 * (1 - labelOp),
|
|
202
|
+
width: barW,
|
|
203
|
+
textAlign: 'center',
|
|
204
|
+
fontWeight: 800,
|
|
205
|
+
fontSize: 28,
|
|
206
|
+
color: G.ink,
|
|
207
|
+
opacity: labelOp,
|
|
208
|
+
}}
|
|
209
|
+
>
|
|
210
|
+
{b.value}
|
|
211
|
+
</div>
|
|
212
|
+
</div>
|
|
213
|
+
))}
|
|
214
|
+
</div>
|
|
215
|
+
</div>
|
|
216
|
+
</div>
|
|
217
|
+
</div>
|
|
218
|
+
);
|
|
219
|
+
};
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { AbsoluteFill, Easing, interpolate, useCurrentFrame } from 'remotion';
|
|
3
|
+
import { FakeDashboard, Card, G } from '../_fixtures/Fixtures';
|
|
4
|
+
|
|
5
|
+
// 斜角滚正(dutch-roll-to-level):呈现痛点时整帧带 -10° 斜角悬着(叠极缓慢
|
|
6
|
+
// 正弦漂移防止读作静态歪图),帧 70 解决方案的一拍整帧带单次过冲滚回水平
|
|
7
|
+
// (-10° → +1.2° → 0),同时警示条淡出、干净卡浮现——"世界被扶正"打在节拍上。
|
|
8
|
+
// 帧 0–70 斜置漂移 / 70–84 滚正冲过头 / 84–94 收回 0 / 94–140 真静止。
|
|
9
|
+
|
|
10
|
+
const ROLL = 70; // 滚正起拍
|
|
11
|
+
const LEVEL = 94; // 完全归位帧
|
|
12
|
+
|
|
13
|
+
export const DutchRollToLevel: React.FC = () => {
|
|
14
|
+
const f = useCurrentFrame();
|
|
15
|
+
|
|
16
|
+
// —— 斜置期的缓慢漂移(帧 70 前):±0.8° 长周期正弦 + 2px 纵漂 ——
|
|
17
|
+
const driftT = Math.min(f, ROLL);
|
|
18
|
+
const driftRot = Math.sin(driftT * 0.035) * 0.8;
|
|
19
|
+
const driftY = Math.sin(driftT * 0.05) * 2;
|
|
20
|
+
// 滚正期间漂移随进度淡出
|
|
21
|
+
const driftFade = interpolate(f, [ROLL, ROLL + 6], [1, 0], {
|
|
22
|
+
extrapolateLeft: 'clamp',
|
|
23
|
+
extrapolateRight: 'clamp',
|
|
24
|
+
});
|
|
25
|
+
|
|
26
|
+
// —— 滚正:-10° 用 14f 冲过 0 到 +1.2°,再 10f 收回 0(单次过冲不振荡) ——
|
|
27
|
+
const baseRot =
|
|
28
|
+
f < ROLL
|
|
29
|
+
? -10
|
|
30
|
+
: f < ROLL + 14
|
|
31
|
+
? interpolate(f, [ROLL, ROLL + 14], [-10, 1.2], {
|
|
32
|
+
easing: Easing.out(Easing.cubic),
|
|
33
|
+
})
|
|
34
|
+
: interpolate(f, [ROLL + 14, LEVEL], [1.2, 0], {
|
|
35
|
+
extrapolateRight: 'clamp',
|
|
36
|
+
easing: Easing.inOut(Easing.quad),
|
|
37
|
+
});
|
|
38
|
+
|
|
39
|
+
const rot = baseRot + driftRot * driftFade;
|
|
40
|
+
const y = driftY * driftFade;
|
|
41
|
+
|
|
42
|
+
// scale 1.15(防旋转露边)→ 滚正同步收到 1.08
|
|
43
|
+
const scale = interpolate(f, [ROLL, LEVEL], [1.15, 1.08], {
|
|
44
|
+
extrapolateLeft: 'clamp',
|
|
45
|
+
extrapolateRight: 'clamp',
|
|
46
|
+
easing: Easing.inOut(Easing.cubic),
|
|
47
|
+
});
|
|
48
|
+
|
|
49
|
+
// —— 警示条(痛点):斜置期悬在上方,滚正一拍淡出;干净卡反向淡入 ——
|
|
50
|
+
const alertOpacity = interpolate(f, [ROLL, ROLL + 12], [1, 0], {
|
|
51
|
+
extrapolateLeft: 'clamp',
|
|
52
|
+
extrapolateRight: 'clamp',
|
|
53
|
+
});
|
|
54
|
+
const cleanOpacity = interpolate(f, [ROLL + 8, ROLL + 22], [0, 1], {
|
|
55
|
+
extrapolateLeft: 'clamp',
|
|
56
|
+
extrapolateRight: 'clamp',
|
|
57
|
+
});
|
|
58
|
+
|
|
59
|
+
return (
|
|
60
|
+
<AbsoluteFill style={{ background: G.bg, overflow: 'hidden' }}>
|
|
61
|
+
<div
|
|
62
|
+
style={{
|
|
63
|
+
position: 'absolute',
|
|
64
|
+
inset: 0,
|
|
65
|
+
transform: `translateY(${y}px) rotate(${rot}deg) scale(${scale})`,
|
|
66
|
+
transformOrigin: '50% 50%',
|
|
67
|
+
}}
|
|
68
|
+
>
|
|
69
|
+
<FakeDashboard variant="B" />
|
|
70
|
+
|
|
71
|
+
{/* 痛点警示条:深色横幅压在页面上方(斜着更显歪) */}
|
|
72
|
+
<div
|
|
73
|
+
style={{
|
|
74
|
+
position: 'absolute',
|
|
75
|
+
left: 560,
|
|
76
|
+
top: 120,
|
|
77
|
+
width: 800,
|
|
78
|
+
height: 88,
|
|
79
|
+
background: G.ink,
|
|
80
|
+
borderRadius: 14,
|
|
81
|
+
opacity: alertOpacity * 0.92,
|
|
82
|
+
display: 'flex',
|
|
83
|
+
alignItems: 'center',
|
|
84
|
+
gap: 18,
|
|
85
|
+
padding: '0 28px',
|
|
86
|
+
boxSizing: 'border-box',
|
|
87
|
+
boxShadow: '0 10px 30px rgba(0,0,0,0.25)',
|
|
88
|
+
}}
|
|
89
|
+
>
|
|
90
|
+
{/* 警示三角 */}
|
|
91
|
+
<div
|
|
92
|
+
style={{
|
|
93
|
+
width: 0,
|
|
94
|
+
height: 0,
|
|
95
|
+
borderLeft: '18px solid transparent',
|
|
96
|
+
borderRight: '18px solid transparent',
|
|
97
|
+
borderBottom: '32px solid #f7f7f6',
|
|
98
|
+
}}
|
|
99
|
+
/>
|
|
100
|
+
<div style={{ height: 16, width: 420, background: G.mid, borderRadius: 8 }} />
|
|
101
|
+
</div>
|
|
102
|
+
|
|
103
|
+
{/* 解决方案:干净卡随滚正浮现在同一位置 */}
|
|
104
|
+
<div style={{ position: 'absolute', left: 560, top: 96, opacity: cleanOpacity }}>
|
|
105
|
+
<Card w={800} h={140} seed={2} style={{ boxShadow: '0 10px 30px rgba(0,0,0,0.12)' }} />
|
|
106
|
+
</div>
|
|
107
|
+
</div>
|
|
108
|
+
</AbsoluteFill>
|
|
109
|
+
);
|
|
110
|
+
};
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
// 拉远孤立收束(pull-back-isolation)——pull-back shot。
|
|
2
|
+
// 相机容器 scale 2.2→0.62(0–110f,Easing.out(cubic)):开场怼在主卡
|
|
3
|
+
// "99.9%" 特写上,缓缓后拉露出周围 8 张兄弟卡。帧 30 起兄弟卡按离主卡
|
|
4
|
+
// 距离由近到远错峰熄灭(每 8f 一张,opacity→0 + brightness 压暗);
|
|
5
|
+
// 背景 60–110f 从 #ececea 沉入 #141414;主卡白光晕 60–100f 淡入。
|
|
6
|
+
// 帧 110–150 完全静止:暗场中央孤悬一张发光小卡——全片只为这一个数字。
|
|
7
|
+
import React from 'react';
|
|
8
|
+
import { useCurrentFrame, interpolate, Easing } from 'remotion';
|
|
9
|
+
import { G, Card } from '../_fixtures/Fixtures';
|
|
10
|
+
|
|
11
|
+
// 8 张兄弟卡:相对主卡中心 (960,540) 的偏移 + 尺寸 + seed
|
|
12
|
+
const SIBS = [
|
|
13
|
+
{ dx: -620, dy: -330, w: 360, h: 240, seed: 3 },
|
|
14
|
+
{ dx: 10, dy: -390, w: 420, h: 220, seed: 4 },
|
|
15
|
+
{ dx: 620, dy: -320, w: 380, h: 260, seed: 5 },
|
|
16
|
+
{ dx: -680, dy: 20, w: 340, h: 230, seed: 6 },
|
|
17
|
+
{ dx: 700, dy: 40, w: 360, h: 250, seed: 7 },
|
|
18
|
+
{ dx: -600, dy: 360, w: 400, h: 240, seed: 8 },
|
|
19
|
+
{ dx: 40, dy: 400, w: 440, h: 220, seed: 9 },
|
|
20
|
+
{ dx: 640, dy: 350, w: 370, h: 250, seed: 10 },
|
|
21
|
+
].map((s) => ({ ...s, dist: Math.hypot(s.dx, s.dy) }));
|
|
22
|
+
|
|
23
|
+
// 按离主卡距离排名 → 错峰熄灭顺序(近的先灭)
|
|
24
|
+
const RANKED = SIBS.map((s, i) => i).sort((a, b) => SIBS[a].dist - SIBS[b].dist);
|
|
25
|
+
const FADE_START = RANKED.reduce<number[]>((acc, idx, rank) => {
|
|
26
|
+
acc[idx] = 30 + rank * 8;
|
|
27
|
+
return acc;
|
|
28
|
+
}, []);
|
|
29
|
+
const FADE_DUR = 16;
|
|
30
|
+
|
|
31
|
+
const clamp = { extrapolateLeft: 'clamp' as const, extrapolateRight: 'clamp' as const };
|
|
32
|
+
|
|
33
|
+
export const PullBackIsolation: React.FC = () => {
|
|
34
|
+
const frame = useCurrentFrame();
|
|
35
|
+
|
|
36
|
+
// 相机后拉:2.2(怼脸特写)→ 0.62(大远景孤悬)
|
|
37
|
+
const scale = interpolate(frame, [0, 110], [2.2, 0.62], {
|
|
38
|
+
easing: Easing.out(Easing.cubic),
|
|
39
|
+
...clamp,
|
|
40
|
+
});
|
|
41
|
+
|
|
42
|
+
// 背景沉入黑暗:#ececea → #141414(60–110f)
|
|
43
|
+
const bgT = interpolate(frame, [60, 110], [0, 1], { easing: Easing.inOut(Easing.quad), ...clamp });
|
|
44
|
+
const bgC = Math.round(236 + (20 - 236) * bgT);
|
|
45
|
+
const bg = `rgb(${bgC},${bgC},${bgC})`;
|
|
46
|
+
|
|
47
|
+
// 主卡白光晕淡入(60–100f)
|
|
48
|
+
const glow = interpolate(frame, [60, 100], [0, 0.35], { ...clamp });
|
|
49
|
+
|
|
50
|
+
return (
|
|
51
|
+
<div style={{ width: 1920, height: 1080, background: bg, overflow: 'hidden', position: 'relative' }}>
|
|
52
|
+
{/* 相机容器:以主卡中心(画面中心)为原点整体缩放 */}
|
|
53
|
+
<div
|
|
54
|
+
style={{
|
|
55
|
+
position: 'absolute',
|
|
56
|
+
inset: 0,
|
|
57
|
+
transform: `scale(${scale})`,
|
|
58
|
+
transformOrigin: '960px 540px',
|
|
59
|
+
}}
|
|
60
|
+
>
|
|
61
|
+
{/* 兄弟卡:错峰熄灭 */}
|
|
62
|
+
{SIBS.map((s, i) => {
|
|
63
|
+
const t0 = FADE_START[i];
|
|
64
|
+
const op = interpolate(frame, [t0, t0 + FADE_DUR], [1, 0], {
|
|
65
|
+
easing: Easing.out(Easing.quad),
|
|
66
|
+
...clamp,
|
|
67
|
+
});
|
|
68
|
+
const bright = interpolate(frame, [t0, t0 + FADE_DUR], [1, 0.3], { ...clamp });
|
|
69
|
+
return (
|
|
70
|
+
<div
|
|
71
|
+
key={i}
|
|
72
|
+
style={{
|
|
73
|
+
position: 'absolute',
|
|
74
|
+
left: 960 + s.dx - s.w / 2,
|
|
75
|
+
top: 540 + s.dy - s.h / 2,
|
|
76
|
+
opacity: op,
|
|
77
|
+
filter: `brightness(${bright})`,
|
|
78
|
+
}}
|
|
79
|
+
>
|
|
80
|
+
<Card w={s.w} h={s.h} seed={s.seed} />
|
|
81
|
+
</div>
|
|
82
|
+
);
|
|
83
|
+
})}
|
|
84
|
+
|
|
85
|
+
{/* 主卡:520×340 居中,叠大数字 + 白光晕 */}
|
|
86
|
+
<div
|
|
87
|
+
style={{
|
|
88
|
+
position: 'absolute',
|
|
89
|
+
left: 960 - 260,
|
|
90
|
+
top: 540 - 170,
|
|
91
|
+
width: 520,
|
|
92
|
+
height: 340,
|
|
93
|
+
borderRadius: 14,
|
|
94
|
+
boxShadow: `0 0 80px rgba(255,255,255,${glow}), 0 0 160px rgba(255,255,255,${glow * 0.6})`,
|
|
95
|
+
}}
|
|
96
|
+
>
|
|
97
|
+
<Card w={520} h={340} seed={2} />
|
|
98
|
+
<div
|
|
99
|
+
style={{
|
|
100
|
+
position: 'absolute',
|
|
101
|
+
inset: 0,
|
|
102
|
+
display: 'flex',
|
|
103
|
+
alignItems: 'center',
|
|
104
|
+
justifyContent: 'center',
|
|
105
|
+
fontFamily: 'Helvetica, Arial, sans-serif',
|
|
106
|
+
fontWeight: 800,
|
|
107
|
+
fontSize: 128,
|
|
108
|
+
letterSpacing: -3,
|
|
109
|
+
color: G.ink,
|
|
110
|
+
background: 'rgba(255,255,255,0.72)',
|
|
111
|
+
borderRadius: 14,
|
|
112
|
+
}}
|
|
113
|
+
>
|
|
114
|
+
99.9%
|
|
115
|
+
</div>
|
|
116
|
+
</div>
|
|
117
|
+
</div>
|
|
118
|
+
</div>
|
|
119
|
+
);
|
|
120
|
+
};
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
// 慢推压迫(slow-push-in)——studiobinder camera movements。
|
|
2
|
+
// 景 A(帧 0–120):深色底 + 白色大数字 "10x",scale 用 Easing.in(Easing.quad)
|
|
3
|
+
// 从 1.00 匀加速推到 1.14——前 2 秒几乎不可察,后段明显可感;同时四角径向
|
|
4
|
+
// 暗角 opacity 0→0.5 同步加深,构成压迫感的第二来源。
|
|
5
|
+
// 帧 120 无任何过渡硬切景 B:满屏亮色 FakeDashboard(A) 真静止 30f——
|
|
6
|
+
// 暗→亮的大反差让"切"这一拍才响。
|
|
7
|
+
import React from 'react';
|
|
8
|
+
import { useCurrentFrame, interpolate, Easing } from 'remotion';
|
|
9
|
+
import { G, FakeDashboard } from '../_fixtures/Fixtures';
|
|
10
|
+
|
|
11
|
+
const CUT = 120; // 硬切帧
|
|
12
|
+
|
|
13
|
+
export const SlowPushIn: React.FC = () => {
|
|
14
|
+
const frame = useCurrentFrame();
|
|
15
|
+
|
|
16
|
+
// ---- 景 B:帧 120 起,满屏亮面板,完全静止 ----
|
|
17
|
+
if (frame >= CUT) {
|
|
18
|
+
return <FakeDashboard variant="A" />;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
// ---- 景 A:0–120f 慢推 ----
|
|
22
|
+
// 匀加速推近:Easing.in(quad)——前段几乎不可察,后段可感
|
|
23
|
+
const scale = interpolate(frame, [0, CUT], [1.0, 1.14], {
|
|
24
|
+
easing: Easing.in(Easing.quad),
|
|
25
|
+
extrapolateLeft: 'clamp',
|
|
26
|
+
extrapolateRight: 'clamp',
|
|
27
|
+
});
|
|
28
|
+
// 暗角同步加深:压迫感的第二来源
|
|
29
|
+
const vignette = interpolate(frame, [0, CUT], [0, 0.5], {
|
|
30
|
+
easing: Easing.in(Easing.quad),
|
|
31
|
+
extrapolateLeft: 'clamp',
|
|
32
|
+
extrapolateRight: 'clamp',
|
|
33
|
+
});
|
|
34
|
+
|
|
35
|
+
return (
|
|
36
|
+
<div
|
|
37
|
+
style={{
|
|
38
|
+
width: 1920,
|
|
39
|
+
height: 1080,
|
|
40
|
+
background: G.side,
|
|
41
|
+
position: 'relative',
|
|
42
|
+
overflow: 'hidden',
|
|
43
|
+
fontFamily: 'Helvetica, Arial, sans-serif',
|
|
44
|
+
}}
|
|
45
|
+
>
|
|
46
|
+
{/* 被推近的内容层:整体 scale */}
|
|
47
|
+
<div
|
|
48
|
+
style={{
|
|
49
|
+
position: 'absolute',
|
|
50
|
+
inset: 0,
|
|
51
|
+
display: 'flex',
|
|
52
|
+
flexDirection: 'column',
|
|
53
|
+
alignItems: 'center',
|
|
54
|
+
justifyContent: 'center',
|
|
55
|
+
transform: `scale(${scale})`,
|
|
56
|
+
transformOrigin: '50% 50%',
|
|
57
|
+
}}
|
|
58
|
+
>
|
|
59
|
+
<div
|
|
60
|
+
style={{
|
|
61
|
+
fontSize: 300,
|
|
62
|
+
fontWeight: 800,
|
|
63
|
+
color: '#ffffff',
|
|
64
|
+
letterSpacing: -6,
|
|
65
|
+
lineHeight: 1,
|
|
66
|
+
}}
|
|
67
|
+
>
|
|
68
|
+
10x
|
|
69
|
+
</div>
|
|
70
|
+
<div
|
|
71
|
+
style={{
|
|
72
|
+
marginTop: 36,
|
|
73
|
+
fontSize: 40,
|
|
74
|
+
fontWeight: 500,
|
|
75
|
+
color: '#b8b8b6',
|
|
76
|
+
letterSpacing: 6,
|
|
77
|
+
}}
|
|
78
|
+
>
|
|
79
|
+
FASTER THAN BASELINE
|
|
80
|
+
</div>
|
|
81
|
+
</div>
|
|
82
|
+
|
|
83
|
+
{/* 暗角层:四角径向渐变,随推近同步加深 */}
|
|
84
|
+
<div
|
|
85
|
+
style={{
|
|
86
|
+
position: 'absolute',
|
|
87
|
+
inset: 0,
|
|
88
|
+
opacity: vignette,
|
|
89
|
+
background:
|
|
90
|
+
'radial-gradient(ellipse 62% 55% at 50% 50%, rgba(0,0,0,0) 45%, rgba(0,0,0,0.95) 100%)',
|
|
91
|
+
pointerEvents: 'none',
|
|
92
|
+
}}
|
|
93
|
+
/>
|
|
94
|
+
</div>
|
|
95
|
+
);
|
|
96
|
+
};
|
package/skills/hyper-animator-codex/references/shotcraft/source/demos/text-as-mask/TextAsMask.tsx
ADDED
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
// 文字视频遮罩(text-as-mask)——kinetische typografie
|
|
2
|
+
// 深底上超粗大字 "SCALE",字形内部用 CSS alpha mask 套住 FakeDashboard:
|
|
3
|
+
// 0–20f hold 读布景;20–100f dashboard 在字内匀速 translateX +110→-110(scale 1.15);
|
|
4
|
+
// 100–130f 单段 bezier:mask 层 scale 1→26 放大溢出(内容层用 1/S 反向抵消不畸变),
|
|
5
|
+
// 同时无遮罩全屏层淡入接管,dashboard 1.15→1.0 归位;130–150f 全屏静止收尾。
|
|
6
|
+
import React from 'react';
|
|
7
|
+
import { useCurrentFrame, interpolate, Easing } from 'remotion';
|
|
8
|
+
import { FakeDashboard, G } from '../_fixtures/Fixtures';
|
|
9
|
+
|
|
10
|
+
const MASK_SVG = `<svg xmlns="http://www.w3.org/2000/svg" width="1920" height="1080"><text x="960" y="666" font-family="Helvetica, Arial, sans-serif" font-size="360" font-weight="900" letter-spacing="-8" text-anchor="middle" fill="white">SCALE</text></svg>`;
|
|
11
|
+
const MASK_URL = `url("data:image/svg+xml,${encodeURIComponent(MASK_SVG)}")`;
|
|
12
|
+
// mask 放大原点:取字母 L 的竖笔位置(约 61.5% 处),保证放大时原点落在实心笔画内
|
|
13
|
+
const ORIGIN = '61.5% 50%';
|
|
14
|
+
|
|
15
|
+
export const TextAsMask: React.FC = () => {
|
|
16
|
+
const f = useCurrentFrame();
|
|
17
|
+
const clamp = { extrapolateLeft: 'clamp', extrapolateRight: 'clamp' } as const;
|
|
18
|
+
|
|
19
|
+
// 结尾撤场进度:100–130f 单段 bezier
|
|
20
|
+
const endT = interpolate(f, [100, 130], [0, 1], {
|
|
21
|
+
...clamp,
|
|
22
|
+
easing: Easing.bezier(0.4, 0, 0.2, 1),
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
// dashboard 内容运动:20–100f 匀速漂移,100–130f 归位到全屏
|
|
26
|
+
const driftX = interpolate(f, [20, 100], [110, -110], clamp);
|
|
27
|
+
const dx = f < 100 ? driftX : interpolate(endT, [0, 1], [-110, 0]);
|
|
28
|
+
const dashS = interpolate(endT, [0, 1], [1.15, 1]);
|
|
29
|
+
|
|
30
|
+
// mask 层放大(内容层反向抵消,dashboard 不跟着几何畸变)
|
|
31
|
+
const maskS = interpolate(endT, [0, 1], [1, 26]);
|
|
32
|
+
// 无遮罩全屏层淡入,保证接管彻底
|
|
33
|
+
const cover = interpolate(endT, [0.25, 0.9], [0, 1], clamp);
|
|
34
|
+
// 底部小注释:撤场时淡出
|
|
35
|
+
const caption = interpolate(f, [100, 114], [1, 0], clamp);
|
|
36
|
+
|
|
37
|
+
const dashMotion: React.CSSProperties = {
|
|
38
|
+
position: 'absolute',
|
|
39
|
+
inset: 0,
|
|
40
|
+
transform: `translateX(${dx}px) scale(${dashS})`,
|
|
41
|
+
transformOrigin: '50% 50%',
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
return (
|
|
45
|
+
<div style={{ width: 1920, height: 1080, background: G.ink, position: 'relative', overflow: 'hidden' }}>
|
|
46
|
+
{/* 遮罩层:wrapper 负责 mask + 放大;inner 用 1/S 反向缩放抵消内容形变 */}
|
|
47
|
+
<div
|
|
48
|
+
style={{
|
|
49
|
+
position: 'absolute',
|
|
50
|
+
inset: 0,
|
|
51
|
+
transform: `scale(${maskS})`,
|
|
52
|
+
transformOrigin: ORIGIN,
|
|
53
|
+
WebkitMaskImage: MASK_URL,
|
|
54
|
+
maskImage: MASK_URL,
|
|
55
|
+
WebkitMaskRepeat: 'no-repeat',
|
|
56
|
+
maskRepeat: 'no-repeat',
|
|
57
|
+
WebkitMaskSize: '1920px 1080px',
|
|
58
|
+
maskSize: '1920px 1080px',
|
|
59
|
+
}}
|
|
60
|
+
>
|
|
61
|
+
<div style={{ position: 'absolute', inset: 0, transform: `scale(${1 / maskS})`, transformOrigin: ORIGIN }}>
|
|
62
|
+
<div style={dashMotion}>
|
|
63
|
+
<FakeDashboard variant="A" />
|
|
64
|
+
</div>
|
|
65
|
+
</div>
|
|
66
|
+
</div>
|
|
67
|
+
|
|
68
|
+
{/* 接管层:同一运动变换的全屏 dashboard,撤场时淡入到 1 */}
|
|
69
|
+
<div style={{ position: 'absolute', inset: 0, opacity: cover }}>
|
|
70
|
+
<div style={dashMotion}>
|
|
71
|
+
<FakeDashboard variant="A" />
|
|
72
|
+
</div>
|
|
73
|
+
</div>
|
|
74
|
+
|
|
75
|
+
{/* 底部小注释 */}
|
|
76
|
+
<div
|
|
77
|
+
style={{
|
|
78
|
+
position: 'absolute',
|
|
79
|
+
bottom: 90,
|
|
80
|
+
width: '100%',
|
|
81
|
+
textAlign: 'center',
|
|
82
|
+
fontFamily: 'Helvetica, Arial, sans-serif',
|
|
83
|
+
fontWeight: 700,
|
|
84
|
+
fontSize: 30,
|
|
85
|
+
letterSpacing: 10,
|
|
86
|
+
color: G.mid,
|
|
87
|
+
opacity: caption,
|
|
88
|
+
}}
|
|
89
|
+
>
|
|
90
|
+
TEXT AS MASK
|
|
91
|
+
</div>
|
|
92
|
+
</div>
|
|
93
|
+
);
|
|
94
|
+
};
|