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,401 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import {AbsoluteFill, interpolate, useCurrentFrame} from 'remotion';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* DatavizLandscapeOpen — 暗场支流线束地景开场
|
|
6
|
+
* 配方卡: references/shots/dataviz-landscape-open.md
|
|
7
|
+
*
|
|
8
|
+
* 隐喻: 无数团队工作流(支流)汇成一个产品(主干)。
|
|
9
|
+
* 三层景深: 近景大虚焦流过 / 中景标签清晰可读 / 远景渐隐。
|
|
10
|
+
* 相机: 低速匀稳横移 + 视差 + 极缓 zoom, 收尾不急刹。
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
const W = 1920;
|
|
14
|
+
const H = 1080;
|
|
15
|
+
const DUR = 165; // 5.5s @30fps
|
|
16
|
+
const WORLD_W = 4200;
|
|
17
|
+
|
|
18
|
+
// ---------- easing ----------
|
|
19
|
+
const outCubic = (t: number) => 1 - Math.pow(1 - t, 3);
|
|
20
|
+
|
|
21
|
+
const growth = (frame: number, start: number, dur: number) => {
|
|
22
|
+
const t = Math.min(1, Math.max(0, (frame - start) / dur));
|
|
23
|
+
return outCubic(t);
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
// ---------- geometry ----------
|
|
27
|
+
type Pt = {x: number; y: number};
|
|
28
|
+
|
|
29
|
+
// 主干: 缓和的水系曲线 (世界坐标)
|
|
30
|
+
const trunkY = (x: number) => 480 + 55 * Math.sin((x - 300) / 1050);
|
|
31
|
+
const trunkSlope = (x: number) => (55 / 1050) * Math.cos((x - 300) / 1050);
|
|
32
|
+
|
|
33
|
+
const trunkPath = () => {
|
|
34
|
+
const pts: string[] = [];
|
|
35
|
+
for (let x = -300; x <= WORLD_W + 100; x += 50) {
|
|
36
|
+
pts.push(`${x === -300 ? 'M' : 'L'} ${x} ${trunkY(x).toFixed(1)}`);
|
|
37
|
+
}
|
|
38
|
+
return pts.join(' ');
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
// 三次贝塞尔求值 (用于把标签钉在线上)
|
|
42
|
+
const cubicAt = (p0: Pt, p1: Pt, p2: Pt, p3: Pt, t: number): Pt => {
|
|
43
|
+
const u = 1 - t;
|
|
44
|
+
return {
|
|
45
|
+
x: u * u * u * p0.x + 3 * u * u * t * p1.x + 3 * u * t * t * p2.x + t * t * t * p3.x,
|
|
46
|
+
y: u * u * u * p0.y + 3 * u * u * t * p1.y + 3 * u * t * t * p2.y + t * t * t * p3.y,
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
// 支流: 起点在深处四散, 以切向汇入主干 (切线连续)
|
|
51
|
+
type Trib = {p0: Pt; p1: Pt; p2: Pt; p3: Pt; opacity: number; growStart: number; growDur: number};
|
|
52
|
+
|
|
53
|
+
const makeTrib = (
|
|
54
|
+
start: Pt,
|
|
55
|
+
mergeX: number,
|
|
56
|
+
opacity: number,
|
|
57
|
+
growStart: number,
|
|
58
|
+
growDur: number,
|
|
59
|
+
): Trib => {
|
|
60
|
+
const end: Pt = {x: mergeX, y: trunkY(mergeX)};
|
|
61
|
+
const slope = trunkSlope(mergeX);
|
|
62
|
+
const len = Math.hypot(1, slope);
|
|
63
|
+
// P2 沿主干切线反向后退 => 到达时切线连续
|
|
64
|
+
const p2: Pt = {x: end.x - (330 * 1) / len, y: end.y - (330 * slope) / len};
|
|
65
|
+
const p1: Pt = {
|
|
66
|
+
x: start.x + (end.x - start.x) * 0.35,
|
|
67
|
+
y: start.y + (end.y - start.y) * 0.12,
|
|
68
|
+
};
|
|
69
|
+
return {p0: start, p1, p2, p3: end, opacity, growStart, growDur};
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
// 中景支流 6 条 (主角层), 错峰 4–6f
|
|
73
|
+
const MID_TRIBS: Trib[] = [
|
|
74
|
+
makeTrib({x: -380, y: 130}, 1020, 0.62, 6, 32),
|
|
75
|
+
makeTrib({x: -260, y: 880}, 1180, 0.55, 10, 32),
|
|
76
|
+
makeTrib({x: -60, y: 40}, 1330, 0.7, 15, 32),
|
|
77
|
+
makeTrib({x: 60, y: 960}, 1500, 0.5, 19, 32),
|
|
78
|
+
makeTrib({x: 320, y: 210}, 1680, 0.6, 24, 32),
|
|
79
|
+
makeTrib({x: 420, y: 790}, 1840, 0.55, 30, 32),
|
|
80
|
+
];
|
|
81
|
+
|
|
82
|
+
const tribPath = (t: Trib) =>
|
|
83
|
+
`M ${t.p0.x} ${t.p0.y} C ${t.p1.x} ${t.p1.y}, ${t.p2.x} ${t.p2.y}, ${t.p3.x} ${t.p3.y}`;
|
|
84
|
+
|
|
85
|
+
// 远景 4 条: 更细更暗, 向更深处的远点收拢
|
|
86
|
+
// (控制点形式, 供节点标记取样——卡"视差可见性": 特征点穿过画面)
|
|
87
|
+
type FarLine = {p0: Pt; p1: Pt; p2: Pt; p3: Pt; growStart: number; growDur: number; op: number};
|
|
88
|
+
const FAR_LINES: FarLine[] = [
|
|
89
|
+
{p0: {x: -300, y: 260}, p1: {x: 700, y: 250}, p2: {x: 2400, y: 330}, p3: {x: 3400, y: 490}, growStart: 12, growDur: 36, op: 0.3},
|
|
90
|
+
{p0: {x: -200, y: 700}, p1: {x: 800, y: 690}, p2: {x: 2500, y: 610}, p3: {x: 3450, y: 492}, growStart: 16, growDur: 36, op: 0.26},
|
|
91
|
+
{p0: {x: -350, y: 400}, p1: {x: 900, y: 390}, p2: {x: 2600, y: 420}, p3: {x: 3500, y: 493}, growStart: 22, growDur: 36, op: 0.33},
|
|
92
|
+
{p0: {x: -250, y: 590}, p1: {x: 850, y: 600}, p2: {x: 2650, y: 560}, p3: {x: 3520, y: 494}, growStart: 27, growDur: 36, op: 0.24},
|
|
93
|
+
];
|
|
94
|
+
const farPath = (l: FarLine) =>
|
|
95
|
+
`M ${l.p0.x} ${l.p0.y} C ${l.p1.x} ${l.p1.y}, ${l.p2.x} ${l.p2.y}, ${l.p3.x} ${l.p3.y}`;
|
|
96
|
+
// 远景节点标记: 每条线 3 枚暗点, 随层平移穿过画面 → 视差可辨
|
|
97
|
+
const FAR_NODE_TS = [0.28, 0.55, 0.82];
|
|
98
|
+
|
|
99
|
+
// 近景: 大虚焦斜向流过前景 (与横移运动方向成明显角度——
|
|
100
|
+
// 卡"视差可见性": 平行于运动方向的线沿自身滑动不可见)
|
|
101
|
+
const NEAR_LINES = [
|
|
102
|
+
{d: 'M 130 1270 C 480 830, 880 360, 1290 -130', growStart: 2, growDur: 40, op: 0.22, w: 9},
|
|
103
|
+
{d: 'M 1480 1240 C 1830 800, 2180 330, 2540 -110', growStart: 10, growDur: 40, op: 0.18, w: 7},
|
|
104
|
+
];
|
|
105
|
+
|
|
106
|
+
// ---------- 标签 (中景层, 全部虚构 ID) ----------
|
|
107
|
+
type LabelSpec = {trib: number; t: number; id: string; appear: number; above: boolean};
|
|
108
|
+
|
|
109
|
+
// 错峰 6–10f 间隔; 最后一枚 f103, 距交棒帧 (f120) ≥15f 无新增
|
|
110
|
+
const LABELS: LabelSpec[] = [
|
|
111
|
+
{trib: 0, t: 0.62, id: 'OKR-1024', appear: 48, above: true},
|
|
112
|
+
{trib: 1, t: 0.58, id: 'TEAM-4417', appear: 56, above: false},
|
|
113
|
+
{trib: 2, t: 0.66, id: 'KR-2093', appear: 66, above: true},
|
|
114
|
+
{trib: 3, t: 0.6, id: 'SYNC-3308', appear: 74, above: false},
|
|
115
|
+
{trib: 4, t: 0.68, id: 'OBJ-2471', appear: 84, above: true},
|
|
116
|
+
{trib: 5, t: 0.64, id: 'PLAN-9124', appear: 93, above: false},
|
|
117
|
+
{trib: 4, t: 0.86, id: 'GOAL-7752', appear: 103, above: true},
|
|
118
|
+
];
|
|
119
|
+
|
|
120
|
+
// 汇点 (偏画面一侧, 收尾亮部引导视线)
|
|
121
|
+
const CONV: Pt = {x: 1850, y: trunkY(1850)};
|
|
122
|
+
|
|
123
|
+
// ---------- component ----------
|
|
124
|
+
export const DatavizLandscapeOpen: React.FC = () => {
|
|
125
|
+
const frame = useCurrentFrame();
|
|
126
|
+
|
|
127
|
+
// 相机: 匀稳横移 3.2px/f (2–5 区间), 全程斜率恒定 (不急刹)
|
|
128
|
+
const camX = frame * 3.2;
|
|
129
|
+
// 极缓 zoom 1.0 → 1.06
|
|
130
|
+
const zoom = interpolate(frame, [0, DUR - 1], [1, 1.06]);
|
|
131
|
+
|
|
132
|
+
// 视差: 近 1.4× / 中 1× / 远 0.6×
|
|
133
|
+
const farX = -camX * 0.6;
|
|
134
|
+
const midX = -camX * 1.0;
|
|
135
|
+
const nearX = -camX * 1.4;
|
|
136
|
+
|
|
137
|
+
// 主干先行: f0–38 out-cubic
|
|
138
|
+
const trunkGrow = growth(frame, 0, 38);
|
|
139
|
+
|
|
140
|
+
// 流动感 (卡"流动感"行): draw-on 完成后, 虚线相位低速漂向汇点
|
|
141
|
+
// 速度 1.5px/f (卡 1–2), 叠加透明度 ≤0.3; 生长完成后才淡入
|
|
142
|
+
const flowOffset = -frame * 1.5; // dashoffset 递减 = 相位沿画线方向(向汇点)漂移
|
|
143
|
+
const flowDash = '14 56'; // 世界像素单位
|
|
144
|
+
const flowIn = (gEnd: number) =>
|
|
145
|
+
interpolate(frame, [gEnd, gEnd + 20], [0, 1], {
|
|
146
|
+
extrapolateLeft: 'clamp',
|
|
147
|
+
extrapolateRight: 'clamp',
|
|
148
|
+
});
|
|
149
|
+
|
|
150
|
+
// 收尾亮部 (交棒段 f120+ 缓升, 引导视线向汇点/右侧)
|
|
151
|
+
const handoffGlow = interpolate(frame, [118, 160], [0, 0.4], {
|
|
152
|
+
extrapolateLeft: 'clamp',
|
|
153
|
+
extrapolateRight: 'clamp',
|
|
154
|
+
});
|
|
155
|
+
|
|
156
|
+
const layerStyle = (tx: number): React.CSSProperties => ({
|
|
157
|
+
position: 'absolute',
|
|
158
|
+
left: 0,
|
|
159
|
+
top: 0,
|
|
160
|
+
width: WORLD_W,
|
|
161
|
+
height: H,
|
|
162
|
+
transform: `translateX(${tx}px)`,
|
|
163
|
+
});
|
|
164
|
+
|
|
165
|
+
return (
|
|
166
|
+
<AbsoluteFill style={{backgroundColor: '#050505', overflow: 'hidden'}}>
|
|
167
|
+
{/* zoom 容器: 以画面中心为原点 */}
|
|
168
|
+
<AbsoluteFill style={{transform: `scale(${zoom})`, transformOrigin: '50% 50%'}}>
|
|
169
|
+
{/* 底色微渐变, 避免纯黑死平 */}
|
|
170
|
+
<AbsoluteFill
|
|
171
|
+
style={{
|
|
172
|
+
background:
|
|
173
|
+
'radial-gradient(120% 90% at 62% 45%, #0b0b0d 0%, #060607 55%, #040404 100%)',
|
|
174
|
+
}}
|
|
175
|
+
/>
|
|
176
|
+
|
|
177
|
+
{/* ---- 远景层 (视差 0.6×) ---- */}
|
|
178
|
+
<div style={layerStyle(farX)}>
|
|
179
|
+
<svg width={WORLD_W} height={H} style={{position: 'absolute'}}>
|
|
180
|
+
{FAR_LINES.map((l, i) => {
|
|
181
|
+
const g = growth(frame, l.growStart, l.growDur);
|
|
182
|
+
return (
|
|
183
|
+
<g key={i}>
|
|
184
|
+
<path
|
|
185
|
+
d={farPath(l)}
|
|
186
|
+
fill="none"
|
|
187
|
+
stroke="#ffffff"
|
|
188
|
+
strokeWidth={1.3}
|
|
189
|
+
strokeLinecap="round"
|
|
190
|
+
opacity={l.op}
|
|
191
|
+
pathLength={1}
|
|
192
|
+
strokeDasharray={1}
|
|
193
|
+
strokeDashoffset={1 - g}
|
|
194
|
+
/>
|
|
195
|
+
{/* 节点标记: 可见特征点穿过画面, 让 0.6× 层位移可辨 */}
|
|
196
|
+
{FAR_NODE_TS.map((t, j) => {
|
|
197
|
+
const p = cubicAt(l.p0, l.p1, l.p2, l.p3, t);
|
|
198
|
+
return (
|
|
199
|
+
<circle
|
|
200
|
+
key={j}
|
|
201
|
+
cx={p.x}
|
|
202
|
+
cy={p.y}
|
|
203
|
+
r={3}
|
|
204
|
+
fill="#ffffff"
|
|
205
|
+
opacity={t <= g ? l.op + 0.08 : 0}
|
|
206
|
+
/>
|
|
207
|
+
);
|
|
208
|
+
})}
|
|
209
|
+
</g>
|
|
210
|
+
);
|
|
211
|
+
})}
|
|
212
|
+
</svg>
|
|
213
|
+
</div>
|
|
214
|
+
|
|
215
|
+
{/* ---- 中景层 (主角层, 视差 1×) ---- */}
|
|
216
|
+
<div style={layerStyle(midX)}>
|
|
217
|
+
<svg width={WORLD_W} height={H} style={{position: 'absolute'}}>
|
|
218
|
+
{/* 微辉光垫层: 1–2px soft glow 压出"发光线"(卡坑注, Q4 单点许可内) */}
|
|
219
|
+
<g style={{filter: 'blur(3px)'}}>
|
|
220
|
+
<path
|
|
221
|
+
d={trunkPath()}
|
|
222
|
+
fill="none"
|
|
223
|
+
stroke="#ffffff"
|
|
224
|
+
strokeWidth={7}
|
|
225
|
+
strokeLinecap="round"
|
|
226
|
+
opacity={0.16}
|
|
227
|
+
pathLength={1}
|
|
228
|
+
strokeDasharray={1}
|
|
229
|
+
strokeDashoffset={1 - trunkGrow}
|
|
230
|
+
/>
|
|
231
|
+
{MID_TRIBS.map((t, i) => (
|
|
232
|
+
<path
|
|
233
|
+
key={i}
|
|
234
|
+
d={tribPath(t)}
|
|
235
|
+
fill="none"
|
|
236
|
+
stroke="#ffffff"
|
|
237
|
+
strokeWidth={5.5}
|
|
238
|
+
strokeLinecap="round"
|
|
239
|
+
opacity={t.opacity * 0.18}
|
|
240
|
+
pathLength={1}
|
|
241
|
+
strokeDasharray={1}
|
|
242
|
+
strokeDashoffset={1 - growth(frame, t.growStart, t.growDur)}
|
|
243
|
+
/>
|
|
244
|
+
))}
|
|
245
|
+
</g>
|
|
246
|
+
{/* 主干 (唯一) */}
|
|
247
|
+
<path
|
|
248
|
+
d={trunkPath()}
|
|
249
|
+
fill="none"
|
|
250
|
+
stroke="#ffffff"
|
|
251
|
+
strokeWidth={2.8}
|
|
252
|
+
strokeLinecap="round"
|
|
253
|
+
opacity={0.8}
|
|
254
|
+
pathLength={1}
|
|
255
|
+
strokeDasharray={1}
|
|
256
|
+
strokeDashoffset={1 - trunkGrow}
|
|
257
|
+
/>
|
|
258
|
+
{/* 支流, 错峰生长 */}
|
|
259
|
+
{MID_TRIBS.map((t, i) => (
|
|
260
|
+
<path
|
|
261
|
+
key={i}
|
|
262
|
+
d={tribPath(t)}
|
|
263
|
+
fill="none"
|
|
264
|
+
stroke="#ffffff"
|
|
265
|
+
strokeWidth={2.2}
|
|
266
|
+
strokeLinecap="round"
|
|
267
|
+
opacity={t.opacity}
|
|
268
|
+
pathLength={1}
|
|
269
|
+
strokeDasharray={1}
|
|
270
|
+
strokeDashoffset={1 - growth(frame, t.growStart, t.growDur)}
|
|
271
|
+
/>
|
|
272
|
+
))}
|
|
273
|
+
{/* 流动感: 虚线相位沿线漂向汇点 (1.5px/f, 叠加透明度 ≤0.3) */}
|
|
274
|
+
<path
|
|
275
|
+
d={trunkPath()}
|
|
276
|
+
fill="none"
|
|
277
|
+
stroke="#ffffff"
|
|
278
|
+
strokeWidth={2.8}
|
|
279
|
+
strokeLinecap="round"
|
|
280
|
+
opacity={0.3 * flowIn(38)}
|
|
281
|
+
strokeDasharray={flowDash}
|
|
282
|
+
strokeDashoffset={flowOffset}
|
|
283
|
+
/>
|
|
284
|
+
{MID_TRIBS.map((t, i) => (
|
|
285
|
+
<path
|
|
286
|
+
key={`flow-${i}`}
|
|
287
|
+
d={tribPath(t)}
|
|
288
|
+
fill="none"
|
|
289
|
+
stroke="#ffffff"
|
|
290
|
+
strokeWidth={2.2}
|
|
291
|
+
strokeLinecap="round"
|
|
292
|
+
opacity={0.26 * flowIn(t.growStart + t.growDur)}
|
|
293
|
+
strokeDasharray={flowDash}
|
|
294
|
+
strokeDashoffset={flowOffset}
|
|
295
|
+
/>
|
|
296
|
+
))}
|
|
297
|
+
</svg>
|
|
298
|
+
|
|
299
|
+
{/* 标签: 方块图钉 + 等宽字虚构 ID, 错峰淡入 + 沿线微漂 */}
|
|
300
|
+
{LABELS.map((l) => {
|
|
301
|
+
const trib = MID_TRIBS[l.trib];
|
|
302
|
+
const base = cubicAt(trib.p0, trib.p1, trib.p2, trib.p3, l.t);
|
|
303
|
+
const fadeIn = interpolate(frame, [l.appear, l.appear + 12], [0, 1], {
|
|
304
|
+
extrapolateLeft: 'clamp',
|
|
305
|
+
extrapolateRight: 'clamp',
|
|
306
|
+
});
|
|
307
|
+
// 沿线微漂: 出现后沿切线方向缓移 ~6px
|
|
308
|
+
const drift = interpolate(frame, [l.appear, DUR - 1], [0, 6], {
|
|
309
|
+
extrapolateLeft: 'clamp',
|
|
310
|
+
extrapolateRight: 'clamp',
|
|
311
|
+
});
|
|
312
|
+
const ahead = cubicAt(trib.p0, trib.p1, trib.p2, trib.p3, Math.min(1, l.t + 0.02));
|
|
313
|
+
const dx = ahead.x - base.x;
|
|
314
|
+
const dy = ahead.y - base.y;
|
|
315
|
+
const dl = Math.hypot(dx, dy) || 1;
|
|
316
|
+
const px = base.x + (dx / dl) * drift;
|
|
317
|
+
const py = base.y + (dy / dl) * drift;
|
|
318
|
+
// 图钉锚在线上 (中心 = 线上取样点, 卡坑注: 钉线分离读作浮尘);
|
|
319
|
+
// 文字沿垂直方向偏移, 避开线体
|
|
320
|
+
const textOff = l.above ? -38 : 20;
|
|
321
|
+
return (
|
|
322
|
+
<React.Fragment key={l.id}>
|
|
323
|
+
<div
|
|
324
|
+
style={{
|
|
325
|
+
position: 'absolute',
|
|
326
|
+
left: px - 8,
|
|
327
|
+
top: py - 8,
|
|
328
|
+
width: 16,
|
|
329
|
+
height: 16,
|
|
330
|
+
backgroundColor: '#ffffff',
|
|
331
|
+
opacity: fadeIn * 0.9,
|
|
332
|
+
}}
|
|
333
|
+
/>
|
|
334
|
+
<span
|
|
335
|
+
style={{
|
|
336
|
+
position: 'absolute',
|
|
337
|
+
left: px + 14,
|
|
338
|
+
top: py + textOff,
|
|
339
|
+
fontFamily: 'Menlo, "SF Mono", Consolas, monospace',
|
|
340
|
+
fontSize: 22,
|
|
341
|
+
letterSpacing: 3,
|
|
342
|
+
color: '#e8e8e8',
|
|
343
|
+
whiteSpace: 'nowrap',
|
|
344
|
+
opacity: fadeIn * 0.92,
|
|
345
|
+
}}
|
|
346
|
+
>
|
|
347
|
+
{l.id}
|
|
348
|
+
</span>
|
|
349
|
+
</React.Fragment>
|
|
350
|
+
);
|
|
351
|
+
})}
|
|
352
|
+
|
|
353
|
+
{/* 交棒亮部: 汇点方向留亮, 引导视线接下一镜头 */}
|
|
354
|
+
<div
|
|
355
|
+
style={{
|
|
356
|
+
position: 'absolute',
|
|
357
|
+
left: CONV.x - 420,
|
|
358
|
+
top: CONV.y - 260,
|
|
359
|
+
width: 840,
|
|
360
|
+
height: 520,
|
|
361
|
+
background:
|
|
362
|
+
'radial-gradient(50% 50% at 50% 50%, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.12) 45%, rgba(255,255,255,0) 72%)',
|
|
363
|
+
opacity: handoffGlow,
|
|
364
|
+
filter: 'blur(18px)',
|
|
365
|
+
pointerEvents: 'none',
|
|
366
|
+
}}
|
|
367
|
+
/>
|
|
368
|
+
</div>
|
|
369
|
+
|
|
370
|
+
{/* ---- 近景层 (大虚焦, 视差 1.4×) ---- */}
|
|
371
|
+
<div style={{...layerStyle(nearX), filter: 'blur(13px)'}}>
|
|
372
|
+
<svg width={WORLD_W} height={H} style={{position: 'absolute'}}>
|
|
373
|
+
{NEAR_LINES.map((l, i) => (
|
|
374
|
+
<path
|
|
375
|
+
key={i}
|
|
376
|
+
d={l.d}
|
|
377
|
+
fill="none"
|
|
378
|
+
stroke="#ffffff"
|
|
379
|
+
strokeWidth={l.w}
|
|
380
|
+
strokeLinecap="round"
|
|
381
|
+
opacity={l.op}
|
|
382
|
+
pathLength={1}
|
|
383
|
+
strokeDasharray={1}
|
|
384
|
+
strokeDashoffset={1 - growth(frame, l.growStart, l.growDur)}
|
|
385
|
+
/>
|
|
386
|
+
))}
|
|
387
|
+
</svg>
|
|
388
|
+
</div>
|
|
389
|
+
|
|
390
|
+
{/* 轻 vignette 收住四角 */}
|
|
391
|
+
<AbsoluteFill
|
|
392
|
+
style={{
|
|
393
|
+
background:
|
|
394
|
+
'radial-gradient(115% 95% at 50% 50%, rgba(0,0,0,0) 62%, rgba(0,0,0,0.5) 100%)',
|
|
395
|
+
pointerEvents: 'none',
|
|
396
|
+
}}
|
|
397
|
+
/>
|
|
398
|
+
</AbsoluteFill>
|
|
399
|
+
</AbsoluteFill>
|
|
400
|
+
);
|
|
401
|
+
};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
// dolly-zoom 滑动变焦(轮 F)——主体卡(card4-hires)大小锁定屏中,
|
|
2
|
+
// 背景真实卡群 + 整页反向膨胀逼近(scale + blur 渐深),
|
|
3
|
+
// "世界压过来"而主角纹丝不动。伪 dolly-zoom:无需 3D,分层反向补偿。
|
|
4
|
+
import { AbsoluteFill, Img, interpolate, staticFile, useCurrentFrame, Easing } from 'remotion';
|
|
5
|
+
import layout from '../_textures/live-layout.json';
|
|
6
|
+
|
|
7
|
+
export const DOLLYZOOM_DUR = 135;
|
|
8
|
+
|
|
9
|
+
const BG_CARDS = layout.projects.cards.filter((_, i) => i !== 3);
|
|
10
|
+
|
|
11
|
+
export const DollyZoomReal: React.FC = () => {
|
|
12
|
+
const frame = useCurrentFrame();
|
|
13
|
+
const t = interpolate(frame, [15, 110], [0, 1], {
|
|
14
|
+
extrapolateLeft: 'clamp', extrapolateRight: 'clamp',
|
|
15
|
+
easing: Easing.bezier(0.4, 0, 0.3, 1),
|
|
16
|
+
});
|
|
17
|
+
const bgScale = 1 + t * 1.25;
|
|
18
|
+
const bgBlur = t * 3.5;
|
|
19
|
+
return (
|
|
20
|
+
<AbsoluteFill style={{ backgroundColor: '#efece6', overflow: 'hidden' }}>
|
|
21
|
+
{/* 背景:整页 + 卡群,从画面中心膨胀逼近 */}
|
|
22
|
+
<div
|
|
23
|
+
style={{
|
|
24
|
+
position: 'absolute', inset: 0,
|
|
25
|
+
transform: `scale(${bgScale})`, transformOrigin: '960px 540px',
|
|
26
|
+
filter: `blur(${bgBlur}px) saturate(0.9)`,
|
|
27
|
+
}}
|
|
28
|
+
>
|
|
29
|
+
<Img src={staticFile('textures/live/projects-full.png')} style={{ position: 'absolute', left: 0, top: -400, width: 1920, opacity: 0.55 }} />
|
|
30
|
+
{BG_CARDS.slice(0, 8).map((c, k) => (
|
|
31
|
+
<Img
|
|
32
|
+
key={c.file + k}
|
|
33
|
+
src={staticFile(`textures/live/${c.file}`)}
|
|
34
|
+
style={{
|
|
35
|
+
position: 'absolute',
|
|
36
|
+
left: [180, 1280, 240, 1220, 700, 760, 60, 1500][k],
|
|
37
|
+
top: [140, 120, 700, 720, 60, 840, 420, 430][k],
|
|
38
|
+
width: 320, borderRadius: 12, opacity: 0.9,
|
|
39
|
+
boxShadow: '0 6px 20px rgba(31,28,23,0.12)',
|
|
40
|
+
}}
|
|
41
|
+
/>
|
|
42
|
+
))}
|
|
43
|
+
</div>
|
|
44
|
+
{/* 主体:高清卡视觉大小恒定钉在屏中,落影渐深强调"世界在动我不动" */}
|
|
45
|
+
<Img
|
|
46
|
+
src={staticFile('textures/live/card4-hires.png')}
|
|
47
|
+
style={{
|
|
48
|
+
position: 'absolute', left: 960 - 260, top: 540 - 228, width: 520,
|
|
49
|
+
borderRadius: 14,
|
|
50
|
+
boxShadow: `0 ${12 + t * 16}px ${40 + t * 28}px rgba(31,28,23,${0.16 + t * 0.10})`,
|
|
51
|
+
}}
|
|
52
|
+
/>
|
|
53
|
+
</AbsoluteFill>
|
|
54
|
+
);
|
|
55
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
// multiplane parallax(轮 E)——真实页面拆 3 层深度横移:
|
|
2
|
+
// 背景整页(0.35x,微 blur 退后)+ 中景真实卡组(0.7x)+
|
|
3
|
+
// 前景浮块(1.4x,search 切片 + 高清卡,轻 blur 拉焦平面)。
|
|
4
|
+
// 系数克制(背景不动排版,卡组独立成层)防"排版散架"。
|
|
5
|
+
import { AbsoluteFill, Img, interpolate, staticFile, useCurrentFrame, Easing } from 'remotion';
|
|
6
|
+
import layout from '../_textures/live-layout.json';
|
|
7
|
+
|
|
8
|
+
export const MULTIPLANE_DUR = 135;
|
|
9
|
+
|
|
10
|
+
const CARDS = layout.projects.cards.slice(0, 6);
|
|
11
|
+
|
|
12
|
+
export const MultiplaneReal: React.FC = () => {
|
|
13
|
+
const frame = useCurrentFrame();
|
|
14
|
+
const drive = interpolate(frame, [10, 125], [0, 1000], {
|
|
15
|
+
extrapolateLeft: 'clamp', extrapolateRight: 'clamp',
|
|
16
|
+
easing: Easing.bezier(0.35, 0, 0.25, 1),
|
|
17
|
+
});
|
|
18
|
+
return (
|
|
19
|
+
<AbsoluteFill style={{ backgroundColor: '#efece6', overflow: 'hidden' }}>
|
|
20
|
+
{/* 背景层 0.35x:整页微退焦 */}
|
|
21
|
+
<div style={{ position: 'absolute', inset: 0, transform: `translateX(${-drive * 0.35}px) scale(1.05)`, filter: 'blur(2px) saturate(0.92)', opacity: 0.85 }}>
|
|
22
|
+
<Img src={staticFile('textures/live/projects-full.png')} style={{ position: 'absolute', left: 0, top: -300, width: 2100 }} />
|
|
23
|
+
</div>
|
|
24
|
+
{/* 中景层 0.7x:真实卡组横排(主阅读层) */}
|
|
25
|
+
<div style={{ position: 'absolute', top: 330, transform: `translateX(${-drive * 0.7}px)` }}>
|
|
26
|
+
{CARDS.map((c, k) => (
|
|
27
|
+
<Img
|
|
28
|
+
key={c.file}
|
|
29
|
+
src={staticFile(`textures/live/${c.file}`)}
|
|
30
|
+
style={{
|
|
31
|
+
position: 'absolute', left: 200 + k * 480, top: (k % 2) * 40,
|
|
32
|
+
width: 420, borderRadius: 12,
|
|
33
|
+
boxShadow: '0 8px 28px rgba(31,28,23,0.14)',
|
|
34
|
+
}}
|
|
35
|
+
/>
|
|
36
|
+
))}
|
|
37
|
+
</div>
|
|
38
|
+
{/* 前景层 1.4x:浮块掠过(search 切片 + 高清卡),轻 blur */}
|
|
39
|
+
<div style={{ position: 'absolute', inset: 0, transform: `translateX(${-drive * 1.4}px)`, filter: 'blur(3px)' }}>
|
|
40
|
+
<Img src={staticFile('textures/live/float-search.png')} style={{ position: 'absolute', left: 900, top: 150, width: 700, borderRadius: 22, boxShadow: '0 12px 36px rgba(31,28,23,0.18)' }} />
|
|
41
|
+
<Img src={staticFile('textures/live/card4-hires.png')} style={{ position: 'absolute', left: 2100, top: 700, width: 380, borderRadius: 12, boxShadow: '0 12px 36px rgba(31,28,23,0.20)' }} />
|
|
42
|
+
</div>
|
|
43
|
+
</AbsoluteFill>
|
|
44
|
+
);
|
|
45
|
+
};
|