hyper-animator-codex 0.7.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +67 -7
- package/bin/hyper-animator-codex.mjs +31 -9
- package/bin/postinstall.mjs +19 -0
- package/lib/install-options.mjs +3 -0
- package/lib/install-skill.mjs +84 -2
- package/lib/minimax-config.mjs +3 -3
- package/package.json +3 -2
- package/skills/hyper-animator-codex/SKILL.md +58 -20
- package/skills/hyper-animator-codex/agents/openai.yaml +2 -2
- package/skills/hyper-animator-codex/contracts/shot-plan.schema.json +214 -0
- package/skills/hyper-animator-codex/contracts/workflow-policy.json +85 -0
- package/skills/hyper-animator-codex/references/HyperFrames-AI-Generation-Patterns-codex.md +788 -0
- package/skills/hyper-animator-codex/references/beat-sync-workflow.md +7 -0
- package/skills/hyper-animator-codex/references/examples/shot-plan-dual-catalog.json +69 -0
- package/skills/hyper-animator-codex/references/hyperframes-agent-pseudocode.ts +1 -1
- package/skills/hyper-animator-codex/references/hyperframes-catalog-map.json +97 -230
- package/skills/hyper-animator-codex/references/hyperframes-intent-workflow.md +23 -7
- package/skills/hyper-animator-codex/references/minimax-music-workflow.md +24 -4
- package/skills/hyper-animator-codex/references/narration-audio-workflow.md +31 -1
- package/skills/hyper-animator-codex/references/shotcraft/LICENSE +202 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/ai-stream-response/README.md +46 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/autolayout-gap-dial/README.md +53 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/beat-cut-moves/README.md +54 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/beat-step-list-theme-cycle/README.md +59 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/before-after-slider-scrub/README.md +47 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/bottom-push-stack-wipe/README.md +58 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/brand-frame-snap/README.md +51 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/brand-ink-open/README.md +35 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/bubble-swarm-takeover/README.md +62 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/canvas-materialize-moves/README.md +55 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/card-flip-reveal/README.md +50 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/card-flock-tumble/README.md +54 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/cel-flash-stomp/README.md +54 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/chart-live-moves/README.md +51 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/circle-match-iris/README.md +53 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/cloner-depth-echo/README.md +38 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/collab-cursor-moves/README.md +48 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/color-block-step-wipe/README.md +54 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/command-palette-summon/README.md +45 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/crane-rise-reveal/README.md +47 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/crash-zoom-punch/README.md +38 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/dataviz-landscape-open/README.md +54 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/deck-deal-flyin/README.md +45 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/depth-layer-moves/README.md +40 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/document-typewriter-reveal/README.md +40 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/draw-svg-trace/README.md +50 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/edit-hook-moves/README.md +38 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/element-body-moves/README.md +49 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/fui-hud-moves/README.md +44 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/gauge-readout-moves/README.md +45 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/glow-flyline-moves/README.md +51 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/gradient-word-sweep/README.md +49 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/graze-face-tour/README.md +56 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/hashtag-to-pill-materialize/README.md +57 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/hires-rasterize-3d-text/README.md +34 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/icon-field-colorize/README.md +53 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/icon-performance-moves/README.md +46 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/impact-feedback/README.md +50 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/input-trigger-moves/README.md +49 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/integration-hub-map/README.md +54 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/letterspace-materialize/README.md +52 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/light-play-moves/README.md +49 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/line-boil/README.md +52 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/line-carry-transition/README.md +52 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/list-stack-press/README.md +43 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/magician-card-flourish/README.md +63 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/marker-underline-title/README.md +48 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/montage-rhythm-moves/README.md +55 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/morph-from-primitive/README.md +51 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/neon-frame-forerun/README.md +50 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/neon-frame-orbit-drop/README.md +50 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/neon-triple-marquee/README.md +55 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/odometer-digit-roll/README.md +54 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/outro-group-photo-launch/README.md +39 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/overhead-camera-moves/README.md +50 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/page-turn-transitions/README.md +48 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/page-waterfall-wall/README.md +52 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/panel-grid-moves/README.md +52 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/paper-craft-moves/README.md +46 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/paper-plane-messenger/README.md +62 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/paper-title-card/README.md +36 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/particle-celebrate-hits/README.md +42 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/particle-sand-fill/README.md +39 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/pill-slot-cycle/README.md +57 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/print-texture-transitions/README.md +40 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/rhythm-interrupt-moves/README.md +44 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/riso-print-hits/README.md +54 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/row-embed/README.md +36 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/runway-ground-skim/README.md +52 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/sakuga-timing-shift/README.md +50 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/scene-locked-title/README.md +43 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/scroll-brake-moves/README.md +45 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/segmented-thumb-hero/README.md +57 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/shot-transitions/README.md +60 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/skeleton-reveal/README.md +54 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/slam-entrance-moves/README.md +53 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/smear-multiples/README.md +49 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/space-camera-moves/README.md +53 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/spectrum-morph-ui/README.md +50 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/speed-ramp-freeze/README.md +42 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/split-flap-title/README.md +52 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/spotlight-hero-card/README.md +39 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/spotlight-sweep-moves/README.md +51 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/steep-tilt-glide/README.md +53 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/stroke-segment-build/README.md +43 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/tear-streak-transitions/README.md +43 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/tension-camera-moves/README.md +55 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/text-as-mask/README.md +50 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/text-column-converge/README.md +55 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/theme-switch-moves/README.md +44 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/timeline-travel/README.md +43 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/title-demote-to-label/README.md +58 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/trailer-grammar-moves/README.md +51 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/transition-hidden-cut/README.md +52 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/transition-travel/README.md +48 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/type-and-filter/README.md +37 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/type-assembly-moves/README.md +50 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/type-entrance-moves/README.md +46 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/type-rhythm-sync/README.md +47 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/typewriter-moves/README.md +50 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/ui-strip-away-outro/README.md +63 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/ui-to-brand-morph/README.md +52 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/voice-waveform-live/README.md +52 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/wall-reveal-moves/README.md +53 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/wipe-transitions/README.md +47 -0
- package/skills/hyper-animator-codex/references/shotcraft/cards/word-relay-filmstrip/README.md +50 -0
- package/skills/hyper-animator-codex/references/shotcraft/catalog.json +3946 -0
- package/skills/hyper-animator-codex/references/shotcraft/references/aesthetic-rules.md +157 -0
- package/skills/hyper-animator-codex/references/shotcraft/references/final-review.md +107 -0
- package/skills/hyper-animator-codex/references/shotcraft/references/guided-free-creation.md +197 -0
- package/skills/hyper-animator-codex/references/shotcraft/references/music-beat-sync.md +125 -0
- package/skills/hyper-animator-codex/references/shotcraft/references/pipeline.md +357 -0
- package/skills/hyper-animator-codex/references/shotcraft/references/sound-design.md +126 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/assets/lib/Caption.tsx +50 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/assets/lib/DigitRoll.tsx +45 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/assets/lib/FlashCut.tsx +20 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/assets/lib/FlatPanel.tsx +65 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/assets/lib/PageCam.tsx +151 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/assets/lib/VerticalTicker.tsx +129 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/assets/lib/helpers/camera.tsx +75 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/assets/lib/helpers/motion.ts +40 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/assets/lib/helpers/rand.ts +11 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/assets/lib/helpers/shake.ts +10 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/_fixtures/Fixtures.tsx +83 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/ai-stream-response/StreamResponse.tsx +146 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/autolayout-gap-dial/AutolayoutGapDial.tsx +174 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/beat-cut-moves/BeatCutAccelerando.tsx +77 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/beat-cut-moves/PaparazziFlash.tsx +115 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/beat-step-list-theme-cycle/BeatStepListThemeCycle.tsx +98 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/before-after-slider-scrub/BeforeAfterSliderScrub.tsx +99 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/bottom-push-stack-wipe/BottomPushStackWipe.tsx +79 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/brand-frame-snap/BrandFrameSnap.tsx +110 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/bubble-swarm-takeover/BubbleSwarmTakeover.tsx +189 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/canvas-materialize-moves/DiagramCascadeBuild.tsx +172 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/canvas-materialize-moves/PanelToCanvasMaterialize.tsx +254 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/card-flip-reveal/CardFlipReveal.tsx +139 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/card-flock-tumble/CardFlockTumble.tsx +382 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/cel-flash-stomp/CelFlashStomp.tsx +111 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/chart-live-moves/AxisRescaleShockV2.tsx +282 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/chart-live-moves/OscilloscopeStreamV2.tsx +227 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/chart-live-moves/UnitDotSwarmRegroupV2.tsx +248 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/circle-match-iris/CircleMatchIris.tsx +124 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/cloner-depth-echo/ClonerDepthEcho.tsx +90 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/collab-cursor-moves/CursorCastEnsemble.tsx +136 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/collab-cursor-moves/CursorDialogueDuet.tsx +145 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/color-block-step-wipe/ColorBlockStepWipe.tsx +157 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/command-palette-summon/CommandPaletteSummon.tsx +173 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/crane-rise-reveal/CraneRiseReveal.tsx +91 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/crash-zoom-punch/CrashImpactReal.tsx +63 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/crash-zoom-punch/CrashZoomReal.tsx +60 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/dataviz-landscape-open/DatavizLandscapeOpen.tsx +401 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/depth-layer-moves/DollyZoomReal.tsx +55 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/depth-layer-moves/MultiplaneReal.tsx +45 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/draw-svg-trace/DrawSvgTrace.tsx +199 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/edit-hook-moves/LogoStingButton.tsx +106 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/element-body-moves/AxialStretch.tsx +112 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/element-body-moves/ContactShadowLift.tsx +117 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/fui-hud-moves/LineUnfoldPanel.tsx +125 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/fui-hud-moves/ReticleLockOn.tsx +139 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/gauge-readout-moves/NeedleSweepSelftest.tsx +146 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/gauge-readout-moves/TapeScrollFixedPointer.tsx +120 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/glow-flyline-moves/FlylineArc.tsx +158 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/glow-flyline-moves/GlowOrbAmbient.tsx +131 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/glow-flyline-moves/OrbFlylineRelay.tsx +268 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/gradient-word-sweep/GradientWordSweep.tsx +307 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/graze-face-tour/GrazeFaceTour.tsx +469 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/hashtag-to-pill-materialize/HashtagToPillMaterialize.tsx +166 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/icon-field-colorize/IconFieldColorize.tsx +93 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/icon-performance-moves/AttentionBounce.tsx +193 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/icon-performance-moves/PopBurstConfirm.tsx +162 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/impact-feedback/AnimeImpact.tsx +149 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/impact-feedback/HitCounter.tsx +147 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/input-trigger-moves/CursorPerformancePunchIn.tsx +154 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/input-trigger-moves/KeycapSmashCut.tsx +217 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/integration-hub-map/IntegrationHubMap.tsx +554 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/letterspace-materialize/LetterspaceMaterialize.tsx +85 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/light-play-moves/HalationBloom.tsx +139 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/light-play-moves/SheenSweepRetry.tsx +85 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/light-play-moves/SpotlightSweepReveal.tsx +102 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/line-boil/LineBoil.tsx +140 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/line-carry-transition/LineCarryTransition.tsx +151 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/magician-card-flourish/MagicianCardFlourish.tsx +294 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/marker-underline-title/MarkerUnderlineTitle.tsx +87 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/montage-rhythm-moves/DominoCascade.tsx +125 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/montage-rhythm-moves/DropBlackoutSlam.tsx +135 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/montage-rhythm-moves/WrightTripleCut.tsx +175 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/morph-from-primitive/MorphFromPrimitive.tsx +190 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/neon-frame-forerun/NeonFrameForerun.tsx +279 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/neon-frame-orbit-drop/NeonFrameForerunOrbit.tsx +273 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/neon-triple-marquee/NeonTripleMarquee.tsx +111 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/odometer-digit-roll/OdometerDigitRoll.tsx +178 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/overhead-camera-moves/OverheadTabletopDrop.tsx +129 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/overhead-camera-moves/TiltReveal.tsx +55 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/page-turn-transitions/BarnDoorSplit.tsx +138 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/page-turn-transitions/CubeRotate.tsx +114 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/page-waterfall-wall/PageWaterfallWall.tsx +76 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/page-waterfall-wall/VerticalTicker.tsx +129 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/panel-grid-moves/ComicPanelSplit.tsx +171 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/panel-grid-moves/FlipGridReflow.tsx +121 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/panel-grid-moves/GridFlashMosaic.tsx +182 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/paper-craft-moves/MaskingTapeSlap.tsx +163 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/paper-craft-moves/PopupBookRise.tsx +134 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/paper-plane-messenger/PaperPlaneMessenger.tsx +183 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/particle-celebrate-hits/ConfettiCrossfire.tsx +115 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/particle-celebrate-hits/CounterTickSparks.tsx +103 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/particle-sand-fill/ParticleSandFill.tsx +119 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/pill-slot-cycle/PillSlotCycle.tsx +220 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/print-texture-transitions/InkBleedReveal.tsx +81 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/rhythm-interrupt-moves/JumpCutPunchIn.tsx +72 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/rhythm-interrupt-moves/StrobeBlackFrames.tsx +99 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/riso-print-hits/RisoBeatPump.tsx +155 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/riso-print-hits/RisoMisregistrationHit.tsx +120 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/runway-ground-skim/RunwayGroundSkim.tsx +258 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/sakuga-timing-shift/SakugaTimingShift.tsx +178 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/scene-locked-title/SceneLockedTitle.tsx +98 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/scroll-brake-moves/BrakeReticleLock.tsx +171 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/scroll-brake-moves/ChangelogScrollBrake.tsx +117 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/segmented-thumb-hero/SegmentedThumbHero.tsx +213 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/shot-transitions/MaskWipeReal.tsx +67 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/shot-transitions/PortalWipeV2.tsx +128 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/shot-transitions/WhipBrakeReal.tsx +60 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/shot-transitions/WhipPanReal.tsx +45 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/skeleton-reveal/SkeletonReveal.tsx +283 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/slam-entrance-moves/ImpactBurstKit.tsx +185 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/slam-entrance-moves/KanadaPerspectiveSnap.tsx +91 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/slam-entrance-moves/ScoreSlam.tsx +225 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/smear-multiples/SmearMultiples.tsx +88 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/space-camera-moves/DroneDiveLanding.tsx +91 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/space-camera-moves/ExplodedView.tsx +178 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/space-camera-moves/SnorricamLock.tsx +130 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/spectrum-morph-ui/SpectrumMorphUi.tsx +129 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/speed-ramp-freeze/FreezeAnnotateReal.tsx +70 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/speed-ramp-freeze/SpeedRampReal.tsx +58 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/split-flap-title/SplitFlapFlip.tsx +189 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/spotlight-sweep-moves/CornerSpotlightReveal.tsx +121 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/spotlight-sweep-moves/GlowWakeSleepPanel.tsx +183 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/spotlight-sweep-moves/SlideSpotlightPan.tsx +171 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/steep-tilt-glide/SteepTiltGlide.tsx +315 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/stroke-segment-build/StrokeSegmentBuild.tsx +126 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/tear-streak-transitions/GlitchDisplace.tsx +107 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/tension-camera-moves/BulletTimeFreezeOrbit.tsx +219 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/tension-camera-moves/DutchRollToLevel.tsx +110 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/tension-camera-moves/PullBackIsolation.tsx +120 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/tension-camera-moves/SlowPushIn.tsx +96 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/text-as-mask/TextAsMask.tsx +94 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/text-column-converge/TextColumnConverge.tsx +122 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/theme-switch-moves/PaletteThemeRipple.tsx +207 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/theme-switch-moves/ThemeSweepToggle.tsx +123 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/timeline-travel/TimelineTravel.tsx +123 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/title-demote-to-label/TitleDemoteToLabel.tsx +174 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/trailer-grammar-moves/CardFootageCadence.tsx +118 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/trailer-grammar-moves/SmashCut.tsx +105 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/trailer-grammar-moves/TrailerBumper.tsx +103 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/transition-hidden-cut/InvisibleCut.tsx +93 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/transition-hidden-cut/LightLeakBurn.tsx +122 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/transition-hidden-cut/VersusSlam.tsx +104 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/transition-travel/LetterformZoom.tsx +141 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/transition-travel/SharedElementMorph.tsx +101 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/type-assembly-moves/LetterformDriftAssembly.tsx +107 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/type-assembly-moves/SplitTextStagger.tsx +101 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/type-assembly-moves/TextOnPath.tsx +92 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/type-assembly-moves/TrackingExpandReveal.tsx +109 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/type-entrance-moves/LetterDropPhysics.tsx +100 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/type-entrance-moves/ScrambleDecode.tsx +90 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/type-rhythm-sync/FontWeightPump.tsx +124 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/type-rhythm-sync/KaraokeFillSync.tsx +93 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/typewriter-moves/TerminalTypewriter.tsx +122 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/typewriter-moves/TypewriterErrorRetype.tsx +109 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/ui-strip-away-outro/UiStripAwayOutro.tsx +218 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/ui-to-brand-morph/IconFlipBloomLogo.tsx +199 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/ui-to-brand-morph/InputMorphsIntoLogo.tsx +215 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/voice-waveform-live/VoiceWaveformLive.tsx +171 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/wall-reveal-moves/BentoLightUp.tsx +135 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/wipe-transitions/BlindsSlice.tsx +107 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/wipe-transitions/ClockWipe.tsx +83 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/demos/word-relay-filmstrip/WordRelayFilmstrip.tsx +300 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/template/src/Root.tsx +15 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/Caption.tsx +49 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/DigitRoll.tsx +44 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/FlashCut.tsx +19 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/Main.tsx +163 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/PaperTitleCard.tsx +89 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/live/PageCam.tsx +145 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/live/SceneDetail.tsx +146 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/live/SceneFlyIn.tsx +447 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/live/SceneOpen.tsx +532 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/live/SceneOutroLive.tsx +394 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/live/ScenePapers.tsx +185 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/template/src/aifl/live/SceneWbr.tsx +299 -0
- package/skills/hyper-animator-codex/references/shotcraft/source/template/src/index.ts +4 -0
- package/skills/hyper-animator-codex/references/shotcraft/source-notes.md +10 -0
- package/skills/hyper-animator-codex/scripts/generate_minimax_music.mjs +27 -10
- package/skills/hyper-animator-codex/scripts/generate_minimax_tts.mjs +142 -13
- package/skills/hyper-animator-codex/scripts/generate_subtitles.mjs +42 -3
- package/skills/hyper-animator-codex/scripts/minimax_runtime_config.mjs +3 -3
- package/skills/hyper-animator-codex/scripts/query_shotcraft.mjs +140 -0
- package/skills/hyper-animator-codex/scripts/validate_hyperframes_html.py +22 -0
- package/skills/hyper-animator-codex/scripts/validate_provider_policy.mjs +108 -0
- package/skills/hyper-animator-codex/scripts/validate_shot_plan.mjs +193 -0
- package/skills/hyper-animator-codex/vendor/music-beat-detector/beat_detector/analyzer.py +3 -1
- package/skills/hyper-animator-codex/vendor/music-beat-detector/beat_detector/beat.py +37 -1
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { AbsoluteFill, Easing, interpolate, useCurrentFrame } from 'remotion';
|
|
3
|
+
import { FakeDashboard, Card, TitleBlock, G } from '../_fixtures/Fixtures';
|
|
4
|
+
|
|
5
|
+
// portal-wipe 穿窗入景·改〔批次 1 重做〕
|
|
6
|
+
// 批次 1 弱点:3 层 7 卡散开幅度大(0.85)+blur,穿窗后画面碎读不清。
|
|
7
|
+
// 本版:窗放大 bezier(0.7,0,0.3,1) 40f 先慢后快;窗内只 2 层
|
|
8
|
+
// (远景整页 dashboard 缩略 + 近景 2 张卡),散开系数近 0.3 / 远 0.08,
|
|
9
|
+
// 不加 blur;穿窗完成(f65)后所有层 8f 内缓停(f73),之后静止 hold 77f 读清新场景。
|
|
10
|
+
//
|
|
11
|
+
// 节拍(150f @30fps):
|
|
12
|
+
// 0–25 hold:旧 dashboard 建立,目标卡原位可见
|
|
13
|
+
// 25–65 窗放大 40f:卡放大成全屏窗,窗内新场景随之显形
|
|
14
|
+
// 65–73 缓停 8f:近/远两层视差余势收干(Easing.out 自然归零)
|
|
15
|
+
// 73–150 静止 hold:新场景完整可读
|
|
16
|
+
export const PortalWipeV2: React.FC = () => {
|
|
17
|
+
const frame = useCurrentFrame();
|
|
18
|
+
|
|
19
|
+
// ── 窗放大:40f,先慢后快再缓收 ──
|
|
20
|
+
const t = interpolate(frame, [25, 65], [0, 1], {
|
|
21
|
+
extrapolateLeft: 'clamp',
|
|
22
|
+
extrapolateRight: 'clamp',
|
|
23
|
+
easing: Easing.bezier(0.7, 0, 0.3, 1),
|
|
24
|
+
});
|
|
25
|
+
const c0 = { x: 1180, y: 620, w: 480, h: 320, r: 14 };
|
|
26
|
+
const x = interpolate(t, [0, 1], [c0.x, 0]);
|
|
27
|
+
const y = interpolate(t, [0, 1], [c0.y, 0]);
|
|
28
|
+
const w = interpolate(t, [0, 1], [c0.w, 1920]);
|
|
29
|
+
const h = interpolate(t, [0, 1], [c0.h, 1080]);
|
|
30
|
+
const r = interpolate(t, [0, 1], [c0.r, 0]);
|
|
31
|
+
|
|
32
|
+
// ── 窗内视差散开:40→73f,Easing.out 保证 f65 穿窗完成后 8f 内速度归零 ──
|
|
33
|
+
const spread = interpolate(frame, [40, 73], [0, 1], {
|
|
34
|
+
extrapolateLeft: 'clamp',
|
|
35
|
+
extrapolateRight: 'clamp',
|
|
36
|
+
easing: Easing.out(Easing.cubic),
|
|
37
|
+
});
|
|
38
|
+
|
|
39
|
+
// 窗内整体从缩略推到满幅
|
|
40
|
+
const innerScale = interpolate(t, [0, 1], [0.42, 1]);
|
|
41
|
+
|
|
42
|
+
return (
|
|
43
|
+
<AbsoluteFill style={{ background: G.bg, overflow: 'hidden' }}>
|
|
44
|
+
{/* 旧场景:dashboard A */}
|
|
45
|
+
<FakeDashboard variant="A" />
|
|
46
|
+
|
|
47
|
+
{/* 窗(放大的卡)——内藏新场景 */}
|
|
48
|
+
<div
|
|
49
|
+
style={{
|
|
50
|
+
position: 'absolute',
|
|
51
|
+
left: x,
|
|
52
|
+
top: y,
|
|
53
|
+
width: w,
|
|
54
|
+
height: h,
|
|
55
|
+
borderRadius: r,
|
|
56
|
+
overflow: 'hidden',
|
|
57
|
+
boxShadow: t < 1 ? '0 12px 48px rgba(0,0,0,0.22)' : 'none',
|
|
58
|
+
}}
|
|
59
|
+
>
|
|
60
|
+
{/* 窗内 1920×1080 舞台,随穿窗从 0.42 推到 1 */}
|
|
61
|
+
<div
|
|
62
|
+
style={{
|
|
63
|
+
position: 'absolute',
|
|
64
|
+
width: 1920,
|
|
65
|
+
height: 1080,
|
|
66
|
+
left: '50%',
|
|
67
|
+
top: '50%',
|
|
68
|
+
transform: `translate(-50%, -50%) scale(${innerScale})`,
|
|
69
|
+
background: '#e4e4e2',
|
|
70
|
+
}}
|
|
71
|
+
>
|
|
72
|
+
{/* 远景层(系数 0.08,不加 blur):新场景整页 dashboard 缩略 */}
|
|
73
|
+
<div
|
|
74
|
+
style={{
|
|
75
|
+
position: 'absolute',
|
|
76
|
+
inset: 0,
|
|
77
|
+
transform: `scale(${1 + spread * 0.08})`,
|
|
78
|
+
transformOrigin: '960px 540px',
|
|
79
|
+
}}
|
|
80
|
+
>
|
|
81
|
+
<div
|
|
82
|
+
style={{
|
|
83
|
+
position: 'absolute',
|
|
84
|
+
left: '50%',
|
|
85
|
+
top: '50%',
|
|
86
|
+
width: 1920,
|
|
87
|
+
height: 1080,
|
|
88
|
+
transform: 'translate(-50%, -50%) scale(0.82)',
|
|
89
|
+
transformOrigin: 'center',
|
|
90
|
+
borderRadius: 20,
|
|
91
|
+
overflow: 'hidden',
|
|
92
|
+
border: `2px solid ${G.border}`,
|
|
93
|
+
boxShadow: '0 8px 32px rgba(0,0,0,0.10)',
|
|
94
|
+
}}
|
|
95
|
+
>
|
|
96
|
+
<FakeDashboard variant="B" />
|
|
97
|
+
</div>
|
|
98
|
+
<div style={{ position: 'absolute', left: 250, top: 100 }}>
|
|
99
|
+
<TitleBlock text="Scene B" size={64} />
|
|
100
|
+
</div>
|
|
101
|
+
</div>
|
|
102
|
+
|
|
103
|
+
{/* 近景层(系数 0.3,不加 blur):只 2 张卡,向边缘让位 */}
|
|
104
|
+
<div
|
|
105
|
+
style={{
|
|
106
|
+
position: 'absolute',
|
|
107
|
+
inset: 0,
|
|
108
|
+
transform: `scale(${1 + spread * 0.3})`,
|
|
109
|
+
transformOrigin: '960px 540px',
|
|
110
|
+
}}
|
|
111
|
+
>
|
|
112
|
+
<div style={{ position: 'absolute', left: 150, top: 660 }}>
|
|
113
|
+
<Card w={380} h={250} seed={71} />
|
|
114
|
+
</div>
|
|
115
|
+
<div style={{ position: 'absolute', left: 1420, top: 160 }}>
|
|
116
|
+
<Card w={340} h={220} seed={72} />
|
|
117
|
+
</div>
|
|
118
|
+
</div>
|
|
119
|
+
</div>
|
|
120
|
+
|
|
121
|
+
{/* 卡正面:放大初期渐隐,露出窗内新场景 */}
|
|
122
|
+
<div style={{ position: 'absolute', inset: 0, opacity: Math.max(0, 1 - t * 2.4) }}>
|
|
123
|
+
<Card w={c0.w} h={c0.h} seed={5} style={{ width: '100%', height: '100%' }} />
|
|
124
|
+
</div>
|
|
125
|
+
</div>
|
|
126
|
+
</AbsoluteFill>
|
|
127
|
+
);
|
|
128
|
+
};
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
// E 式急刹款 whip-brake——真实卡片切片横向长廊,甩过 9 张卡后
|
|
2
|
+
// 在目标卡(card4-hires,高清纹理)前急刹长尾滑入。
|
|
3
|
+
// 速率:前 70% 路程用 12f(糊),后 30% 路程 ease-out 48f 长尾。
|
|
4
|
+
// 节拍:0–30 起点 hold → 30–42 全速甩 → 42–90 急刹滑入 → 90–130 真静止。
|
|
5
|
+
import { AbsoluteFill, Img, interpolate, staticFile, useCurrentFrame, Easing } from 'remotion';
|
|
6
|
+
import { CameraMotionBlur } from '@remotion/motion-blur';
|
|
7
|
+
import layout from '../_textures/live-layout.json';
|
|
8
|
+
|
|
9
|
+
export const WHIPBRAKE_DUR = 130;
|
|
10
|
+
|
|
11
|
+
const RAIL = layout.projects.cards.slice(0, 9); // 9 张真实卡依次排开
|
|
12
|
+
const GAP = 60;
|
|
13
|
+
const CARD_W = 460;
|
|
14
|
+
const TARGET_I = 9; // 第 10 位:card4-hires 目标卡
|
|
15
|
+
const TOTAL = (TARGET_I + 1) * (CARD_W + GAP);
|
|
16
|
+
// 终点:目标卡居中(120 = 导轨起始偏移)
|
|
17
|
+
const END = 120 + TARGET_I * (CARD_W + GAP) + CARD_W / 2 - 960;
|
|
18
|
+
|
|
19
|
+
const Scene: React.FC = () => {
|
|
20
|
+
const frame = useCurrentFrame();
|
|
21
|
+
// 前 70% 路程 12f,后 30% 路程 48f ease-out 长尾
|
|
22
|
+
const dx = interpolate(frame, [30, 42, 90], [0, END * 0.7, END], {
|
|
23
|
+
extrapolateLeft: 'clamp',
|
|
24
|
+
extrapolateRight: 'clamp',
|
|
25
|
+
easing: Easing.out(Easing.cubic),
|
|
26
|
+
});
|
|
27
|
+
return (
|
|
28
|
+
<AbsoluteFill style={{ backgroundColor: '#f9f6f1', overflow: 'hidden' }}>
|
|
29
|
+
<div style={{ position: 'absolute', top: 340, transform: `translateX(${-dx}px)` }}>
|
|
30
|
+
{RAIL.map((c, k) => (
|
|
31
|
+
<Img
|
|
32
|
+
key={c.file + k}
|
|
33
|
+
src={staticFile(`textures/live/${c.file}`)}
|
|
34
|
+
style={{
|
|
35
|
+
position: 'absolute', left: 120 + k * (CARD_W + GAP), top: 0,
|
|
36
|
+
width: CARD_W, borderRadius: 12,
|
|
37
|
+
boxShadow: '0 4px 16px rgba(31,28,23,0.10)',
|
|
38
|
+
}}
|
|
39
|
+
/>
|
|
40
|
+
))}
|
|
41
|
+
{/* 目标卡:高清纹理,急刹落点 */}
|
|
42
|
+
<Img
|
|
43
|
+
src={staticFile('textures/live/card4-hires.png')}
|
|
44
|
+
style={{
|
|
45
|
+
position: 'absolute', left: 120 + TARGET_I * (CARD_W + GAP), top: -20,
|
|
46
|
+
width: CARD_W, borderRadius: 12,
|
|
47
|
+
boxShadow: '0 10px 32px rgba(31,28,23,0.18)',
|
|
48
|
+
}}
|
|
49
|
+
/>
|
|
50
|
+
</div>
|
|
51
|
+
</AbsoluteFill>
|
|
52
|
+
);
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
export const WhipBrakeReal: React.FC = () => (
|
|
56
|
+
// 峰值 ~710px/f:采样密度按"回波间距 ≤ 字高"配,20 samples 拖影连续
|
|
57
|
+
<CameraMotionBlur shutterAngle={200} samples={20}>
|
|
58
|
+
<Scene />
|
|
59
|
+
</CameraMotionBlur>
|
|
60
|
+
);
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
// E 式基本款 whip-pan——真实整页冻结纹理(demos/_textures/)。
|
|
2
|
+
// 世界:projects-full 顶部 section(A 景)与同页底部 section(B 景)横向并排
|
|
3
|
+
// ——模拟"功能段之间的区块交棒",相机 8f 甩 2880px(峰值 ~540px/f),
|
|
4
|
+
// blur 只包甩动段。节拍:0–35 A hold → 35–43 甩(糊)→ 43–120 B hold(真静止)。
|
|
5
|
+
import { AbsoluteFill, Img, interpolate, staticFile, useCurrentFrame, Easing } from 'remotion';
|
|
6
|
+
import { CameraMotionBlur } from '@remotion/motion-blur';
|
|
7
|
+
|
|
8
|
+
export const WHIPPAN_DUR = 120;
|
|
9
|
+
|
|
10
|
+
const SWING = 2880; // 1.5 屏
|
|
11
|
+
// 观察窗都对准 cards 网格区(页面空间 y≈247 起),viewport 顶对 y=180
|
|
12
|
+
const VIEW_Y = -180;
|
|
13
|
+
|
|
14
|
+
const Scene: React.FC = () => {
|
|
15
|
+
const frame = useCurrentFrame();
|
|
16
|
+
const dx = interpolate(frame, [35, 43], [0, SWING], {
|
|
17
|
+
extrapolateLeft: 'clamp',
|
|
18
|
+
extrapolateRight: 'clamp',
|
|
19
|
+
easing: Easing.bezier(0.6, 0, 0.4, 1),
|
|
20
|
+
});
|
|
21
|
+
return (
|
|
22
|
+
<AbsoluteFill style={{ backgroundColor: '#f9f6f1', overflow: 'hidden' }}>
|
|
23
|
+
<div style={{ position: 'absolute', transform: `translateX(${-dx}px)` }}>
|
|
24
|
+
{/* A 景:项目板全满 */}
|
|
25
|
+
<Img
|
|
26
|
+
src={staticFile('textures/live/projects-full.png')}
|
|
27
|
+
style={{ position: 'absolute', left: 0, top: VIEW_Y, width: 1920 }}
|
|
28
|
+
/>
|
|
29
|
+
{/* 缝隙纸色空场 960px——甩动中段一晃而过,全糊 */}
|
|
30
|
+
{/* B 景:同页底部 section(PERCEPTION & SENSING 区),换景可辨且内容饱满 */}
|
|
31
|
+
<Img
|
|
32
|
+
src={staticFile('textures/live/projects-full.png')}
|
|
33
|
+
style={{ position: 'absolute', left: SWING, top: -666, width: 1920 }}
|
|
34
|
+
/>
|
|
35
|
+
</div>
|
|
36
|
+
</AbsoluteFill>
|
|
37
|
+
);
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
export const WhipPanReal: React.FC = () => (
|
|
41
|
+
// 峰值 ~540px/f:采样按"回波间距 ≤ 字高"配,20 samples 拖影连续
|
|
42
|
+
<CameraMotionBlur shutterAngle={200} samples={20}>
|
|
43
|
+
<Scene />
|
|
44
|
+
</CameraMotionBlur>
|
|
45
|
+
);
|
|
@@ -0,0 +1,283 @@
|
|
|
1
|
+
// skeleton-reveal —— slack-promo 4–15s 合并
|
|
2
|
+
// 三级显影:全屏手绘粗笔触涂鸦占位(圆头 blob 线稿,煮沸抖动)→ 一拍内被
|
|
3
|
+
// 灰条骨架 UI 窗口替换 → 骨架消息列表滚入,镜头推近时灰条逐行"显影"成
|
|
4
|
+
// 头像+文字内容(最后一行末词晚半拍到)。
|
|
5
|
+
import React from 'react';
|
|
6
|
+
import {
|
|
7
|
+
AbsoluteFill,
|
|
8
|
+
useCurrentFrame,
|
|
9
|
+
useVideoConfig,
|
|
10
|
+
interpolate,
|
|
11
|
+
spring,
|
|
12
|
+
Easing,
|
|
13
|
+
} from 'remotion';
|
|
14
|
+
|
|
15
|
+
const mulberry32 = (a: number) => () => {
|
|
16
|
+
let t = (a += 0x6d2b79f5);
|
|
17
|
+
t = Math.imul(t ^ (t >>> 15), t | 1);
|
|
18
|
+
t ^= t + Math.imul(t ^ (t >>> 7), t | 61);
|
|
19
|
+
return ((t ^ (t >>> 14)) >>> 0) / 4294967296;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
const INK = '#2f2f2f';
|
|
23
|
+
const PAPER = '#f2f0ea';
|
|
24
|
+
|
|
25
|
+
// ——— 手绘涂鸦工具:把折线/圆加种子抖动,画粗圆头 stroke ———
|
|
26
|
+
const wobbleLine = (
|
|
27
|
+
x1: number, y1: number, x2: number, y2: number,
|
|
28
|
+
seed: number, amp = 7, segs = 8,
|
|
29
|
+
) => {
|
|
30
|
+
const rnd = mulberry32(seed);
|
|
31
|
+
const pts: string[] = [];
|
|
32
|
+
for (let i = 0; i <= segs; i++) {
|
|
33
|
+
const t = i / segs;
|
|
34
|
+
const jx = (rnd() - 0.5) * amp * 2;
|
|
35
|
+
const jy = (rnd() - 0.5) * amp * 2;
|
|
36
|
+
pts.push(`${i === 0 ? 'M' : 'L'} ${x1 + (x2 - x1) * t + jx} ${y1 + (y2 - y1) * t + jy}`);
|
|
37
|
+
}
|
|
38
|
+
return pts.join(' ');
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
const wobbleBlobRect = (
|
|
42
|
+
x: number, y: number, w: number, h: number,
|
|
43
|
+
seed: number, amp = 10, r = 70,
|
|
44
|
+
) => {
|
|
45
|
+
// 圆头 blob 矩形:四条边中段抖动,四角大圆弧
|
|
46
|
+
const rnd = mulberry32(seed);
|
|
47
|
+
const j = () => (rnd() - 0.5) * amp * 2;
|
|
48
|
+
return [
|
|
49
|
+
`M ${x + r + j()} ${y + j()}`,
|
|
50
|
+
`L ${x + w / 2 + j()} ${y + j()}`, `L ${x + w - r + j()} ${y + j()}`,
|
|
51
|
+
`Q ${x + w + j()} ${y + j()} ${x + w + j()} ${y + r + j()}`,
|
|
52
|
+
`L ${x + w + j()} ${y + h / 2 + j()}`, `L ${x + w + j()} ${y + h - r + j()}`,
|
|
53
|
+
`Q ${x + w + j()} ${y + h + j()} ${x + w - r + j()} ${y + h + j()}`,
|
|
54
|
+
`L ${x + w / 2 + j()} ${y + h + j()}`, `L ${x + r + j()} ${y + h + j()}`,
|
|
55
|
+
`Q ${x + j()} ${y + h + j()} ${x + j()} ${y + h - r + j()}`,
|
|
56
|
+
`L ${x + j()} ${y + h / 2 + j()}`, `L ${x + j()} ${y + r + j()}`,
|
|
57
|
+
`Q ${x + j()} ${y + j()} ${x + r + j()} ${y + j()}`,
|
|
58
|
+
].join(' ');
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
const wobbleCircle = (cx: number, cy: number, r: number, seed: number, amp = 6) => {
|
|
62
|
+
const rnd = mulberry32(seed);
|
|
63
|
+
const n = 14;
|
|
64
|
+
const pts: string[] = [];
|
|
65
|
+
for (let i = 0; i <= n; i++) {
|
|
66
|
+
const a = (i / n) * Math.PI * 2;
|
|
67
|
+
const rr = r + (rnd() - 0.5) * amp * 2;
|
|
68
|
+
pts.push(`${i === 0 ? 'M' : 'L'} ${cx + Math.cos(a) * rr} ${cy + Math.sin(a) * rr}`);
|
|
69
|
+
}
|
|
70
|
+
return pts.join(' ') + ' Z';
|
|
71
|
+
};
|
|
72
|
+
|
|
73
|
+
const Doodle: React.FC<{ boil: number }> = ({ boil }) => {
|
|
74
|
+
const S = boil * 977; // 每次煮沸换一套抖动种子
|
|
75
|
+
const stroke = {
|
|
76
|
+
fill: 'none' as const,
|
|
77
|
+
stroke: INK,
|
|
78
|
+
strokeLinecap: 'round' as const,
|
|
79
|
+
strokeLinejoin: 'round' as const,
|
|
80
|
+
};
|
|
81
|
+
return (
|
|
82
|
+
<svg width={1920} height={1080} style={{ position: 'absolute', inset: 0 }}>
|
|
83
|
+
{/* 窗口大 blob */}
|
|
84
|
+
<path d={wobbleBlobRect(250, 140, 1420, 800, S + 1)} {...stroke} strokeWidth={14} />
|
|
85
|
+
{/* 侧栏分隔 */}
|
|
86
|
+
<path d={wobbleLine(600, 160, 600, 920, S + 2)} {...stroke} strokeWidth={12} />
|
|
87
|
+
{/* 侧栏 logo blob + 短线 */}
|
|
88
|
+
<path d={wobbleCircle(420, 260, 52, S + 3)} {...stroke} strokeWidth={12} />
|
|
89
|
+
{Array.from({ length: 6 }).map((_, i) => (
|
|
90
|
+
<path
|
|
91
|
+
key={`sb${i}`}
|
|
92
|
+
d={wobbleLine(330, 400 + i * 82, 470 + ((i * 53) % 70), 400 + i * 82, S + 10 + i)}
|
|
93
|
+
{...stroke}
|
|
94
|
+
strokeWidth={11}
|
|
95
|
+
/>
|
|
96
|
+
))}
|
|
97
|
+
{/* 主区消息行:圆头像 blob + 波浪文字线 */}
|
|
98
|
+
{Array.from({ length: 4 }).map((_, i) => {
|
|
99
|
+
const y = 320 + i * 160;
|
|
100
|
+
return (
|
|
101
|
+
<g key={`row${i}`}>
|
|
102
|
+
<path d={wobbleCircle(720, y, 44, S + 30 + i)} {...stroke} strokeWidth={12} />
|
|
103
|
+
<path d={wobbleLine(810, y - 28, 1180 + ((i * 97) % 220), y - 28, S + 40 + i)} {...stroke} strokeWidth={11} />
|
|
104
|
+
<path d={wobbleLine(810, y + 24, 1420 - ((i * 71) % 260), y + 24, S + 50 + i)} {...stroke} strokeWidth={11} />
|
|
105
|
+
</g>
|
|
106
|
+
);
|
|
107
|
+
})}
|
|
108
|
+
</svg>
|
|
109
|
+
);
|
|
110
|
+
};
|
|
111
|
+
|
|
112
|
+
// ——— 骨架/内容消息行 ———
|
|
113
|
+
const NAMES = ['Ana', 'Ben', 'Kai', 'Mia'];
|
|
114
|
+
const AVA = ['#5a5a58', '#7a7a78', '#4a4a48', '#8f8f8d'];
|
|
115
|
+
const MSGS = [
|
|
116
|
+
'Morning! Kicking off the rebrand today',
|
|
117
|
+
'Logo drafts are ready for review',
|
|
118
|
+
'Nice — shipping the deck this afternoon',
|
|
119
|
+
'Love it. Can we make it pink?',
|
|
120
|
+
];
|
|
121
|
+
|
|
122
|
+
const Row: React.FC<{ i: number; dev: number; wordAt: (w: number, n: number) => number }> = ({
|
|
123
|
+
i, dev, wordAt,
|
|
124
|
+
}) => {
|
|
125
|
+
const words = MSGS[i].split(' ');
|
|
126
|
+
return (
|
|
127
|
+
<div style={{ position: 'relative', height: 96 }}>
|
|
128
|
+
{/* 骨架层 */}
|
|
129
|
+
<div style={{ position: 'absolute', inset: 0, display: 'flex', gap: 22, opacity: 1 - dev }}>
|
|
130
|
+
<div style={{ width: 72, height: 72, borderRadius: 16, background: '#d5d5d3' }} />
|
|
131
|
+
<div style={{ flex: 1, display: 'flex', flexDirection: 'column', gap: 14, paddingTop: 6 }}>
|
|
132
|
+
<div style={{ height: 18, width: 180 + ((i * 67) % 90), background: '#d5d5d3', borderRadius: 9 }} />
|
|
133
|
+
<div style={{ height: 16, width: `${58 + ((i * 31) % 30)}%`, background: '#e2e2e0', borderRadius: 8 }} />
|
|
134
|
+
</div>
|
|
135
|
+
</div>
|
|
136
|
+
{/* 内容层(逐词显影) */}
|
|
137
|
+
<div style={{ position: 'absolute', inset: 0, display: 'flex', gap: 22, opacity: dev > 0.02 ? 1 : 0 }}>
|
|
138
|
+
<div
|
|
139
|
+
style={{
|
|
140
|
+
width: 72, height: 72, borderRadius: 16, background: AVA[i],
|
|
141
|
+
color: '#fff', display: 'flex', alignItems: 'center', justifyContent: 'center',
|
|
142
|
+
fontSize: 32, fontWeight: 800, opacity: dev,
|
|
143
|
+
transform: `scale(${0.7 + 0.3 * dev})`,
|
|
144
|
+
}}
|
|
145
|
+
>
|
|
146
|
+
{NAMES[i][0]}
|
|
147
|
+
</div>
|
|
148
|
+
<div style={{ flex: 1, paddingTop: 2 }}>
|
|
149
|
+
<div style={{ fontSize: 26, fontWeight: 800, color: INK, opacity: dev }}>
|
|
150
|
+
{NAMES[i]}
|
|
151
|
+
<span style={{ fontWeight: 400, fontSize: 19, color: '#9a9a98', marginLeft: 12 }}>9:0{i + 1} AM</span>
|
|
152
|
+
</div>
|
|
153
|
+
<div style={{ fontSize: 27, color: '#3c3c3a', marginTop: 8 }}>
|
|
154
|
+
{words.map((w, wi) => {
|
|
155
|
+
const p = wordAt(wi, words.length);
|
|
156
|
+
return (
|
|
157
|
+
<span
|
|
158
|
+
key={wi}
|
|
159
|
+
style={{
|
|
160
|
+
display: 'inline-block',
|
|
161
|
+
marginRight: 9,
|
|
162
|
+
opacity: p,
|
|
163
|
+
transform: `translateY(${(1 - p) * 14}px)`,
|
|
164
|
+
}}
|
|
165
|
+
>
|
|
166
|
+
{w}
|
|
167
|
+
</span>
|
|
168
|
+
);
|
|
169
|
+
})}
|
|
170
|
+
</div>
|
|
171
|
+
</div>
|
|
172
|
+
</div>
|
|
173
|
+
</div>
|
|
174
|
+
);
|
|
175
|
+
};
|
|
176
|
+
|
|
177
|
+
export const SkeletonReveal: React.FC = () => {
|
|
178
|
+
const f = useCurrentFrame();
|
|
179
|
+
const { fps } = useVideoConfig();
|
|
180
|
+
|
|
181
|
+
const SWAP = 32; // 涂鸦 → 骨架的那一拍
|
|
182
|
+
|
|
183
|
+
// 涂鸦:煮沸抖动 + 一拍内被拉回替换(快速缩退 + 淡出,加速离场)
|
|
184
|
+
const boil = Math.floor(f / 5);
|
|
185
|
+
const doodleOut = interpolate(f, [SWAP, SWAP + 8], [0, 1], {
|
|
186
|
+
extrapolateLeft: 'clamp', extrapolateRight: 'clamp',
|
|
187
|
+
easing: Easing.in(Easing.cubic),
|
|
188
|
+
});
|
|
189
|
+
const doodleVisible = f < SWAP + 9;
|
|
190
|
+
|
|
191
|
+
// 骨架窗口:swap 时弹入
|
|
192
|
+
const winIn = spring({ frame: f - SWAP, fps, config: { damping: 16, stiffness: 160, mass: 0.7 } });
|
|
193
|
+
|
|
194
|
+
// 骨架列表滚入(第二拍)
|
|
195
|
+
const rowSlide = (i: number) =>
|
|
196
|
+
interpolate(f, [SWAP + 12 + i * 6, SWAP + 34 + i * 6], [520, 0], {
|
|
197
|
+
extrapolateLeft: 'clamp', extrapolateRight: 'clamp',
|
|
198
|
+
easing: Easing.out(Easing.cubic),
|
|
199
|
+
});
|
|
200
|
+
|
|
201
|
+
// 镜头推近
|
|
202
|
+
const zoom = interpolate(f, [66, 142], [1, 1.34], {
|
|
203
|
+
extrapolateLeft: 'clamp', extrapolateRight: 'clamp',
|
|
204
|
+
easing: Easing.inOut(Easing.cubic),
|
|
205
|
+
});
|
|
206
|
+
|
|
207
|
+
// 逐行显影
|
|
208
|
+
const devAt = (i: number) =>
|
|
209
|
+
interpolate(f, [80 + i * 13, 92 + i * 13], [0, 1], {
|
|
210
|
+
extrapolateLeft: 'clamp', extrapolateRight: 'clamp',
|
|
211
|
+
easing: Easing.out(Easing.quad),
|
|
212
|
+
});
|
|
213
|
+
|
|
214
|
+
// 逐词进场;最后一行最后一个词晚半拍(+14 帧)
|
|
215
|
+
const wordAt = (row: number) => (w: number, n: number) => {
|
|
216
|
+
const isLastWordOfLastRow = row === 3 && w === n - 1;
|
|
217
|
+
const start = 82 + row * 13 + w * 2.5 + (isLastWordOfLastRow ? 14 : 0);
|
|
218
|
+
return interpolate(f, [start, start + 9], [0, 1], {
|
|
219
|
+
extrapolateLeft: 'clamp', extrapolateRight: 'clamp',
|
|
220
|
+
easing: Easing.out(Easing.cubic),
|
|
221
|
+
});
|
|
222
|
+
};
|
|
223
|
+
|
|
224
|
+
return (
|
|
225
|
+
<AbsoluteFill style={{ background: PAPER, fontFamily: 'Helvetica, Arial, sans-serif', overflow: 'hidden' }}>
|
|
226
|
+
{/* 第三/二拍:骨架 UI 窗口 */}
|
|
227
|
+
{f >= SWAP && (
|
|
228
|
+
<AbsoluteFill
|
|
229
|
+
style={{
|
|
230
|
+
transform: `scale(${zoom})`,
|
|
231
|
+
transformOrigin: '58% 46%',
|
|
232
|
+
}}
|
|
233
|
+
>
|
|
234
|
+
<div
|
|
235
|
+
style={{
|
|
236
|
+
position: 'absolute', left: 250, top: 140, width: 1420, height: 800,
|
|
237
|
+
background: '#ffffff', border: '2px solid #d8d8d6', borderRadius: 22,
|
|
238
|
+
overflow: 'hidden', display: 'flex',
|
|
239
|
+
boxShadow: '0 12px 40px rgba(0,0,0,0.10)',
|
|
240
|
+
opacity: Math.min(1, winIn * 2),
|
|
241
|
+
transform: `scale(${interpolate(winIn, [0, 1], [1.08, 1])})`,
|
|
242
|
+
}}
|
|
243
|
+
>
|
|
244
|
+
{/* 侧栏 */}
|
|
245
|
+
<div style={{ width: 300, background: '#3a3a3a', padding: '30px 26px', boxSizing: 'border-box', display: 'flex', flexDirection: 'column', gap: 22 }}>
|
|
246
|
+
<div style={{ width: 46, height: 46, borderRadius: 12, background: '#777775' }} />
|
|
247
|
+
{Array.from({ length: 7 }).map((_, i) => (
|
|
248
|
+
<div key={i} style={{ height: 13, width: `${55 + ((i * 37) % 40)}%`, background: '#5a5a58', borderRadius: 7 }} />
|
|
249
|
+
))}
|
|
250
|
+
</div>
|
|
251
|
+
{/* 主区 */}
|
|
252
|
+
<div style={{ flex: 1, display: 'flex', flexDirection: 'column' }}>
|
|
253
|
+
<div style={{ height: 72, borderBottom: '2px solid #e4e4e2', display: 'flex', alignItems: 'center', padding: '0 34px' }}>
|
|
254
|
+
<div style={{ height: 18, width: 230, background: '#d5d5d3', borderRadius: 9 }} />
|
|
255
|
+
</div>
|
|
256
|
+
<div style={{ flex: 1, padding: '30px 40px', display: 'flex', flexDirection: 'column', gap: 32, overflow: 'hidden' }}>
|
|
257
|
+
{Array.from({ length: 4 }).map((_, i) => (
|
|
258
|
+
<div key={i} style={{ transform: `translateY(${rowSlide(i)}px)`, opacity: rowSlide(i) > 500 ? 0 : 1 }}>
|
|
259
|
+
<Row i={i} dev={devAt(i)} wordAt={wordAt(i)} />
|
|
260
|
+
</div>
|
|
261
|
+
))}
|
|
262
|
+
</div>
|
|
263
|
+
</div>
|
|
264
|
+
</div>
|
|
265
|
+
</AbsoluteFill>
|
|
266
|
+
)}
|
|
267
|
+
|
|
268
|
+
{/* 第一拍:手绘涂鸦占位(在骨架之上,一拍内缩退让位) */}
|
|
269
|
+
{doodleVisible && (
|
|
270
|
+
<AbsoluteFill
|
|
271
|
+
style={{
|
|
272
|
+
background: PAPER,
|
|
273
|
+
opacity: 1 - doodleOut,
|
|
274
|
+
transform: `scale(${1 - doodleOut * 0.14})`,
|
|
275
|
+
transformOrigin: '50% 50%',
|
|
276
|
+
}}
|
|
277
|
+
>
|
|
278
|
+
<Doodle boil={boil} />
|
|
279
|
+
</AbsoluteFill>
|
|
280
|
+
)}
|
|
281
|
+
</AbsoluteFill>
|
|
282
|
+
);
|
|
283
|
+
};
|