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,273 @@
|
|
|
1
|
+
// neon-frame-forerun-orbit v5(批次 14 #1)。用户意见(逐字):
|
|
2
|
+
// "这个应该是所有组件和文字同时从空中往下贴合"
|
|
3
|
+
// ——单点修正:v4 的错峰贴落改为**所有组件和文字同时**从空中往下贴合
|
|
4
|
+
// (同帧起落、同帧贴合,同形软影同步收敛)。判例:整体登场镜=同时贴合,
|
|
5
|
+
// 错峰是巡礼镜的语法。其余全部保留:同款霓虹渐变框+灰面板+背景霓虹管
|
|
6
|
+
// 框群;镜头视角 rotateY 从左侧(+38°) 连续弧线旋到右侧(-26°)。
|
|
7
|
+
import React from 'react';
|
|
8
|
+
import { AbsoluteFill, useCurrentFrame, interpolate, Easing } from 'remotion';
|
|
9
|
+
|
|
10
|
+
const easeFall = Easing.bezier(0.5, 0.05, 0.6, 1); // 加速下落、末端软着陆
|
|
11
|
+
|
|
12
|
+
/* 悬浮 + 同形软影(对标批次11 GrazeFaceTour FloatWrap):
|
|
13
|
+
* h=悬浮高度(px)。本体向左上抬起,原位留模糊压暗同形影,h→0 重合影消失 */
|
|
14
|
+
const FloatWrap: React.FC<{ h: number; children: React.ReactNode }> = ({ h, children }) => (
|
|
15
|
+
<div style={{ position: 'relative' }}>
|
|
16
|
+
{h > 1 && (
|
|
17
|
+
<div style={{
|
|
18
|
+
position: 'absolute', inset: 0,
|
|
19
|
+
transform: `translate(${h * 0.26}px, ${h * 0.48}px) scale(${1 + h * 0.0012})`,
|
|
20
|
+
filter: `blur(${2.5 + h * 0.09}px) brightness(0.32) saturate(0.4)`,
|
|
21
|
+
opacity: Math.min(0.4, 0.16 + h * 0.005),
|
|
22
|
+
pointerEvents: 'none',
|
|
23
|
+
}}>{children}</div>
|
|
24
|
+
)}
|
|
25
|
+
<div style={{ transform: `translate(${-h * 0.36}px, ${-h * 0.82}px)` }}>{children}</div>
|
|
26
|
+
</div>
|
|
27
|
+
);
|
|
28
|
+
|
|
29
|
+
/* v5:所有组件和文字**同时**从空中往下贴合——统一 land 时刻 LAND,
|
|
30
|
+
* 同帧起落(t=LAND-FALL)、同帧贴合(t=LAND),软影同步收敛;
|
|
31
|
+
* 各组件仅悬浮高度 H 略有差异(同窗下落,速度随高度自然区分) */
|
|
32
|
+
const LAND = 0.52;
|
|
33
|
+
const liftOf = (t: number, land: number, H: number) => {
|
|
34
|
+
const FALL = 0.3;
|
|
35
|
+
const p = Math.min(1, Math.max(0, (t - (LAND - FALL)) / FALL));
|
|
36
|
+
return (1 - easeFall(p)) * H;
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
const mulberry32 = (a: number) => () => {
|
|
40
|
+
let t = (a += 0x6d2b79f5);
|
|
41
|
+
t = Math.imul(t ^ (t >>> 15), t | 1);
|
|
42
|
+
t ^= t + Math.imul(t ^ (t >>> 7), t | 61);
|
|
43
|
+
return ((t ^ (t >>> 14)) >>> 0) / 4294967296;
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
const ink = '#3c3c3a';
|
|
47
|
+
const mid = '#9a9a98';
|
|
48
|
+
const line = '#e3e3e1';
|
|
49
|
+
|
|
50
|
+
const PW = 1330;
|
|
51
|
+
const PH = 900;
|
|
52
|
+
const PL = 1000;
|
|
53
|
+
|
|
54
|
+
const FRAME_D = `M 0 ${PH / 2} L 0 0 L ${PW} 0 L ${PW} ${PH} L 0 ${PH} Z`;
|
|
55
|
+
|
|
56
|
+
const Chip: React.FC<{ w: number }> = ({ w }) => (
|
|
57
|
+
<div style={{
|
|
58
|
+
width: w, height: 74, background: '#fdfdfc', border: `2px solid ${line}`,
|
|
59
|
+
borderRadius: 10, padding: '12px 14px', boxSizing: 'border-box',
|
|
60
|
+
display: 'flex', flexDirection: 'column', gap: 9,
|
|
61
|
+
}}>
|
|
62
|
+
<div style={{ height: 11, width: '70%', background: '#b5b5b3', borderRadius: 5 }} />
|
|
63
|
+
<div style={{ height: 9, width: '48%', background: line, borderRadius: 5 }} />
|
|
64
|
+
</div>
|
|
65
|
+
);
|
|
66
|
+
|
|
67
|
+
/* 与 v3 同款灰面板;t=贴落进程,各组件错峰空中贴落(重叠并行) */
|
|
68
|
+
const GrayHome: React.FC<{ t?: number }> = ({ t = 1 }) => {
|
|
69
|
+
const L = (land: number, H = 72) => liftOf(t, land, H * 1.7);
|
|
70
|
+
return (
|
|
71
|
+
<div style={{ width: PW, height: PH, background: '#f5f5f4', borderRadius: 6, display: 'flex', overflow: 'hidden', boxSizing: 'border-box' }}>
|
|
72
|
+
<div style={{ width: 290, borderRight: `2px solid ${line}`, padding: '26px 24px', boxSizing: 'border-box' }}>
|
|
73
|
+
<FloatWrap h={L(0.24, 84)}>
|
|
74
|
+
<div style={{ display: 'flex', alignItems: 'center', gap: 10, marginBottom: 28 }}>
|
|
75
|
+
<div style={{ width: 28, height: 28, borderRadius: 8, background: ink }} />
|
|
76
|
+
<div style={{ height: 15, width: 88, background: ink, borderRadius: 7 }} />
|
|
77
|
+
</div>
|
|
78
|
+
</FloatWrap>
|
|
79
|
+
{[76, 56, 96, 110, 66, 60].map((w, i) => (
|
|
80
|
+
<FloatWrap key={i} h={L(0.3 + i * 0.045, 66)}>
|
|
81
|
+
<div style={{ display: 'flex', alignItems: 'center', gap: 11, height: 34 }}>
|
|
82
|
+
<div style={{ width: 17, height: 17, borderRadius: 5, background: mid }} />
|
|
83
|
+
<div style={{ height: 10, width: w, background: '#c7c7c5', borderRadius: 5 }} />
|
|
84
|
+
</div>
|
|
85
|
+
</FloatWrap>
|
|
86
|
+
))}
|
|
87
|
+
<FloatWrap h={L(0.56, 62)}>
|
|
88
|
+
<div style={{ height: 11, width: 70, background: '#b0b0ae', borderRadius: 5, margin: '24px 0 12px' }} />
|
|
89
|
+
</FloatWrap>
|
|
90
|
+
{[104, 126, 96, 118, 88].map((w, i) => (
|
|
91
|
+
<FloatWrap key={i} h={L(0.62 + i * 0.05, 66)}>
|
|
92
|
+
<div style={{ display: 'flex', alignItems: 'center', gap: 11, height: 32 }}>
|
|
93
|
+
<div style={{ width: 16, height: 16, borderRadius: 4, background: '#b8b8b6' }} />
|
|
94
|
+
<div style={{ height: 10, width: w, background: '#cfcfcd', borderRadius: 5 }} />
|
|
95
|
+
</div>
|
|
96
|
+
</FloatWrap>
|
|
97
|
+
))}
|
|
98
|
+
</div>
|
|
99
|
+
<div style={{ flex: 1, padding: '30px 40px', boxSizing: 'border-box' }}>
|
|
100
|
+
<FloatWrap h={L(0.26, 90)}>
|
|
101
|
+
<div style={{ height: 24, width: 130, background: '#565654', borderRadius: 10, marginBottom: 22 }} />
|
|
102
|
+
</FloatWrap>
|
|
103
|
+
<FloatWrap h={L(0.34, 80)}>
|
|
104
|
+
<div style={{ height: 46, border: `2px solid ${line}`, borderRadius: 12, marginBottom: 26, display: 'flex', alignItems: 'center', padding: '0 16px', background: '#f5f5f4' }}>
|
|
105
|
+
<div style={{ width: 17, height: 17, borderRadius: 9, border: `2px solid ${mid}` }} />
|
|
106
|
+
<div style={{ height: 10, width: 250, background: line, borderRadius: 5, marginLeft: 12 }} />
|
|
107
|
+
</div>
|
|
108
|
+
</FloatWrap>
|
|
109
|
+
<div style={{ display: 'flex', gap: 16, flexWrap: 'wrap', marginBottom: 30 }}>
|
|
110
|
+
{[0, 1, 2, 3, 4, 5, 6].map((i) => (
|
|
111
|
+
<FloatWrap key={i} h={L(0.42 + i * 0.04, 76)}>
|
|
112
|
+
<Chip w={222} />
|
|
113
|
+
</FloatWrap>
|
|
114
|
+
))}
|
|
115
|
+
</div>
|
|
116
|
+
<FloatWrap h={L(0.72, 60)}>
|
|
117
|
+
<div style={{ display: 'flex', gap: 18, marginBottom: 18 }}>
|
|
118
|
+
{[54, 84, 50, 82].map((w, i) => (
|
|
119
|
+
<div key={i} style={{ height: 11, width: w, background: i === 0 ? '#8a8a88' : line, borderRadius: 5 }} />
|
|
120
|
+
))}
|
|
121
|
+
</div>
|
|
122
|
+
</FloatWrap>
|
|
123
|
+
{[0, 1, 2, 3].map((i) => (
|
|
124
|
+
<FloatWrap key={i} h={L(0.78 + i * 0.055, 64)}>
|
|
125
|
+
<div style={{ display: 'flex', alignItems: 'center', gap: 14, height: 46, borderBottom: `2px solid ${line}` }}>
|
|
126
|
+
<div style={{ width: 13, height: 13, borderRadius: 7, background: '#c26a6a' }} />
|
|
127
|
+
<div style={{ height: 11, width: 160 + ((i * 37) % 70), background: '#b6b6b4', borderRadius: 5 }} />
|
|
128
|
+
<div style={{ marginLeft: 'auto', display: 'flex', gap: 7 }}>
|
|
129
|
+
{[0, 1, 2].map((k) => <div key={k} style={{ width: 20, height: 20, borderRadius: 10, background: '#d2d2d0' }} />)}
|
|
130
|
+
</div>
|
|
131
|
+
</div>
|
|
132
|
+
</FloatWrap>
|
|
133
|
+
))}
|
|
134
|
+
</div>
|
|
135
|
+
</div>
|
|
136
|
+
);
|
|
137
|
+
};
|
|
138
|
+
|
|
139
|
+
type BgFrame = { x: number; y: number; w: number; h: number; hue: string; phase: number; period: number; skew: number };
|
|
140
|
+
const rng = mulberry32(20260718);
|
|
141
|
+
const HUES = ['#b06af0', '#e879c9', '#f0a35c', '#6a7df0', '#e0679a', '#8a5cf0', '#c06af0'];
|
|
142
|
+
const BG_FRAMES: BgFrame[] = Array.from({ length: 18 }).map(() => ({
|
|
143
|
+
x: rng() * 2000 - 120, y: rng() * 1100 - 60,
|
|
144
|
+
w: 160 + rng() * 480, h: 70 + rng() * 220,
|
|
145
|
+
hue: HUES[Math.floor(rng() * HUES.length)],
|
|
146
|
+
phase: rng() * 90, period: 55 + rng() * 70,
|
|
147
|
+
skew: -14 + rng() * 10,
|
|
148
|
+
}));
|
|
149
|
+
|
|
150
|
+
export const NeonFrameForerunOrbit: React.FC = () => {
|
|
151
|
+
const frame = useCurrentFrame();
|
|
152
|
+
// 开场快速描框(同款左缘中点两头奔画,14 帧成型——样式与 v3 一致)
|
|
153
|
+
const trace = interpolate(frame, [0, 14], [0, 1], {
|
|
154
|
+
extrapolateLeft: 'clamp', extrapolateRight: 'clamp',
|
|
155
|
+
easing: Easing.bezier(0.3, 0.1, 0.3, 1),
|
|
156
|
+
});
|
|
157
|
+
// 面板早亮:本变体主角是旋转+贴落,不复刻暗转亮长过程
|
|
158
|
+
const lit = interpolate(frame, [8, 30], [0.25, 1], {
|
|
159
|
+
extrapolateLeft: 'clamp', extrapolateRight: 'clamp',
|
|
160
|
+
easing: Easing.bezier(0.35, 0, 0.3, 1),
|
|
161
|
+
});
|
|
162
|
+
const frameLine = interpolate(frame, [96, 130], [1, 0.35], {
|
|
163
|
+
extrapolateLeft: 'clamp', extrapolateRight: 'clamp',
|
|
164
|
+
});
|
|
165
|
+
const rimGlow = interpolate(frame, [0, 20, 108, 138], [0.7, 1, 0.75, 0.5], {
|
|
166
|
+
extrapolateLeft: 'clamp', extrapolateRight: 'clamp',
|
|
167
|
+
});
|
|
168
|
+
const bgLit = interpolate(frame, [0, 30, 100, 136], [0.3, 1, 0.85, 0.1], {
|
|
169
|
+
extrapolateLeft: 'clamp', extrapolateRight: 'clamp',
|
|
170
|
+
});
|
|
171
|
+
// 视角弧线:从页面左侧(+38°)连续旋到右侧(-26°),全程不停——
|
|
172
|
+
// ease-in-out 起止柔和、中段持续转动
|
|
173
|
+
const orbit = interpolate(frame, [0, 128], [0, 1], {
|
|
174
|
+
extrapolateLeft: 'clamp', extrapolateRight: 'clamp',
|
|
175
|
+
easing: Easing.bezier(0.42, 0.05, 0.32, 1),
|
|
176
|
+
});
|
|
177
|
+
const rotY = 38 - 64 * orbit; // +38° → -26°
|
|
178
|
+
const rotX = 6 - 2.5 * orbit;
|
|
179
|
+
const rotZ = 3 - 7.5 * orbit; // 左视角微仰 → 右视角微俯(对齐 v3 落定姿态)
|
|
180
|
+
const scale = 0.9 + 0.1 * Math.sin(orbit * Math.PI) + 0.02 * orbit; // 弧线中段略推近
|
|
181
|
+
// 透视原点随视角横移:镜头从左绕到右
|
|
182
|
+
const pOrigin = 30 + 34 * orbit;
|
|
183
|
+
const headP = trace * (PL / 2);
|
|
184
|
+
// 贴落进程:与旋转同时进行(帧 10–118),错峰起点+重叠下落
|
|
185
|
+
const drop = interpolate(frame, [10, 118], [0, 1], {
|
|
186
|
+
extrapolateLeft: 'clamp', extrapolateRight: 'clamp',
|
|
187
|
+
});
|
|
188
|
+
|
|
189
|
+
return (
|
|
190
|
+
<AbsoluteFill style={{ background: '#060509', overflow: 'hidden' }}>
|
|
191
|
+
{/* 背景霓虹管框群(同款) */}
|
|
192
|
+
<svg width={1920} height={1080} style={{ position: 'absolute' }}>
|
|
193
|
+
<defs>
|
|
194
|
+
<filter id="obgblur" x="-60%" y="-60%" width="220%" height="220%">
|
|
195
|
+
<feGaussianBlur stdDeviation={7} />
|
|
196
|
+
</filter>
|
|
197
|
+
</defs>
|
|
198
|
+
{BG_FRAMES.map((b, i) => {
|
|
199
|
+
const breath = 0.5 + 0.5 * Math.sin(((frame + b.phase) / b.period) * Math.PI * 2);
|
|
200
|
+
const op = bgLit * (0.18 + 0.4 * breath);
|
|
201
|
+
return (
|
|
202
|
+
<g key={i} transform={`translate(${b.x} ${b.y}) skewY(${b.skew * 0.4}) skewX(${b.skew})`}>
|
|
203
|
+
<rect width={b.w} height={b.h} rx={4} fill="none"
|
|
204
|
+
stroke={b.hue} strokeWidth={7} filter="url(#obgblur)" opacity={op * 0.8} />
|
|
205
|
+
<rect width={b.w} height={b.h} rx={4} fill="none"
|
|
206
|
+
stroke={b.hue} strokeWidth={2} opacity={op} />
|
|
207
|
+
</g>
|
|
208
|
+
);
|
|
209
|
+
})}
|
|
210
|
+
</svg>
|
|
211
|
+
{/* 主体:视角弧线旋转中的框+面板 */}
|
|
212
|
+
<div style={{ position: 'absolute', inset: 0, perspective: 1500, perspectiveOrigin: `${pOrigin}% 44%` }}>
|
|
213
|
+
<div style={{
|
|
214
|
+
position: 'absolute', left: (1920 - PW) / 2, top: (1080 - PH) / 2 - 10,
|
|
215
|
+
transform: `scale(${scale}) rotateY(${rotY}deg) rotateX(${rotX}deg) rotateZ(${rotZ}deg)`,
|
|
216
|
+
transformStyle: 'preserve-3d',
|
|
217
|
+
}}>
|
|
218
|
+
<div style={{ opacity: trace > 0.4 ? 1 : 0, filter: `brightness(${Math.max(0.05, lit)})` }}>
|
|
219
|
+
<GrayHome t={drop} />
|
|
220
|
+
<div style={{
|
|
221
|
+
position: 'absolute', inset: 0, borderRadius: 6,
|
|
222
|
+
background: 'linear-gradient(150deg, rgba(30,20,60,0.5), rgba(0,0,0,0.78))',
|
|
223
|
+
opacity: 1 - lit,
|
|
224
|
+
}} />
|
|
225
|
+
</div>
|
|
226
|
+
<div style={{
|
|
227
|
+
position: 'absolute', left: -10, top: -10, width: PW + 20, height: PH + 20,
|
|
228
|
+
borderRadius: 12, opacity: rimGlow * Math.min(1, trace * 1.6),
|
|
229
|
+
boxShadow: '-18px -8px 42px 6px rgba(185,95,240,0.42), 22px 24px 56px 12px rgba(240,150,90,0.30), 0 14px 80px 22px rgba(200,100,220,0.20)',
|
|
230
|
+
}} />
|
|
231
|
+
<svg width={PW + 80} height={PH + 80} viewBox={`-40 -40 ${PW + 80} ${PH + 80}`}
|
|
232
|
+
style={{ position: 'absolute', left: -40, top: -40 }}>
|
|
233
|
+
<defs>
|
|
234
|
+
<linearGradient id="omainfg" gradientUnits="userSpaceOnUse" x1={0} y1={0} x2={PW} y2={PH}>
|
|
235
|
+
<stop offset="0%" stopColor="#c07af5" />
|
|
236
|
+
<stop offset="38%" stopColor="#e58bd8" />
|
|
237
|
+
<stop offset="72%" stopColor="#f0b06a" />
|
|
238
|
+
<stop offset="100%" stopColor="#e8925c" />
|
|
239
|
+
</linearGradient>
|
|
240
|
+
<filter id="ofblur" x="-40%" y="-40%" width="180%" height="180%">
|
|
241
|
+
<feGaussianBlur stdDeviation={10} />
|
|
242
|
+
</filter>
|
|
243
|
+
<filter id="ofblur2" x="-40%" y="-40%" width="180%" height="180%">
|
|
244
|
+
<feGaussianBlur stdDeviation={3} />
|
|
245
|
+
</filter>
|
|
246
|
+
</defs>
|
|
247
|
+
{[1, -1].map((dir) => (
|
|
248
|
+
<g key={dir}>
|
|
249
|
+
<path d={FRAME_D} pathLength={PL} fill="none" stroke="url(#omainfg)"
|
|
250
|
+
strokeWidth={14} strokeLinecap="butt" filter="url(#ofblur)"
|
|
251
|
+
strokeDasharray={`${headP} ${PL}`}
|
|
252
|
+
strokeDashoffset={dir === 1 ? 0 : -(PL - headP)}
|
|
253
|
+
opacity={0.6 * rimGlow} />
|
|
254
|
+
<path d={FRAME_D} pathLength={PL} fill="none" stroke="url(#omainfg)"
|
|
255
|
+
strokeWidth={3.5} strokeLinecap="butt"
|
|
256
|
+
strokeDasharray={`${headP} ${PL}`}
|
|
257
|
+
strokeDashoffset={dir === 1 ? 0 : -(PL - headP)}
|
|
258
|
+
opacity={0.95 * frameLine} />
|
|
259
|
+
{trace < 1 && (
|
|
260
|
+
<path d={FRAME_D} pathLength={PL} fill="none" stroke="#ffffff"
|
|
261
|
+
strokeWidth={6} strokeLinecap="round" filter="url(#ofblur2)"
|
|
262
|
+
strokeDasharray={`8 ${PL}`}
|
|
263
|
+
strokeDashoffset={dir === 1 ? -(Math.max(0, headP - 8)) : -(PL - headP)}
|
|
264
|
+
opacity={0.95} />
|
|
265
|
+
)}
|
|
266
|
+
</g>
|
|
267
|
+
))}
|
|
268
|
+
</svg>
|
|
269
|
+
</div>
|
|
270
|
+
</div>
|
|
271
|
+
</AbsoluteFill>
|
|
272
|
+
);
|
|
273
|
+
};
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
// neon-triple-marquee —— clickup-30 61–64.5s
|
|
2
|
+
// 三行霓虹描边巨字 BETTER/FASTER/STRONGER 满屏排布,
|
|
3
|
+
// 奇偶行反向匀速无限滚动(marquee 允许 linear),
|
|
4
|
+
// 三行明暗轮流脉冲(一行亮时其余压暗),结尾整组淡出。
|
|
5
|
+
import React from 'react';
|
|
6
|
+
import { AbsoluteFill, useCurrentFrame, interpolate } from 'remotion';
|
|
7
|
+
|
|
8
|
+
const FONT = '"Arial Black", "Helvetica Neue", Arial, sans-serif';
|
|
9
|
+
|
|
10
|
+
// 单行 marquee:副本按固定 unitW 等距绝对定位,平移取模 → 回绕无缝。
|
|
11
|
+
const MarqueeRow: React.FC<{
|
|
12
|
+
word: string;
|
|
13
|
+
color: string;
|
|
14
|
+
dir: 1 | -1;
|
|
15
|
+
speed: number; // px/frame
|
|
16
|
+
frame: number;
|
|
17
|
+
y: number;
|
|
18
|
+
fontSize: number;
|
|
19
|
+
brightness: number; // 0..1 脉冲亮度
|
|
20
|
+
}> = ({ word, color, dir, speed, frame, y, fontSize, brightness }) => {
|
|
21
|
+
// 逐字符估宽(上限估计),保证槽位 >= 实际文本宽,副本不重叠
|
|
22
|
+
const est = word.length * fontSize * 0.92;
|
|
23
|
+
const unitW = est + fontSize * 1.3; // 词间空隙(含分隔点)
|
|
24
|
+
const copies = Math.ceil(1920 / unitW) + 3;
|
|
25
|
+
const offsetRaw = (frame * speed) % unitW;
|
|
26
|
+
const offset = dir === 1 ? -unitW * 1.5 + offsetRaw : -unitW * 0.5 - offsetRaw;
|
|
27
|
+
|
|
28
|
+
const strokeW = 5 + brightness * 3;
|
|
29
|
+
|
|
30
|
+
return (
|
|
31
|
+
<div
|
|
32
|
+
style={{
|
|
33
|
+
position: 'absolute',
|
|
34
|
+
top: y,
|
|
35
|
+
left: 0,
|
|
36
|
+
width: '100%',
|
|
37
|
+
height: fontSize * 1.1,
|
|
38
|
+
overflow: 'visible',
|
|
39
|
+
transform: `translateX(${offset}px)`,
|
|
40
|
+
fontFamily: FONT,
|
|
41
|
+
fontWeight: 900,
|
|
42
|
+
fontSize,
|
|
43
|
+
letterSpacing: 4,
|
|
44
|
+
lineHeight: 1,
|
|
45
|
+
color: 'transparent',
|
|
46
|
+
WebkitTextStroke: `${strokeW}px ${color}`,
|
|
47
|
+
opacity: 0.35 + brightness * 0.65,
|
|
48
|
+
filter: `drop-shadow(0 0 ${8 + brightness * 22}px ${color}) drop-shadow(0 0 ${
|
|
49
|
+
20 + brightness * 50
|
|
50
|
+
}px ${color})`,
|
|
51
|
+
}}
|
|
52
|
+
>
|
|
53
|
+
{Array.from({ length: copies }).map((_, i) => (
|
|
54
|
+
<span
|
|
55
|
+
key={i}
|
|
56
|
+
style={{ position: 'absolute', left: i * unitW, top: 0, whiteSpace: 'nowrap' }}
|
|
57
|
+
>
|
|
58
|
+
{word}
|
|
59
|
+
<span style={{ display: 'inline-block', transform: `translateX(${fontSize * 0.4}px)` }}>
|
|
60
|
+
{'•'}
|
|
61
|
+
</span>
|
|
62
|
+
</span>
|
|
63
|
+
))}
|
|
64
|
+
</div>
|
|
65
|
+
);
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
export const NeonTripleMarquee: React.FC = () => {
|
|
69
|
+
const f = useCurrentFrame();
|
|
70
|
+
|
|
71
|
+
// 三行轮流脉冲:周期 45 帧,每行占 1/3 相位,余弦软脉冲
|
|
72
|
+
const pulse = (idx: number) => {
|
|
73
|
+
const period = 45;
|
|
74
|
+
const phase = (((f - idx * (period / 3)) % period) + period) % period;
|
|
75
|
+
const t = phase / period;
|
|
76
|
+
if (t < 1 / 3) return 0.5 - 0.5 * Math.cos(t * 3 * Math.PI * 2);
|
|
77
|
+
return 0;
|
|
78
|
+
};
|
|
79
|
+
|
|
80
|
+
// 入场淡入 + 结尾整组淡出
|
|
81
|
+
const groupOpacity = interpolate(f, [0, 10, 128, 148], [0, 1, 1, 0], {
|
|
82
|
+
extrapolateLeft: 'clamp',
|
|
83
|
+
extrapolateRight: 'clamp',
|
|
84
|
+
});
|
|
85
|
+
|
|
86
|
+
const rows: { word: string; color: string; dir: 1 | -1; speed: number }[] = [
|
|
87
|
+
{ word: 'BETTER', color: '#4d9fff', dir: 1, speed: 14 },
|
|
88
|
+
{ word: 'FASTER', color: '#ff4dd2', dir: -1, speed: 17 },
|
|
89
|
+
{ word: 'STRONGER', color: '#ffb347', dir: 1, speed: 14 },
|
|
90
|
+
];
|
|
91
|
+
|
|
92
|
+
return (
|
|
93
|
+
<AbsoluteFill style={{ background: '#050308', overflow: 'hidden' }}>
|
|
94
|
+
<div style={{ opacity: groupOpacity, position: 'absolute', inset: 0 }}>
|
|
95
|
+
{rows.map((r, i) => (
|
|
96
|
+
<MarqueeRow
|
|
97
|
+
key={r.word}
|
|
98
|
+
word={r.word}
|
|
99
|
+
color={r.color}
|
|
100
|
+
dir={r.dir}
|
|
101
|
+
speed={r.speed}
|
|
102
|
+
frame={f}
|
|
103
|
+
y={40 + i * 350}
|
|
104
|
+
fontSize={300}
|
|
105
|
+
brightness={pulse(i)}
|
|
106
|
+
/>
|
|
107
|
+
))}
|
|
108
|
+
</div>
|
|
109
|
+
</AbsoluteFill>
|
|
110
|
+
);
|
|
111
|
+
};
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
// 里程表数字滚动大字报(odometer-digit-roll)——声画钩子 / Vercel Ship 指标段。
|
|
2
|
+
// 全屏巨号 "99.98%"(190px fw800 tabular-nums),四个数位各是一条 0–9 纵向
|
|
3
|
+
// strip(overflow:hidden 数位盒),高速滚动后逐位停稳:位 i 在 20+i*7f 开始
|
|
4
|
+
// 减速(Easing.out(cubic)),过冲半格再 6f 弹回锁定。滚动期每位叠 2 个错帧
|
|
5
|
+
// 残影副本(translateY ±行高*0.5,opacity 0.25/0.12),按帧速度门控,停稳即摘。
|
|
6
|
+
// 小数点与 % 不滚动,一直驻场。
|
|
7
|
+
// 关键帧:0–20 四位全速滚(0.85 行/帧)→ 20/27/34/41 逐位开始减速(各 16f
|
|
8
|
+
// 减速 + 6f 回弹,锁定于 42/49/56/63)→ 63–71 整体加深脉冲(ink→#000→ink,
|
|
9
|
+
// 附 1.035 微缩放加码)→ 66–84 下方标签条淡入 → 84–150 全静止(66f ≥45f)。
|
|
10
|
+
import React from 'react';
|
|
11
|
+
import { useCurrentFrame, interpolate, interpolateColors, Easing } from 'remotion';
|
|
12
|
+
import { G, TitleBlock } from '../_fixtures/Fixtures';
|
|
13
|
+
|
|
14
|
+
const ROW = 210; // 数位行高(overflow 盒高)
|
|
15
|
+
const DW = 126; // 数位盒宽
|
|
16
|
+
const FS = 190; // 字号
|
|
17
|
+
const SPIN = 0.85; // 高速滚动速度:行/帧
|
|
18
|
+
const DIGITS = [9, 9, 9, 8]; // 目标数位("99.98" 中可滚的四位)
|
|
19
|
+
|
|
20
|
+
// 位 i 的 strip 位置(单位:行,连续值)。纯帧函数,天然确定性。
|
|
21
|
+
const posAt = (f: number, i: number): number => {
|
|
22
|
+
const d = DIGITS[i];
|
|
23
|
+
const s = 20 + i * 7; // 开始减速帧
|
|
24
|
+
const p0 = SPIN * s;
|
|
25
|
+
// 最小再走 6 行后,落在个位 = d 的最近整数位置
|
|
26
|
+
const T = Math.ceil((p0 + 6 - d) / 10) * 10 + d;
|
|
27
|
+
if (f < s) return SPIN * Math.max(f, 0);
|
|
28
|
+
if (f < s + 16)
|
|
29
|
+
return interpolate(f, [s, s + 16], [p0, T + 0.5], {
|
|
30
|
+
extrapolateLeft: 'clamp',
|
|
31
|
+
extrapolateRight: 'clamp',
|
|
32
|
+
easing: Easing.out(Easing.cubic),
|
|
33
|
+
});
|
|
34
|
+
if (f < s + 22)
|
|
35
|
+
return interpolate(f, [s + 16, s + 22], [T + 0.5, T], {
|
|
36
|
+
extrapolateLeft: 'clamp',
|
|
37
|
+
extrapolateRight: 'clamp',
|
|
38
|
+
easing: Easing.out(Easing.cubic),
|
|
39
|
+
});
|
|
40
|
+
return T;
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
// 一条 0–9 纵列 strip(两轮 20 格,容过冲跨界)
|
|
44
|
+
const Strip: React.FC<{ pos: number; color: string; opacity?: number; dy?: number }> = ({
|
|
45
|
+
pos,
|
|
46
|
+
color,
|
|
47
|
+
opacity = 1,
|
|
48
|
+
dy = 0,
|
|
49
|
+
}) => (
|
|
50
|
+
<div
|
|
51
|
+
style={{
|
|
52
|
+
position: 'absolute',
|
|
53
|
+
left: 0,
|
|
54
|
+
top: 0,
|
|
55
|
+
width: DW,
|
|
56
|
+
transform: `translateY(${-(pos % 10) * ROW + dy}px)`,
|
|
57
|
+
opacity,
|
|
58
|
+
}}
|
|
59
|
+
>
|
|
60
|
+
{Array.from({ length: 20 }).map((_, k) => (
|
|
61
|
+
<div
|
|
62
|
+
key={k}
|
|
63
|
+
style={{
|
|
64
|
+
width: DW,
|
|
65
|
+
height: ROW,
|
|
66
|
+
lineHeight: `${ROW}px`,
|
|
67
|
+
textAlign: 'center',
|
|
68
|
+
fontSize: FS,
|
|
69
|
+
fontWeight: 800,
|
|
70
|
+
fontVariantNumeric: 'tabular-nums',
|
|
71
|
+
color,
|
|
72
|
+
}}
|
|
73
|
+
>
|
|
74
|
+
{k % 10}
|
|
75
|
+
</div>
|
|
76
|
+
))}
|
|
77
|
+
</div>
|
|
78
|
+
);
|
|
79
|
+
|
|
80
|
+
// 单个数位盒:本体 strip + 滚动期 2 个错帧残影(速度门控,停稳即摘)
|
|
81
|
+
const DigitReel: React.FC<{ frame: number; i: number; color: string }> = ({ frame, i, color }) => {
|
|
82
|
+
const pos = posAt(frame, i);
|
|
83
|
+
const speed = Math.abs(pos - posAt(frame - 1, i));
|
|
84
|
+
const gate = interpolate(speed, [0.06, 0.5], [0, 1], {
|
|
85
|
+
extrapolateLeft: 'clamp',
|
|
86
|
+
extrapolateRight: 'clamp',
|
|
87
|
+
});
|
|
88
|
+
return (
|
|
89
|
+
<div style={{ position: 'relative', width: DW, height: ROW, overflow: 'hidden' }}>
|
|
90
|
+
{gate > 0.001 && (
|
|
91
|
+
<>
|
|
92
|
+
<Strip pos={pos} color={color} opacity={0.25 * gate} dy={ROW * 0.5} />
|
|
93
|
+
<Strip pos={pos} color={color} opacity={0.12 * gate} dy={-ROW * 0.5} />
|
|
94
|
+
</>
|
|
95
|
+
)}
|
|
96
|
+
<Strip pos={pos} color={color} />
|
|
97
|
+
</div>
|
|
98
|
+
);
|
|
99
|
+
};
|
|
100
|
+
|
|
101
|
+
// 不滚动的静态字符(小数点 / %),一直驻场
|
|
102
|
+
const StaticGlyph: React.FC<{ ch: string; color: string; w?: number }> = ({ ch, color, w }) => (
|
|
103
|
+
<div
|
|
104
|
+
style={{
|
|
105
|
+
width: w,
|
|
106
|
+
height: ROW,
|
|
107
|
+
lineHeight: `${ROW}px`,
|
|
108
|
+
textAlign: 'center',
|
|
109
|
+
fontSize: FS,
|
|
110
|
+
fontWeight: 800,
|
|
111
|
+
fontVariantNumeric: 'tabular-nums',
|
|
112
|
+
color,
|
|
113
|
+
}}
|
|
114
|
+
>
|
|
115
|
+
{ch}
|
|
116
|
+
</div>
|
|
117
|
+
);
|
|
118
|
+
|
|
119
|
+
export const OdometerDigitRoll: React.FC = () => {
|
|
120
|
+
const frame = useCurrentFrame();
|
|
121
|
+
// 全位锁定于 63f:整体加深脉冲 ink→#000→ink(8f),附微缩放加码可感性
|
|
122
|
+
const inkNow = interpolateColors(frame, [63, 67, 71], [G.ink, '#000000', G.ink]);
|
|
123
|
+
const pulseScale = interpolate(frame, [63, 67, 71], [1, 1.035, 1], {
|
|
124
|
+
extrapolateLeft: 'clamp',
|
|
125
|
+
extrapolateRight: 'clamp',
|
|
126
|
+
easing: Easing.inOut(Easing.quad),
|
|
127
|
+
});
|
|
128
|
+
const labelOp = interpolate(frame, [66, 84], [0, 1], {
|
|
129
|
+
extrapolateLeft: 'clamp',
|
|
130
|
+
extrapolateRight: 'clamp',
|
|
131
|
+
easing: Easing.out(Easing.quad),
|
|
132
|
+
});
|
|
133
|
+
|
|
134
|
+
return (
|
|
135
|
+
<div style={{ width: 1920, height: 1080, background: G.bg, position: 'relative', overflow: 'hidden' }}>
|
|
136
|
+
<div style={{ position: 'absolute', left: 120, top: 96 }}>
|
|
137
|
+
<TitleBlock text="ODOMETER DIGIT ROLL" size={54} />
|
|
138
|
+
</div>
|
|
139
|
+
<div
|
|
140
|
+
style={{
|
|
141
|
+
position: 'absolute',
|
|
142
|
+
left: 0,
|
|
143
|
+
top: 400,
|
|
144
|
+
width: 1920,
|
|
145
|
+
display: 'flex',
|
|
146
|
+
justifyContent: 'center',
|
|
147
|
+
fontFamily: 'Helvetica, Arial, sans-serif',
|
|
148
|
+
transform: `scale(${pulseScale})`,
|
|
149
|
+
transformOrigin: '960px 105px',
|
|
150
|
+
}}
|
|
151
|
+
>
|
|
152
|
+
<DigitReel frame={frame} i={0} color={inkNow} />
|
|
153
|
+
<DigitReel frame={frame} i={1} color={inkNow} />
|
|
154
|
+
<StaticGlyph ch="." color={inkNow} w={70} />
|
|
155
|
+
<DigitReel frame={frame} i={2} color={inkNow} />
|
|
156
|
+
<DigitReel frame={frame} i={3} color={inkNow} />
|
|
157
|
+
<StaticGlyph ch="%" color={inkNow} />
|
|
158
|
+
</div>
|
|
159
|
+
{/* 下方标签条:全部锁定后淡入 */}
|
|
160
|
+
<div
|
|
161
|
+
style={{
|
|
162
|
+
position: 'absolute',
|
|
163
|
+
left: 0,
|
|
164
|
+
top: 680,
|
|
165
|
+
width: 1920,
|
|
166
|
+
display: 'flex',
|
|
167
|
+
flexDirection: 'column',
|
|
168
|
+
alignItems: 'center',
|
|
169
|
+
gap: 16,
|
|
170
|
+
opacity: labelOp,
|
|
171
|
+
}}
|
|
172
|
+
>
|
|
173
|
+
<div style={{ width: 520, height: 22, background: G.bar, borderRadius: 11 }} />
|
|
174
|
+
<div style={{ width: 320, height: 14, background: G.line, borderRadius: 7 }} />
|
|
175
|
+
</div>
|
|
176
|
+
</div>
|
|
177
|
+
);
|
|
178
|
+
};
|