hyper-animator-codex 0.7.1 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +51 -3
- package/bin/hyper-animator-codex.mjs +1 -1
- package/lib/minimax-config.mjs +3 -3
- package/package.json +1 -1
- 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,171 @@
|
|
|
1
|
+
// 组合:长卷急刹 × 准星咬合(brake-reticle-lock)
|
|
2
|
+
// changelog 长列表从下往上高速掠过(加速冲刺→9f 猛减速带 30px 超调回弹),
|
|
3
|
+
// 急刹帧(BRAKE=59)同帧四个 L 形角标从画外四个方向飞入,back-out 超调咬合
|
|
4
|
+
// 锁定停点条目四角;条目同步高亮 + 右侧弹出小标签。
|
|
5
|
+
// 组合命门:角标咬合帧与列表急刹帧必须同帧共振(都在 f=59 起跳),错开即退化。
|
|
6
|
+
// 关键帧:0–12 初始静置 → 12–50 加速冲刺(速度段 blur)→ 50–59 猛减速超调 →
|
|
7
|
+
// 59 急刹+角标飞入 → 59–72 咬合回弹/高亮/标签 → 75–150 真静止 75f。
|
|
8
|
+
// 帧确定,无随机源。
|
|
9
|
+
import React from 'react';
|
|
10
|
+
import { useCurrentFrame, interpolate, Easing } from 'remotion';
|
|
11
|
+
import { G } from '../_fixtures/Fixtures';
|
|
12
|
+
|
|
13
|
+
const SCROLL_START = 12;
|
|
14
|
+
const BRAKE = 59;
|
|
15
|
+
const DUR = 150;
|
|
16
|
+
|
|
17
|
+
const PITCH = 156; // 行高 120 + 间距 36
|
|
18
|
+
const ROW_H = 120;
|
|
19
|
+
const TARGET_ROW = 30;
|
|
20
|
+
const FINAL_SCROLL = TARGET_ROW * PITCH - 480; // 停点条目 top 落在屏幕 y=480
|
|
21
|
+
const LIST_X = 360;
|
|
22
|
+
const LIST_W = 1200;
|
|
23
|
+
|
|
24
|
+
// 滚动位置:12–50 加速冲刺(sin-in,越滚越快)→ 50–59 猛减速冲过头 30px →
|
|
25
|
+
// 59–63 回弹落定。59 帧为急刹帧(首次停住/反向)。
|
|
26
|
+
const scrollAt = (f: number): number => {
|
|
27
|
+
if (f <= SCROLL_START) return 0;
|
|
28
|
+
if (f <= 50) {
|
|
29
|
+
return interpolate(f, [SCROLL_START, 50], [0, FINAL_SCROLL - 430], {
|
|
30
|
+
easing: Easing.in(Easing.sin),
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
if (f <= BRAKE) {
|
|
34
|
+
return interpolate(f, [50, BRAKE], [FINAL_SCROLL - 430, FINAL_SCROLL + 30], {
|
|
35
|
+
easing: Easing.out(Easing.cubic),
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
return interpolate(f, [BRAKE, BRAKE + 4], [FINAL_SCROLL + 30, FINAL_SCROLL], {
|
|
39
|
+
extrapolateRight: 'clamp',
|
|
40
|
+
easing: Easing.out(Easing.quad),
|
|
41
|
+
});
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
// 一行 changelog:图标块 + 标题条 + 尾部日期条,宽度由行号确定(帧确定)
|
|
45
|
+
const Row: React.FC<{ i: number; highlight: number }> = ({ i, highlight }) => (
|
|
46
|
+
<div
|
|
47
|
+
style={{
|
|
48
|
+
position: 'absolute',
|
|
49
|
+
top: i * PITCH,
|
|
50
|
+
left: 0,
|
|
51
|
+
width: LIST_W,
|
|
52
|
+
height: ROW_H,
|
|
53
|
+
background: highlight > 0 ? '#ffffff' : G.card,
|
|
54
|
+
border: `${highlight > 0 ? 3 : 2}px solid ${highlight > 0 ? G.ink : G.border}`,
|
|
55
|
+
borderRadius: 14,
|
|
56
|
+
display: 'flex',
|
|
57
|
+
alignItems: 'center',
|
|
58
|
+
gap: 24,
|
|
59
|
+
padding: '0 28px',
|
|
60
|
+
boxSizing: 'border-box',
|
|
61
|
+
boxShadow: highlight > 0 ? `0 10px 34px rgba(0,0,0,${0.2 * highlight})` : 'none',
|
|
62
|
+
}}
|
|
63
|
+
>
|
|
64
|
+
<div style={{ width: 44, height: 44, borderRadius: 10, background: G.mid }} />
|
|
65
|
+
<div style={{ height: 14, width: `${28 + ((i * 31) % 34)}%`, background: G.bar, borderRadius: 7 }} />
|
|
66
|
+
<div style={{ height: 10, width: `${12 + ((i * 17) % 18)}%`, background: G.line, borderRadius: 5 }} />
|
|
67
|
+
<div style={{ marginLeft: 'auto', height: 12, width: 120, background: G.line, borderRadius: 6 }} />
|
|
68
|
+
</div>
|
|
69
|
+
);
|
|
70
|
+
|
|
71
|
+
// L 形角标:两条粗边组成的直角
|
|
72
|
+
const Corner: React.FC<{ flip: [number, number]; style: React.CSSProperties }> = ({ flip, style }) => (
|
|
73
|
+
<div style={{ position: 'absolute', width: 46, height: 46, transform: `scale(${flip[0]}, ${flip[1]})`, ...style }}>
|
|
74
|
+
<div style={{ position: 'absolute', left: 0, top: 0, width: 46, height: 8, background: G.ink, borderRadius: 3 }} />
|
|
75
|
+
<div style={{ position: 'absolute', left: 0, top: 0, width: 8, height: 46, background: G.ink, borderRadius: 3 }} />
|
|
76
|
+
</div>
|
|
77
|
+
);
|
|
78
|
+
|
|
79
|
+
export const BrakeReticleLock: React.FC = () => {
|
|
80
|
+
const f = useCurrentFrame();
|
|
81
|
+
const scroll = scrollAt(f);
|
|
82
|
+
|
|
83
|
+
// 速度段 blur:由相邻帧位移决定,冲刺段全糊,刹停即清晰
|
|
84
|
+
const v = Math.abs(scroll - scrollAt(Math.max(0, f - 1)));
|
|
85
|
+
const blur = Math.min(v * 0.12, 24);
|
|
86
|
+
|
|
87
|
+
// 急刹帧起:高亮 0→1(6f),标签 63f 弹出
|
|
88
|
+
const highlight = interpolate(f, [BRAKE, BRAKE + 6], [0, 1], {
|
|
89
|
+
extrapolateLeft: 'clamp',
|
|
90
|
+
extrapolateRight: 'clamp',
|
|
91
|
+
});
|
|
92
|
+
|
|
93
|
+
// 角标:急刹帧同帧从画外四方向飞入,back-out 超调咬合(59–68f)
|
|
94
|
+
const lockT = interpolate(f, [BRAKE, BRAKE + 9], [0, 1], {
|
|
95
|
+
extrapolateLeft: 'clamp',
|
|
96
|
+
extrapolateRight: 'clamp',
|
|
97
|
+
easing: Easing.out(Easing.back(2.4)),
|
|
98
|
+
});
|
|
99
|
+
const fly = 1 - lockT; // 1=画外 0=咬合到位
|
|
100
|
+
|
|
101
|
+
// 停点条目屏幕坐标(落定后 top=480)
|
|
102
|
+
const rowTop = TARGET_ROW * PITCH - scroll;
|
|
103
|
+
const GAP = 10; // 咬合位:角外扩 10px
|
|
104
|
+
const rect = { x: LIST_X - GAP, y: rowTop - GAP, w: LIST_W + GAP * 2, h: ROW_H + GAP * 2 };
|
|
105
|
+
|
|
106
|
+
const corners: Array<{ x: number; y: number; fromX: number; fromY: number; flip: [number, number] }> = [
|
|
107
|
+
{ x: rect.x - 23, y: rect.y - 23, fromX: -620, fromY: -320, flip: [1, 1] },
|
|
108
|
+
{ x: rect.x + rect.w - 23, y: rect.y - 23, fromX: 620, fromY: -320, flip: [-1, 1] },
|
|
109
|
+
{ x: rect.x - 23, y: rect.y + rect.h - 23, fromX: -620, fromY: 320, flip: [1, -1] },
|
|
110
|
+
{ x: rect.x + rect.w - 23, y: rect.y + rect.h - 23, fromX: 620, fromY: 320, flip: [-1, -1] },
|
|
111
|
+
];
|
|
112
|
+
|
|
113
|
+
// 小标签:63f 从条目右侧弹出(超调)
|
|
114
|
+
const tagT = interpolate(f, [BRAKE + 4, BRAKE + 12], [0, 1], {
|
|
115
|
+
extrapolateLeft: 'clamp',
|
|
116
|
+
extrapolateRight: 'clamp',
|
|
117
|
+
easing: Easing.out(Easing.back(2.6)),
|
|
118
|
+
});
|
|
119
|
+
|
|
120
|
+
return (
|
|
121
|
+
<div style={{ width: 1920, height: 1080, background: G.bg, position: 'relative', overflow: 'hidden' }}>
|
|
122
|
+
{/* 顶栏(不随滚动) */}
|
|
123
|
+
<div style={{ position: 'absolute', top: 0, left: 0, right: 0, height: 72, background: G.panel, borderBottom: `2px solid ${G.line}`, display: 'flex', alignItems: 'center', padding: '0 32px', gap: 20, boxSizing: 'border-box', zIndex: 3 }}>
|
|
124
|
+
<div style={{ height: 18, width: 220, background: G.bar, borderRadius: 9 }} />
|
|
125
|
+
<div style={{ marginLeft: 'auto', width: 36, height: 36, borderRadius: 18, background: G.mid }} />
|
|
126
|
+
</div>
|
|
127
|
+
|
|
128
|
+
{/* changelog 长列表:整体上掠,速度段 blur */}
|
|
129
|
+
<div style={{ position: 'absolute', left: LIST_X, top: 0, width: LIST_W, height: 1080, filter: blur > 0.5 ? `blur(${blur}px)` : 'none' }}>
|
|
130
|
+
<div style={{ position: 'absolute', top: -scroll, left: 0, width: LIST_W, height: 40 * PITCH }}>
|
|
131
|
+
{Array.from({ length: 38 }).map((_, i) => (
|
|
132
|
+
<Row key={i} i={i} highlight={i === TARGET_ROW ? highlight : 0} />
|
|
133
|
+
))}
|
|
134
|
+
</div>
|
|
135
|
+
</div>
|
|
136
|
+
|
|
137
|
+
{/* 准星角标:急刹帧同帧挂载(组合命门:与刹停同帧共振) */}
|
|
138
|
+
{f >= BRAKE &&
|
|
139
|
+
corners.map((c, i) => (
|
|
140
|
+
<Corner
|
|
141
|
+
key={i}
|
|
142
|
+
flip={c.flip}
|
|
143
|
+
style={{ left: c.x + c.fromX * fly, top: c.y + c.fromY * fly, opacity: Math.min(1, lockT * 3 + 0.35) }}
|
|
144
|
+
/>
|
|
145
|
+
))}
|
|
146
|
+
|
|
147
|
+
{/* 旁弹小标签 */}
|
|
148
|
+
{f >= BRAKE + 4 && (
|
|
149
|
+
<div
|
|
150
|
+
style={{
|
|
151
|
+
position: 'absolute',
|
|
152
|
+
left: rect.x + rect.w + 28,
|
|
153
|
+
top: rect.y + rect.h / 2 - 27,
|
|
154
|
+
transform: `scale(${tagT})`,
|
|
155
|
+
transformOrigin: 'left center',
|
|
156
|
+
padding: '12px 26px',
|
|
157
|
+
borderRadius: 27,
|
|
158
|
+
background: G.ink,
|
|
159
|
+
color: '#ffffff',
|
|
160
|
+
fontFamily: 'Helvetica, Arial, sans-serif',
|
|
161
|
+
fontWeight: 800,
|
|
162
|
+
fontSize: 26,
|
|
163
|
+
letterSpacing: 0.5,
|
|
164
|
+
}}
|
|
165
|
+
>
|
|
166
|
+
v2.41
|
|
167
|
+
</div>
|
|
168
|
+
)}
|
|
169
|
+
</div>
|
|
170
|
+
);
|
|
171
|
+
};
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
// changelog-scroll-brake —— Changelog 长卷急刹
|
|
2
|
+
// ~34 行灰阶条目(行高错落)从下往上高速掠过(easeOutExpo 指数减速),
|
|
3
|
+
// 高速段叠 blur(速度差分驱动,糊成色带),急刹精准停位后目标行抬升
|
|
4
|
+
// (scale 1.03 + 阴影加深)+ 高亮描边,其余行退暗。f=84 后全静止(56f)。
|
|
5
|
+
import React from 'react';
|
|
6
|
+
import { useCurrentFrame, interpolate, Easing } from 'remotion';
|
|
7
|
+
import { G } from '../_fixtures/Fixtures';
|
|
8
|
+
|
|
9
|
+
const CL = { extrapolateLeft: 'clamp', extrapolateRight: 'clamp' } as const;
|
|
10
|
+
|
|
11
|
+
// 时间轴
|
|
12
|
+
const SCROLL0 = 14; // 前 14f 初始静置(停在长卷顶部)
|
|
13
|
+
const SCROLL1 = 64; // 急刹停位帧
|
|
14
|
+
const LIFT0 = 68; // 目标行抬升开始
|
|
15
|
+
const LIFT1 = 82;
|
|
16
|
+
|
|
17
|
+
const COL_W = 1000;
|
|
18
|
+
const COL_X = (1920 - COL_W) / 2;
|
|
19
|
+
const GAP = 20;
|
|
20
|
+
const N = 34;
|
|
21
|
+
const TARGET = 28;
|
|
22
|
+
|
|
23
|
+
// 行高错落(帧确定性:全由 i 决定)
|
|
24
|
+
const rowH = (i: number) => 72 + ((i * 29) % 3) * 22; // 72 / 94 / 116
|
|
25
|
+
|
|
26
|
+
// 预计算每行 y
|
|
27
|
+
const rowY: number[] = [];
|
|
28
|
+
{
|
|
29
|
+
let y = 0;
|
|
30
|
+
for (let i = 0; i < N; i++) {
|
|
31
|
+
rowY.push(y);
|
|
32
|
+
y += rowH(i) + GAP;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
const TARGET_CY = rowY[TARGET] + rowH(TARGET) / 2;
|
|
36
|
+
const END_T = 540 - TARGET_CY; // 目标行停在画面正中
|
|
37
|
+
const START_T = 80; // 起始:长卷顶部略下
|
|
38
|
+
|
|
39
|
+
const scrollAt = (f: number): number =>
|
|
40
|
+
interpolate(f, [SCROLL0, SCROLL1], [START_T, END_T], {
|
|
41
|
+
easing: Easing.out(Easing.exp),
|
|
42
|
+
...CL,
|
|
43
|
+
});
|
|
44
|
+
|
|
45
|
+
const Row: React.FC<{ i: number; frame: number }> = ({ i, frame }) => {
|
|
46
|
+
const isTarget = i === TARGET;
|
|
47
|
+
const h = rowH(i);
|
|
48
|
+
const titleW = 30 + ((i * 37) % 45);
|
|
49
|
+
|
|
50
|
+
// 目标行抬升 + 高亮;其余行退暗
|
|
51
|
+
const t = interpolate(frame, [LIFT0, LIFT1], [0, 1], {
|
|
52
|
+
easing: Easing.out(Easing.cubic),
|
|
53
|
+
...CL,
|
|
54
|
+
});
|
|
55
|
+
const lift = isTarget ? t : 0;
|
|
56
|
+
const dim = isTarget ? 0 : t;
|
|
57
|
+
|
|
58
|
+
return (
|
|
59
|
+
<div
|
|
60
|
+
style={{
|
|
61
|
+
position: 'absolute',
|
|
62
|
+
left: 0,
|
|
63
|
+
top: rowY[i],
|
|
64
|
+
width: COL_W,
|
|
65
|
+
height: h,
|
|
66
|
+
background: G.card,
|
|
67
|
+
border: isTarget && lift > 0 ? `3px solid rgba(47,47,47,${lift})` : `2px solid ${G.border}`,
|
|
68
|
+
borderRadius: 14,
|
|
69
|
+
display: 'flex',
|
|
70
|
+
alignItems: 'center',
|
|
71
|
+
gap: 24,
|
|
72
|
+
padding: '0 30px',
|
|
73
|
+
boxSizing: 'border-box',
|
|
74
|
+
transform: `scale(${1 + 0.03 * lift})`,
|
|
75
|
+
boxShadow:
|
|
76
|
+
lift > 0
|
|
77
|
+
? `0 ${6 + 22 * lift}px ${16 + 44 * lift}px rgba(0,0,0,${0.08 + 0.28 * lift})`
|
|
78
|
+
: '0 2px 8px rgba(0,0,0,0.06)',
|
|
79
|
+
opacity: 1 - 0.62 * dim,
|
|
80
|
+
zIndex: isTarget ? 2 : 1,
|
|
81
|
+
}}
|
|
82
|
+
>
|
|
83
|
+
<div style={{ width: 88, height: 26, borderRadius: 13, background: isTarget ? '#4a4a48' : G.mid, flexShrink: 0 }} />
|
|
84
|
+
<div style={{ height: 16, width: `${titleW}%`, background: G.bar, borderRadius: 8 }} />
|
|
85
|
+
<div style={{ marginLeft: 'auto', height: 12, width: 110, background: G.line, borderRadius: 6, flexShrink: 0 }} />
|
|
86
|
+
</div>
|
|
87
|
+
);
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
export const ChangelogScrollBrake: React.FC = () => {
|
|
91
|
+
const frame = useCurrentFrame();
|
|
92
|
+
const T = scrollAt(frame);
|
|
93
|
+
|
|
94
|
+
// 速度差分驱动模糊:v 达 60px/f 即满 6px blur
|
|
95
|
+
const v = Math.abs(scrollAt(frame) - scrollAt(frame - 1));
|
|
96
|
+
const blur = Math.min(v / 60, 1) * 6;
|
|
97
|
+
|
|
98
|
+
return (
|
|
99
|
+
<div style={{ width: 1920, height: 1080, background: G.bg, position: 'relative', overflow: 'hidden' }}>
|
|
100
|
+
<div
|
|
101
|
+
style={{
|
|
102
|
+
position: 'absolute',
|
|
103
|
+
left: COL_X,
|
|
104
|
+
top: 0,
|
|
105
|
+
width: COL_W,
|
|
106
|
+
height: 1080,
|
|
107
|
+
transform: `translateY(${T}px)`,
|
|
108
|
+
filter: blur > 0.15 ? `blur(${blur}px)` : undefined,
|
|
109
|
+
}}
|
|
110
|
+
>
|
|
111
|
+
{Array.from({ length: N }).map((_, i) => (
|
|
112
|
+
<Row key={i} i={i} frame={frame} />
|
|
113
|
+
))}
|
|
114
|
+
</div>
|
|
115
|
+
</div>
|
|
116
|
+
);
|
|
117
|
+
};
|
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
// segmented-thumb-hero —— 分段控件 thumb 位移当叙事主角拍特写
|
|
2
|
+
// 源:perplexity-promo 2.3–5s。胶囊分段控件(Ask/Computer)带阴影浮入,
|
|
3
|
+
// 超大描边箭头光标滑入点击,白 thumb 左→右 ~8f ease-out 滑动,
|
|
4
|
+
// 到位瞬间新选项前弹出小图标、旧图标收起。
|
|
5
|
+
import React from 'react';
|
|
6
|
+
import { AbsoluteFill, useCurrentFrame, interpolate, Easing, spring, useVideoConfig } from 'remotion';
|
|
7
|
+
import { G } from '../_fixtures/Fixtures';
|
|
8
|
+
|
|
9
|
+
const FONT = 'Helvetica, Arial, sans-serif';
|
|
10
|
+
|
|
11
|
+
// 超大描边箭头光标
|
|
12
|
+
const ArrowCursor: React.FC<{ x: number; y: number; press: number }> = ({ x, y, press }) => (
|
|
13
|
+
<svg
|
|
14
|
+
width={130}
|
|
15
|
+
height={150}
|
|
16
|
+
viewBox="0 0 26 30"
|
|
17
|
+
style={{
|
|
18
|
+
position: 'absolute',
|
|
19
|
+
left: x,
|
|
20
|
+
top: y,
|
|
21
|
+
transform: `scale(${1 - press * 0.14})`,
|
|
22
|
+
transformOrigin: '15% 10%',
|
|
23
|
+
filter: 'drop-shadow(0 8px 16px rgba(0,0,0,0.25))',
|
|
24
|
+
}}
|
|
25
|
+
>
|
|
26
|
+
<path
|
|
27
|
+
d="M4 2 L4 24 L9.5 18.5 L13 27 L16.8 25.4 L13.3 17 L21 17 Z"
|
|
28
|
+
fill="#fff"
|
|
29
|
+
stroke={G.ink}
|
|
30
|
+
strokeWidth={1.8}
|
|
31
|
+
strokeLinejoin="round"
|
|
32
|
+
/>
|
|
33
|
+
</svg>
|
|
34
|
+
);
|
|
35
|
+
|
|
36
|
+
const SmileLaptop: React.FC<{ size: number }> = ({ size }) => (
|
|
37
|
+
<svg width={size} height={size} viewBox="0 0 40 40">
|
|
38
|
+
<rect x={7} y={7} width={26} height={19} rx={3} fill="none" stroke={G.ink} strokeWidth={3} />
|
|
39
|
+
<circle cx={15.5} cy={14.5} r={1.9} fill={G.ink} />
|
|
40
|
+
<circle cx={24.5} cy={14.5} r={1.9} fill={G.ink} />
|
|
41
|
+
<path d="M14.5 19 Q20 23.5 25.5 19" stroke={G.ink} strokeWidth={2.6} fill="none" strokeLinecap="round" />
|
|
42
|
+
<path d="M4 31 L36 31" stroke={G.ink} strokeWidth={3.4} strokeLinecap="round" />
|
|
43
|
+
</svg>
|
|
44
|
+
);
|
|
45
|
+
|
|
46
|
+
const AskIcon: React.FC<{ size: number }> = ({ size }) => (
|
|
47
|
+
<svg width={size} height={size} viewBox="0 0 40 40">
|
|
48
|
+
<circle cx={20} cy={20} r={13} fill="none" stroke={G.ink} strokeWidth={3} />
|
|
49
|
+
<path d="M16 17 q0-5 4.5-5 q4.5 0 4.5 4.2 q0 3-3.4 4.4 q-1.6 0.7-1.6 2.6" stroke={G.ink} strokeWidth={2.8} fill="none" strokeLinecap="round" />
|
|
50
|
+
<circle cx={20} cy={28} r={1.8} fill={G.ink} />
|
|
51
|
+
</svg>
|
|
52
|
+
);
|
|
53
|
+
|
|
54
|
+
export const SegmentedThumbHero: React.FC = () => {
|
|
55
|
+
const frame = useCurrentFrame();
|
|
56
|
+
const { fps } = useVideoConfig();
|
|
57
|
+
|
|
58
|
+
// ---- 时间轴 ----
|
|
59
|
+
const FLOAT_IN = 0; // 控件浮入 0–18
|
|
60
|
+
const CURSOR_IN = 20; // 光标滑入 20–44
|
|
61
|
+
const CLICK = 48; // 按下
|
|
62
|
+
const SLIDE = 52; // thumb 开始滑 52–60 (~8f)
|
|
63
|
+
const SLIDE_END = 60;
|
|
64
|
+
|
|
65
|
+
// 控件浮入:从下 160px 带阴影弹簧浮入
|
|
66
|
+
const floatT = spring({ frame: frame - FLOAT_IN, fps, config: { damping: 14, stiffness: 120, mass: 0.9 } });
|
|
67
|
+
const ctrlY = interpolate(floatT, [0, 1], [200, 0]);
|
|
68
|
+
|
|
69
|
+
// 控件几何(特写尺寸)
|
|
70
|
+
const CW = 1080; // 控件宽
|
|
71
|
+
const CH = 220;
|
|
72
|
+
const PAD = 16;
|
|
73
|
+
const SEGW = (CW - PAD * 2) / 2;
|
|
74
|
+
|
|
75
|
+
// 光标滑入:ease-out 从右下画外飘到 Computer 段上
|
|
76
|
+
const curT = interpolate(frame, [CURSOR_IN, CURSOR_IN + 24], [0, 1], {
|
|
77
|
+
extrapolateLeft: 'clamp',
|
|
78
|
+
extrapolateRight: 'clamp',
|
|
79
|
+
easing: Easing.out(Easing.cubic),
|
|
80
|
+
});
|
|
81
|
+
const curX = interpolate(curT, [0, 1], [1780, 1210]);
|
|
82
|
+
const curY = interpolate(curT, [0, 1], [1020, 620]);
|
|
83
|
+
// 按下动作
|
|
84
|
+
const press = interpolate(frame, [CLICK, CLICK + 3, CLICK + 7], [0, 1, 0], {
|
|
85
|
+
extrapolateLeft: 'clamp',
|
|
86
|
+
extrapolateRight: 'clamp',
|
|
87
|
+
});
|
|
88
|
+
|
|
89
|
+
// thumb 位移:~8f ease-out
|
|
90
|
+
const thumbT = interpolate(frame, [SLIDE, SLIDE_END], [0, 1], {
|
|
91
|
+
extrapolateLeft: 'clamp',
|
|
92
|
+
extrapolateRight: 'clamp',
|
|
93
|
+
easing: Easing.out(Easing.cubic),
|
|
94
|
+
});
|
|
95
|
+
const thumbX = PAD + thumbT * SEGW;
|
|
96
|
+
|
|
97
|
+
// 到位瞬间:Computer 图标弹出(过冲),Ask 图标收起
|
|
98
|
+
const iconIn = spring({ frame: frame - SLIDE_END, fps, config: { damping: 10, stiffness: 220, mass: 0.6 } });
|
|
99
|
+
const laptopScale = frame >= SLIDE_END ? iconIn : 0;
|
|
100
|
+
const askScale = interpolate(frame, [SLIDE, SLIDE + 6], [1, 0], {
|
|
101
|
+
extrapolateLeft: 'clamp',
|
|
102
|
+
extrapolateRight: 'clamp',
|
|
103
|
+
easing: Easing.in(Easing.cubic),
|
|
104
|
+
});
|
|
105
|
+
|
|
106
|
+
// 点击涟漪
|
|
107
|
+
const rippleT = interpolate(frame, [CLICK, CLICK + 12], [0, 1], {
|
|
108
|
+
extrapolateLeft: 'clamp',
|
|
109
|
+
extrapolateRight: 'clamp',
|
|
110
|
+
easing: Easing.out(Easing.quad),
|
|
111
|
+
});
|
|
112
|
+
|
|
113
|
+
const labelStyle = (active: boolean): React.CSSProperties => ({
|
|
114
|
+
fontFamily: FONT,
|
|
115
|
+
fontWeight: 700,
|
|
116
|
+
fontSize: 72,
|
|
117
|
+
color: active ? G.ink : G.mid,
|
|
118
|
+
transition: 'none',
|
|
119
|
+
display: 'flex',
|
|
120
|
+
alignItems: 'center',
|
|
121
|
+
justifyContent: 'center',
|
|
122
|
+
gap: 22,
|
|
123
|
+
width: SEGW,
|
|
124
|
+
height: CH - PAD * 2,
|
|
125
|
+
position: 'relative',
|
|
126
|
+
zIndex: 2,
|
|
127
|
+
});
|
|
128
|
+
|
|
129
|
+
const askActive = thumbT < 0.5;
|
|
130
|
+
|
|
131
|
+
return (
|
|
132
|
+
<AbsoluteFill style={{ background: G.bg, alignItems: 'center', justifyContent: 'center' }}>
|
|
133
|
+
{/* 分段控件 */}
|
|
134
|
+
<div
|
|
135
|
+
style={{
|
|
136
|
+
width: CW,
|
|
137
|
+
height: CH,
|
|
138
|
+
borderRadius: CH / 2,
|
|
139
|
+
background: '#e4e4e2',
|
|
140
|
+
border: `3px solid ${G.border}`,
|
|
141
|
+
boxShadow: `0 ${24 - floatT * 12}px ${70 - floatT * 20}px rgba(0,0,0,0.22)`,
|
|
142
|
+
transform: `translateY(${ctrlY}px)`,
|
|
143
|
+
opacity: Math.min(1, floatT * 1.5),
|
|
144
|
+
position: 'relative',
|
|
145
|
+
display: 'flex',
|
|
146
|
+
alignItems: 'center',
|
|
147
|
+
padding: PAD,
|
|
148
|
+
boxSizing: 'border-box',
|
|
149
|
+
}}
|
|
150
|
+
>
|
|
151
|
+
{/* 白色 thumb */}
|
|
152
|
+
<div
|
|
153
|
+
style={{
|
|
154
|
+
position: 'absolute',
|
|
155
|
+
left: thumbX,
|
|
156
|
+
top: PAD,
|
|
157
|
+
width: SEGW,
|
|
158
|
+
height: CH - PAD * 2,
|
|
159
|
+
borderRadius: (CH - PAD * 2) / 2,
|
|
160
|
+
background: '#fff',
|
|
161
|
+
boxShadow: '0 6px 20px rgba(0,0,0,0.18)',
|
|
162
|
+
zIndex: 1,
|
|
163
|
+
}}
|
|
164
|
+
/>
|
|
165
|
+
{/* 点击涟漪 */}
|
|
166
|
+
{rippleT > 0 && rippleT < 1 && (
|
|
167
|
+
<div
|
|
168
|
+
style={{
|
|
169
|
+
position: 'absolute',
|
|
170
|
+
left: PAD + SEGW + SEGW / 2 - 130 * rippleT,
|
|
171
|
+
top: CH / 2 - PAD - 130 * rippleT + (CH - PAD * 2) / 2 - (CH / 2 - PAD),
|
|
172
|
+
width: 260 * rippleT,
|
|
173
|
+
height: 260 * rippleT,
|
|
174
|
+
borderRadius: '50%',
|
|
175
|
+
border: `4px solid ${G.mid}`,
|
|
176
|
+
opacity: 1 - rippleT,
|
|
177
|
+
zIndex: 3,
|
|
178
|
+
}}
|
|
179
|
+
/>
|
|
180
|
+
)}
|
|
181
|
+
{/* Ask 段 */}
|
|
182
|
+
<div style={labelStyle(askActive)}>
|
|
183
|
+
<span
|
|
184
|
+
style={{
|
|
185
|
+
display: 'inline-flex',
|
|
186
|
+
transform: `scale(${askScale})`,
|
|
187
|
+
width: askScale < 0.05 ? 0 : 78,
|
|
188
|
+
overflow: 'visible',
|
|
189
|
+
}}
|
|
190
|
+
>
|
|
191
|
+
<AskIcon size={78} />
|
|
192
|
+
</span>
|
|
193
|
+
Ask
|
|
194
|
+
</div>
|
|
195
|
+
{/* Computer 段 */}
|
|
196
|
+
<div style={labelStyle(!askActive)}>
|
|
197
|
+
<span
|
|
198
|
+
style={{
|
|
199
|
+
display: 'inline-flex',
|
|
200
|
+
transform: `scale(${laptopScale})`,
|
|
201
|
+
width: laptopScale < 0.05 ? 0 : 78,
|
|
202
|
+
overflow: 'visible',
|
|
203
|
+
}}
|
|
204
|
+
>
|
|
205
|
+
<SmileLaptop size={78} />
|
|
206
|
+
</span>
|
|
207
|
+
Computer
|
|
208
|
+
</div>
|
|
209
|
+
</div>
|
|
210
|
+
<ArrowCursor x={curX} y={curY} press={press} />
|
|
211
|
+
</AbsoluteFill>
|
|
212
|
+
);
|
|
213
|
+
};
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
// mask-wipe 元素遮罩擦除(轮 D)——真实项目卡(card4-hires)放大成
|
|
2
|
+
// 全屏窗口,projects 全景从窗内长出接管:"点开一张卡进入它的世界"。
|
|
3
|
+
// 节拍:0–40 全景 hold → 40–85 卡放大成窗(窗内新景反向补偿)→ 85–120 hold。
|
|
4
|
+
import { AbsoluteFill, Img, interpolate, staticFile, useCurrentFrame, Easing } from 'remotion';
|
|
5
|
+
import layout from '../_textures/live-layout.json';
|
|
6
|
+
|
|
7
|
+
export const MASKWIPE_DUR = 120;
|
|
8
|
+
|
|
9
|
+
const C4 = layout.projects.cards[3]; // 页面空间 x=781,y=616,w=357,h=312
|
|
10
|
+
const VIEW_Y = 180; // 全景观察窗:页面 y=180 起
|
|
11
|
+
|
|
12
|
+
export const MaskWipeReal: React.FC = () => {
|
|
13
|
+
const frame = useCurrentFrame();
|
|
14
|
+
const t = interpolate(frame, [40, 85], [0, 1], {
|
|
15
|
+
extrapolateLeft: 'clamp', extrapolateRight: 'clamp',
|
|
16
|
+
easing: Easing.bezier(0.5, 0, 0.2, 1),
|
|
17
|
+
});
|
|
18
|
+
// 卡在屏幕空间的初始 geometry(全景视口下)
|
|
19
|
+
const g0 = { x: C4.x, y: C4.y - VIEW_Y, w: C4.w, h: C4.h, r: 12 };
|
|
20
|
+
const x = interpolate(t, [0, 1], [g0.x, 0]);
|
|
21
|
+
const y = interpolate(t, [0, 1], [g0.y, 0]);
|
|
22
|
+
const w = interpolate(t, [0, 1], [g0.w, 1920]);
|
|
23
|
+
const h = interpolate(t, [0, 1], [g0.h, 1080]);
|
|
24
|
+
const r = interpolate(t, [0, 1], [g0.r, 0]);
|
|
25
|
+
// 窗内新景(detail 视角用 papers 页顶部模拟):从 0.42 缩放反向长到 1
|
|
26
|
+
const innerScale = interpolate(t, [0, 1], [0.42, 1]);
|
|
27
|
+
return (
|
|
28
|
+
<AbsoluteFill style={{ backgroundColor: '#f9f6f1', overflow: 'hidden' }}>
|
|
29
|
+
{/* 背景:projects 全景 */}
|
|
30
|
+
<Img
|
|
31
|
+
src={staticFile('textures/live/projects-full.png')}
|
|
32
|
+
style={{ position: 'absolute', left: 0, top: -VIEW_Y, width: 1920 }}
|
|
33
|
+
/>
|
|
34
|
+
{/* 卡片即窗口 */}
|
|
35
|
+
<div
|
|
36
|
+
style={{
|
|
37
|
+
position: 'absolute', left: x, top: y, width: w, height: h,
|
|
38
|
+
borderRadius: r, overflow: 'hidden',
|
|
39
|
+
boxShadow: t > 0 && t < 1 ? '0 16px 56px rgba(31,28,23,0.25)' : 'none',
|
|
40
|
+
}}
|
|
41
|
+
>
|
|
42
|
+
{/* 窗内新景:projects 页深部(detail 语义),反向补偿铺满 */}
|
|
43
|
+
<div
|
|
44
|
+
style={{
|
|
45
|
+
position: 'absolute', width: 1920, height: 1080,
|
|
46
|
+
left: '50%', top: '50%',
|
|
47
|
+
transform: `translate(-50%, -50%) scale(${innerScale})`,
|
|
48
|
+
overflow: 'hidden', background: '#f9f6f1',
|
|
49
|
+
}}
|
|
50
|
+
>
|
|
51
|
+
<Img
|
|
52
|
+
src={staticFile('textures/live/projects-full.png')}
|
|
53
|
+
style={{ position: 'absolute', left: 0, top: -846, width: 1920 }}
|
|
54
|
+
/>
|
|
55
|
+
</div>
|
|
56
|
+
{/* 卡片脸:随放大渐隐露出窗内景 */}
|
|
57
|
+
<Img
|
|
58
|
+
src={staticFile('textures/live/card4-hires.png')}
|
|
59
|
+
style={{
|
|
60
|
+
position: 'absolute', inset: 0, width: '100%', height: '100%',
|
|
61
|
+
opacity: Math.max(0, 1 - t * 2.2),
|
|
62
|
+
}}
|
|
63
|
+
/>
|
|
64
|
+
</div>
|
|
65
|
+
</AbsoluteFill>
|
|
66
|
+
);
|
|
67
|
+
};
|