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,139 @@
|
|
|
1
|
+
// halation-bloom —— 高光晕染
|
|
2
|
+
// 深灰底大白字 "10x" crash-zoom 急停入场(2.4→1,7f in-quad + 2f 回弹)。
|
|
3
|
+
// 撞停帧起:底层复制文字(blur+提亮的白色晕层)猛涨一圈(scale 1→1.3,6f out-cubic 扩散),
|
|
4
|
+
// 再 20f 线性回落到 0.35 驻留柔晕(扩散/消散解耦判例),随后 15f 缓收到 0.22 稳态。
|
|
5
|
+
// 深底白字:白底上提亮不可见判例。收尾真静止 ≥40f。
|
|
6
|
+
import React from 'react';
|
|
7
|
+
import { useCurrentFrame, interpolate, Easing } from 'remotion';
|
|
8
|
+
|
|
9
|
+
const BG = '#2a2a28';
|
|
10
|
+
const WHITE = '#f7f7f5';
|
|
11
|
+
const MID = '#8f8f8d';
|
|
12
|
+
|
|
13
|
+
// —— 时间轴(30fps)——
|
|
14
|
+
const ZOOM_START = 8; // 入场起始
|
|
15
|
+
const IMPACT = 15; // 撞停帧(7f 急速缩入)
|
|
16
|
+
const REBOUND_END = 17; // 2f 回弹
|
|
17
|
+
const POP_END = IMPACT + 6; // 晕层猛涨 6f → f21
|
|
18
|
+
const FALL_END = POP_END + 20; // 20f 线性回落 → f41
|
|
19
|
+
const SETTLE_END = FALL_END + 15; // 15f 缓收 → f56,此后全静止
|
|
20
|
+
// 总时长 145f → 静止 89f ≥ 40f
|
|
21
|
+
|
|
22
|
+
const TextBlock: React.FC<{ color: string }> = ({ color }) => (
|
|
23
|
+
<div
|
|
24
|
+
style={{
|
|
25
|
+
fontFamily: 'Helvetica, Arial, sans-serif',
|
|
26
|
+
fontSize: 260,
|
|
27
|
+
fontWeight: 800,
|
|
28
|
+
color,
|
|
29
|
+
letterSpacing: '-0.02em',
|
|
30
|
+
lineHeight: 1,
|
|
31
|
+
whiteSpace: 'nowrap',
|
|
32
|
+
}}
|
|
33
|
+
>
|
|
34
|
+
10x
|
|
35
|
+
</div>
|
|
36
|
+
);
|
|
37
|
+
|
|
38
|
+
export const HalationBloom: React.FC = () => {
|
|
39
|
+
const frame = useCurrentFrame();
|
|
40
|
+
|
|
41
|
+
// —— crash-zoom 入场:scale 2.4 → 0.94(7f in-quad 加速撞停)→ 1(2f 回弹)——
|
|
42
|
+
const zoomIn = interpolate(frame, [ZOOM_START, IMPACT], [2.4, 0.94], {
|
|
43
|
+
easing: Easing.in(Easing.quad),
|
|
44
|
+
extrapolateLeft: 'clamp',
|
|
45
|
+
extrapolateRight: 'clamp',
|
|
46
|
+
});
|
|
47
|
+
const rebound = interpolate(frame, [IMPACT, REBOUND_END], [0.94, 1], {
|
|
48
|
+
easing: Easing.out(Easing.quad),
|
|
49
|
+
extrapolateLeft: 'clamp',
|
|
50
|
+
extrapolateRight: 'clamp',
|
|
51
|
+
});
|
|
52
|
+
const textScale = frame < IMPACT ? zoomIn : rebound;
|
|
53
|
+
const textOpacity = interpolate(frame, [ZOOM_START, ZOOM_START + 3], [0, 1], {
|
|
54
|
+
extrapolateLeft: 'clamp',
|
|
55
|
+
extrapolateRight: 'clamp',
|
|
56
|
+
});
|
|
57
|
+
|
|
58
|
+
// —— 晕层:撞停帧起条件挂载 ——
|
|
59
|
+
// 扩散(scale):out-cubic,6f 猛涨 1 → 1.3
|
|
60
|
+
const bloomScale = interpolate(frame, [IMPACT, POP_END], [1, 1.3], {
|
|
61
|
+
easing: Easing.out(Easing.cubic),
|
|
62
|
+
extrapolateLeft: 'clamp',
|
|
63
|
+
extrapolateRight: 'clamp',
|
|
64
|
+
});
|
|
65
|
+
// 消散(opacity):与扩散解耦——猛涨段保持全亮,随后 20f 线性回落到 0.35
|
|
66
|
+
const bloomFall = interpolate(frame, [POP_END, FALL_END], [1, 0.35], {
|
|
67
|
+
extrapolateLeft: 'clamp',
|
|
68
|
+
extrapolateRight: 'clamp',
|
|
69
|
+
});
|
|
70
|
+
// 驻留晕 15f 缓收到 0.22 稳态
|
|
71
|
+
const bloomSettle = interpolate(frame, [FALL_END, SETTLE_END], [0.35, 0.22], {
|
|
72
|
+
easing: Easing.out(Easing.quad),
|
|
73
|
+
extrapolateLeft: 'clamp',
|
|
74
|
+
extrapolateRight: 'clamp',
|
|
75
|
+
});
|
|
76
|
+
const bloomOpacity = frame < FALL_END ? bloomFall : bloomSettle;
|
|
77
|
+
|
|
78
|
+
return (
|
|
79
|
+
<div
|
|
80
|
+
style={{
|
|
81
|
+
width: 1920,
|
|
82
|
+
height: 1080,
|
|
83
|
+
background: BG,
|
|
84
|
+
position: 'relative',
|
|
85
|
+
overflow: 'hidden',
|
|
86
|
+
}}
|
|
87
|
+
>
|
|
88
|
+
{/* 小标签,全程静态 */}
|
|
89
|
+
<div
|
|
90
|
+
style={{
|
|
91
|
+
position: 'absolute',
|
|
92
|
+
top: 110,
|
|
93
|
+
width: '100%',
|
|
94
|
+
textAlign: 'center',
|
|
95
|
+
fontFamily: 'Helvetica, Arial, sans-serif',
|
|
96
|
+
fontSize: 30,
|
|
97
|
+
fontWeight: 700,
|
|
98
|
+
letterSpacing: '0.35em',
|
|
99
|
+
color: MID,
|
|
100
|
+
}}
|
|
101
|
+
>
|
|
102
|
+
HALATION BLOOM
|
|
103
|
+
</div>
|
|
104
|
+
|
|
105
|
+
{/* 晕层:文字复制底层,blur + 提亮,撞停帧起条件挂载 */}
|
|
106
|
+
{frame >= IMPACT && (
|
|
107
|
+
<div
|
|
108
|
+
style={{
|
|
109
|
+
position: 'absolute',
|
|
110
|
+
inset: 0,
|
|
111
|
+
display: 'flex',
|
|
112
|
+
alignItems: 'center',
|
|
113
|
+
justifyContent: 'center',
|
|
114
|
+
transform: `scale(${bloomScale})`,
|
|
115
|
+
opacity: bloomOpacity,
|
|
116
|
+
filter: 'blur(22px) brightness(1.8)',
|
|
117
|
+
}}
|
|
118
|
+
>
|
|
119
|
+
<TextBlock color={WHITE} />
|
|
120
|
+
</div>
|
|
121
|
+
)}
|
|
122
|
+
|
|
123
|
+
{/* 本体文字:crash-zoom 急停 */}
|
|
124
|
+
<div
|
|
125
|
+
style={{
|
|
126
|
+
position: 'absolute',
|
|
127
|
+
inset: 0,
|
|
128
|
+
display: 'flex',
|
|
129
|
+
alignItems: 'center',
|
|
130
|
+
justifyContent: 'center',
|
|
131
|
+
transform: `scale(${textScale})`,
|
|
132
|
+
opacity: textOpacity,
|
|
133
|
+
}}
|
|
134
|
+
>
|
|
135
|
+
<TextBlock color={WHITE} />
|
|
136
|
+
</div>
|
|
137
|
+
</div>
|
|
138
|
+
);
|
|
139
|
+
};
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
// sheen-sweep-retry —— 单点扫光(高标准重试)
|
|
2
|
+
// 深墨大卡居中,一道 45° 高光带在 40–68f 从左外扫到右外,仅此一次。
|
|
3
|
+
// 约束:单点(只扫主角卡)、圆角裁剪(overflow hidden)、扫前扫后完全静止。
|
|
4
|
+
import React from 'react';
|
|
5
|
+
import { useCurrentFrame, interpolate, Easing } from 'remotion';
|
|
6
|
+
import { G } from '../_fixtures/Fixtures';
|
|
7
|
+
|
|
8
|
+
const CARD_W = 760;
|
|
9
|
+
const CARD_H = 420;
|
|
10
|
+
const SHEEN_W = CARD_W * 1.6; // 1216
|
|
11
|
+
|
|
12
|
+
export const SheenSweepRetry: React.FC = () => {
|
|
13
|
+
const frame = useCurrentFrame();
|
|
14
|
+
|
|
15
|
+
// 扫光:40–68f,从卡左外(-SHEEN_W)扫到卡右外(CARD_W),inOut(cubic),只一次
|
|
16
|
+
const sweepActive = frame >= 40 && frame <= 68;
|
|
17
|
+
const x = interpolate(frame, [40, 68], [-SHEEN_W, CARD_W], {
|
|
18
|
+
easing: Easing.inOut(Easing.cubic),
|
|
19
|
+
extrapolateLeft: 'clamp',
|
|
20
|
+
extrapolateRight: 'clamp',
|
|
21
|
+
});
|
|
22
|
+
|
|
23
|
+
return (
|
|
24
|
+
<div
|
|
25
|
+
style={{
|
|
26
|
+
width: 1920,
|
|
27
|
+
height: 1080,
|
|
28
|
+
background: G.bg,
|
|
29
|
+
display: 'flex',
|
|
30
|
+
alignItems: 'center',
|
|
31
|
+
justifyContent: 'center',
|
|
32
|
+
fontFamily: 'Helvetica, Arial, sans-serif',
|
|
33
|
+
}}
|
|
34
|
+
>
|
|
35
|
+
<div
|
|
36
|
+
style={{
|
|
37
|
+
width: CARD_W,
|
|
38
|
+
height: CARD_H,
|
|
39
|
+
background: G.side,
|
|
40
|
+
borderRadius: 24,
|
|
41
|
+
overflow: 'hidden', // 圆角裁剪:高光带被卡的圆角裁住
|
|
42
|
+
position: 'relative',
|
|
43
|
+
boxShadow: '0 12px 40px rgba(0,0,0,0.22)',
|
|
44
|
+
boxSizing: 'border-box',
|
|
45
|
+
padding: '64px 72px',
|
|
46
|
+
display: 'flex',
|
|
47
|
+
flexDirection: 'column',
|
|
48
|
+
justifyContent: 'center',
|
|
49
|
+
gap: 28,
|
|
50
|
+
}}
|
|
51
|
+
>
|
|
52
|
+
<div
|
|
53
|
+
style={{
|
|
54
|
+
fontSize: 130,
|
|
55
|
+
fontWeight: 800,
|
|
56
|
+
color: '#f5f5f3',
|
|
57
|
+
letterSpacing: 2,
|
|
58
|
+
lineHeight: 1,
|
|
59
|
+
}}
|
|
60
|
+
>
|
|
61
|
+
PRO
|
|
62
|
+
</div>
|
|
63
|
+
<div style={{ height: 16, width: 380, background: G.sideBar, borderRadius: 8 }} />
|
|
64
|
+
<div style={{ height: 16, width: 260, background: G.sideBar, borderRadius: 8 }} />
|
|
65
|
+
|
|
66
|
+
{/* 高光带:条件挂载,扫完即摘罩,收尾真静止 */}
|
|
67
|
+
{sweepActive && (
|
|
68
|
+
<div
|
|
69
|
+
style={{
|
|
70
|
+
position: 'absolute',
|
|
71
|
+
top: 0,
|
|
72
|
+
left: 0,
|
|
73
|
+
width: SHEEN_W,
|
|
74
|
+
height: CARD_H,
|
|
75
|
+
transform: `translateX(${x}px)`,
|
|
76
|
+
background:
|
|
77
|
+
'linear-gradient(115deg, transparent 42%, rgba(255,255,255,0.32) 50%, transparent 58%)',
|
|
78
|
+
pointerEvents: 'none',
|
|
79
|
+
}}
|
|
80
|
+
/>
|
|
81
|
+
)}
|
|
82
|
+
</div>
|
|
83
|
+
</div>
|
|
84
|
+
);
|
|
85
|
+
};
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { AbsoluteFill, useCurrentFrame, interpolate, Easing } from 'remotion';
|
|
3
|
+
|
|
4
|
+
// spotlight-sweep-reveal: 聚光灯摆动扫字
|
|
5
|
+
// 暗场 #2a2a28,标题两行常驻 opacity 0.07;亮版同文本用 radial-gradient mask,
|
|
6
|
+
// 光斑 x 按 sin 摆动扫两个来回(周期 ~55f),f110 后全字提亮定格,
|
|
7
|
+
// 光斑/光锥线性消散并在 f>=125 条件卸载,125–160 真静止 35f。
|
|
8
|
+
|
|
9
|
+
const BG = '#2a2a28';
|
|
10
|
+
const INKW = '#f5f5f3';
|
|
11
|
+
|
|
12
|
+
const CX = 960;
|
|
13
|
+
const CY = 540;
|
|
14
|
+
const AMP = 560; // 摆动幅度
|
|
15
|
+
const PERIOD = 55; // 单个来回帧数
|
|
16
|
+
const SWEEP_END = 110; // 两个来回结束
|
|
17
|
+
const REVEAL_END = 125; // 提亮完成,之后真静止
|
|
18
|
+
|
|
19
|
+
const textStyle: React.CSSProperties = {
|
|
20
|
+
fontFamily: 'Helvetica Neue, Helvetica, Arial, sans-serif',
|
|
21
|
+
fontSize: 150,
|
|
22
|
+
fontWeight: 800,
|
|
23
|
+
lineHeight: 1.15,
|
|
24
|
+
letterSpacing: '0.04em',
|
|
25
|
+
color: INKW,
|
|
26
|
+
textAlign: 'center',
|
|
27
|
+
whiteSpace: 'pre',
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
const TitleText: React.FC = () => (
|
|
31
|
+
<AbsoluteFill style={{ justifyContent: 'center', alignItems: 'center' }}>
|
|
32
|
+
<div style={textStyle}>{'SPOTLIGHT\nON'}</div>
|
|
33
|
+
</AbsoluteFill>
|
|
34
|
+
);
|
|
35
|
+
|
|
36
|
+
export const SpotlightSweepReveal: React.FC = () => {
|
|
37
|
+
const f = useCurrentFrame();
|
|
38
|
+
|
|
39
|
+
// 光斑 x:sin 摆动,两个来回后停在中心
|
|
40
|
+
const sweepF = Math.min(f, SWEEP_END);
|
|
41
|
+
const x = CX + AMP * Math.sin((2 * Math.PI * sweepF) / PERIOD);
|
|
42
|
+
|
|
43
|
+
// 全字提亮(扩散感 out-cubic)
|
|
44
|
+
const brighten = interpolate(f, [SWEEP_END, REVEAL_END], [0, 1], {
|
|
45
|
+
extrapolateLeft: 'clamp',
|
|
46
|
+
extrapolateRight: 'clamp',
|
|
47
|
+
easing: Easing.out(Easing.cubic),
|
|
48
|
+
});
|
|
49
|
+
// 光斑/光锥消散(线性)
|
|
50
|
+
const fadeOut = interpolate(f, [SWEEP_END, REVEAL_END], [1, 0], {
|
|
51
|
+
extrapolateLeft: 'clamp',
|
|
52
|
+
extrapolateRight: 'clamp',
|
|
53
|
+
});
|
|
54
|
+
const sweepAlive = f < REVEAL_END; // 条件卸载,保证末段真静止
|
|
55
|
+
|
|
56
|
+
const maskGrad = `radial-gradient(circle 380px at ${x}px ${CY}px, rgba(0,0,0,1) 0%, rgba(0,0,0,0.95) 45%, rgba(0,0,0,0) 100%)`;
|
|
57
|
+
|
|
58
|
+
return (
|
|
59
|
+
<AbsoluteFill style={{ backgroundColor: BG }}>
|
|
60
|
+
{/* 暗版文字常驻 */}
|
|
61
|
+
<AbsoluteFill style={{ opacity: 0.07 }}>
|
|
62
|
+
<TitleText />
|
|
63
|
+
</AbsoluteFill>
|
|
64
|
+
|
|
65
|
+
{sweepAlive && (
|
|
66
|
+
<>
|
|
67
|
+
{/* 光锥:从顶部收拢到光斑 */}
|
|
68
|
+
<AbsoluteFill
|
|
69
|
+
style={{
|
|
70
|
+
opacity: fadeOut,
|
|
71
|
+
clipPath: `polygon(${CX - 70}px -40px, ${CX + 70}px -40px, ${x + 420}px ${CY + 230}px, ${x - 420}px ${CY + 230}px)`,
|
|
72
|
+
background:
|
|
73
|
+
'linear-gradient(to bottom, rgba(245,245,243,0.16), rgba(245,245,243,0.03) 85%, rgba(245,245,243,0) 100%)',
|
|
74
|
+
}}
|
|
75
|
+
/>
|
|
76
|
+
{/* 落在暗墙上的柔光斑 */}
|
|
77
|
+
<AbsoluteFill
|
|
78
|
+
style={{
|
|
79
|
+
opacity: fadeOut,
|
|
80
|
+
background: `radial-gradient(circle 460px at ${x}px ${CY}px, rgba(245,245,243,0.22) 0%, rgba(245,245,243,0.08) 55%, rgba(245,245,243,0) 100%)`,
|
|
81
|
+
}}
|
|
82
|
+
/>
|
|
83
|
+
{/* 亮版文字,按帧移动的 radial mask */}
|
|
84
|
+
<AbsoluteFill
|
|
85
|
+
style={{
|
|
86
|
+
opacity: fadeOut === 1 ? 1 : Math.max(fadeOut, 0),
|
|
87
|
+
WebkitMaskImage: maskGrad,
|
|
88
|
+
maskImage: maskGrad,
|
|
89
|
+
}}
|
|
90
|
+
>
|
|
91
|
+
<TitleText />
|
|
92
|
+
</AbsoluteFill>
|
|
93
|
+
</>
|
|
94
|
+
)}
|
|
95
|
+
|
|
96
|
+
{/* 全亮定格层 */}
|
|
97
|
+
<AbsoluteFill style={{ opacity: brighten }}>
|
|
98
|
+
<TitleText />
|
|
99
|
+
</AbsoluteFill>
|
|
100
|
+
</AbsoluteFill>
|
|
101
|
+
);
|
|
102
|
+
};
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
// 线条沸腾(line-boil)——手绘动画 line boil 质感:静止线稿在"沸腾段"
|
|
2
|
+
// 边缘逐帧微颤,像手绘逐帧描线的抖动。SVG filter feTurbulence(baseFrequency
|
|
3
|
+
// 0.015, numOctaves 2, seed = Math.floor(f/3) 每 3 帧阶梯换) + feDisplacementMap
|
|
4
|
+
// scale=8(原案 3–6 已按可感性加码)作用于大标题 "ALIVE" 与描边卡整层。
|
|
5
|
+
// 结构靠"对比"可感:先静止(干净版)→ 沸腾 → 摘罩回静止;判例:feTurbulence
|
|
6
|
+
// 收尾必须整个 filter 移除(沸腾段外根本不渲染 filter 与 SVG def),
|
|
7
|
+
// 105f 起逐帧完全相同,真静止 ≥35f。
|
|
8
|
+
// 关键帧:0–35 完全静止(boil off) → 35–105 沸腾(boil on, seed 每 3 帧一换)
|
|
9
|
+
// → 105 摘罩 → 105–140 真静止(boil off)。
|
|
10
|
+
import React from 'react';
|
|
11
|
+
import { useCurrentFrame, interpolate } from 'remotion';
|
|
12
|
+
import { G, TitleBlock } from '../_fixtures/Fixtures';
|
|
13
|
+
|
|
14
|
+
const BOIL_START = 35;
|
|
15
|
+
const BOIL_END = 105;
|
|
16
|
+
const BOIL_SCALE = 8; // 原案 3–6 已按可感性加码;QA 看不出再加到 12
|
|
17
|
+
|
|
18
|
+
const CornerTag: React.FC<{ text: string; opacity: number }> = ({ text, opacity }) => (
|
|
19
|
+
<div
|
|
20
|
+
style={{
|
|
21
|
+
position: 'absolute',
|
|
22
|
+
right: 72,
|
|
23
|
+
bottom: 56,
|
|
24
|
+
padding: '10px 22px',
|
|
25
|
+
border: `3px solid ${G.ink}`,
|
|
26
|
+
borderRadius: 999,
|
|
27
|
+
color: G.ink,
|
|
28
|
+
background: G.bg,
|
|
29
|
+
fontFamily: 'Helvetica, Arial, sans-serif',
|
|
30
|
+
fontWeight: 700,
|
|
31
|
+
fontSize: 30,
|
|
32
|
+
letterSpacing: 2,
|
|
33
|
+
opacity,
|
|
34
|
+
}}
|
|
35
|
+
>
|
|
36
|
+
{text}
|
|
37
|
+
</div>
|
|
38
|
+
);
|
|
39
|
+
|
|
40
|
+
export const LineBoil: React.FC = () => {
|
|
41
|
+
const f = useCurrentFrame();
|
|
42
|
+
const boiling = f >= BOIL_START && f < BOIL_END;
|
|
43
|
+
// seed 每 3 帧阶梯换 → 8~10Hz 的手绘颤动感;帧确定,无随机源
|
|
44
|
+
const seed = Math.floor(f / 3);
|
|
45
|
+
|
|
46
|
+
// 角标:boil on 只在沸腾段淡入淡出;boil off 与之互补。
|
|
47
|
+
// 全部过渡在 105f 前完成 → 105–140 逐帧完全相同
|
|
48
|
+
const onOp = interpolate(f, [35, 40, 100, 105], [0, 1, 1, 0], {
|
|
49
|
+
extrapolateLeft: 'clamp',
|
|
50
|
+
extrapolateRight: 'clamp',
|
|
51
|
+
});
|
|
52
|
+
const offOp = 1 - onOp;
|
|
53
|
+
|
|
54
|
+
return (
|
|
55
|
+
<div style={{ width: 1920, height: 1080, background: G.bg, position: 'relative', overflow: 'hidden' }}>
|
|
56
|
+
{/* 沸腾段才渲染 filter 定义——摘罩即整个 SVG def 消失,收尾天然真静止 */}
|
|
57
|
+
{boiling && (
|
|
58
|
+
<svg width={0} height={0} style={{ position: 'absolute' }}>
|
|
59
|
+
<defs>
|
|
60
|
+
<filter id="boil" x="-15%" y="-15%" width="130%" height="130%">
|
|
61
|
+
<feTurbulence
|
|
62
|
+
type="fractalNoise"
|
|
63
|
+
baseFrequency={0.015}
|
|
64
|
+
numOctaves={2}
|
|
65
|
+
seed={seed}
|
|
66
|
+
result="noise"
|
|
67
|
+
/>
|
|
68
|
+
<feDisplacementMap
|
|
69
|
+
in="SourceGraphic"
|
|
70
|
+
in2="noise"
|
|
71
|
+
scale={BOIL_SCALE}
|
|
72
|
+
xChannelSelector="R"
|
|
73
|
+
yChannelSelector="G"
|
|
74
|
+
/>
|
|
75
|
+
</filter>
|
|
76
|
+
</defs>
|
|
77
|
+
</svg>
|
|
78
|
+
)}
|
|
79
|
+
|
|
80
|
+
{/* 手法名标签:不入滤镜层,作为静止参照物 */}
|
|
81
|
+
<div style={{ position: 'absolute', left: 120, top: 96 }}>
|
|
82
|
+
<TitleBlock text="LINE BOIL" size={54} />
|
|
83
|
+
</div>
|
|
84
|
+
|
|
85
|
+
{/* 被沸腾的整层:大标题 + 描边卡 */}
|
|
86
|
+
<div
|
|
87
|
+
style={{
|
|
88
|
+
position: 'absolute',
|
|
89
|
+
inset: 0,
|
|
90
|
+
display: 'flex',
|
|
91
|
+
flexDirection: 'column',
|
|
92
|
+
alignItems: 'center',
|
|
93
|
+
justifyContent: 'center',
|
|
94
|
+
gap: 56,
|
|
95
|
+
filter: boiling ? 'url(#boil)' : undefined,
|
|
96
|
+
}}
|
|
97
|
+
>
|
|
98
|
+
<div
|
|
99
|
+
style={{
|
|
100
|
+
fontFamily: 'Helvetica, Arial, sans-serif',
|
|
101
|
+
fontWeight: 800,
|
|
102
|
+
fontSize: 170,
|
|
103
|
+
color: G.ink,
|
|
104
|
+
letterSpacing: 4,
|
|
105
|
+
lineHeight: 1,
|
|
106
|
+
}}
|
|
107
|
+
>
|
|
108
|
+
ALIVE
|
|
109
|
+
</div>
|
|
110
|
+
{/* 描边卡:透明底 3px ink 描边 520×300 圆角框 + 几条灰线 */}
|
|
111
|
+
<div
|
|
112
|
+
style={{
|
|
113
|
+
width: 520,
|
|
114
|
+
height: 300,
|
|
115
|
+
border: `3px solid ${G.ink}`,
|
|
116
|
+
borderRadius: 20,
|
|
117
|
+
boxSizing: 'border-box',
|
|
118
|
+
padding: '36px 40px',
|
|
119
|
+
display: 'flex',
|
|
120
|
+
flexDirection: 'column',
|
|
121
|
+
gap: 26,
|
|
122
|
+
}}
|
|
123
|
+
>
|
|
124
|
+
<div style={{ height: 16, width: '62%', background: G.mid, borderRadius: 8 }} />
|
|
125
|
+
<div style={{ height: 12, width: '88%', background: G.bar, borderRadius: 6 }} />
|
|
126
|
+
<div style={{ height: 12, width: '74%', background: G.bar, borderRadius: 6 }} />
|
|
127
|
+
<div style={{ height: 12, width: '81%', background: G.bar, borderRadius: 6 }} />
|
|
128
|
+
<div style={{ marginTop: 'auto', display: 'flex', gap: 12, alignItems: 'center' }}>
|
|
129
|
+
<div style={{ width: 30, height: 30, borderRadius: 15, border: `3px solid ${G.ink}`, boxSizing: 'border-box' }} />
|
|
130
|
+
<div style={{ height: 12, width: 120, background: G.mid, borderRadius: 6 }} />
|
|
131
|
+
</div>
|
|
132
|
+
</div>
|
|
133
|
+
</div>
|
|
134
|
+
|
|
135
|
+
{/* 状态角标:沸腾段 boil on,静止段 boil off */}
|
|
136
|
+
<CornerTag text="boil on" opacity={onOp} />
|
|
137
|
+
<CornerTag text="boil off" opacity={offOp} />
|
|
138
|
+
</div>
|
|
139
|
+
);
|
|
140
|
+
};
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
// line-carry-transition|线条接力横移转场(Catch Me If You Can 图形接力)
|
|
2
|
+
// 世界宽 3840(A 左半 / B 右半)。0–24f 卡 A 底部 6px ink 进度条走满;
|
|
3
|
+
// 24–34f 进度条末端延伸成横线冲出卡右缘;34–94f 镜头整体左移 1920px
|
|
4
|
+
// (Easing.inOut(cubic),60f),线与镜头同速延伸,笔头始终在画面偏右;
|
|
5
|
+
// 94–112f 线拐直角围出 560×330 卡框(一条 path 全程 evolve,dashoffset 生长);
|
|
6
|
+
// 112–124f 框闭合后 B 卡内容淡入 12f。124–160f 真静止 36f ≥ 35f。
|
|
7
|
+
// 帧确定,无随机;笔头墨点 118f 起条件卸载(摘罩判例)。
|
|
8
|
+
import React from 'react';
|
|
9
|
+
import { AbsoluteFill, useCurrentFrame, interpolate, Easing } from 'remotion';
|
|
10
|
+
import { G, Card, TitleBlock } from '../_fixtures/Fixtures';
|
|
11
|
+
|
|
12
|
+
// ---- 世界几何(一条折线:进度条 + 横线 + 直角 + 矩形框)----
|
|
13
|
+
// M 400,705 → 2600,705(进度 560 + 冲出 1640)→ 上 2600,375 → 右 3160,375
|
|
14
|
+
// → 下 3160,705 → 左回 2600,705 闭合。总长 2200+330+560+330+560 = 3980。
|
|
15
|
+
const PATH = 'M 400 705 L 2600 705 L 2600 375 L 3160 375 L 3160 705 L 2600 705';
|
|
16
|
+
const SEGS: Array<[number, number, number, number, number]> = [
|
|
17
|
+
[400, 705, 2600, 705, 2200],
|
|
18
|
+
[2600, 705, 2600, 375, 330],
|
|
19
|
+
[2600, 375, 3160, 375, 560],
|
|
20
|
+
[3160, 375, 3160, 705, 330],
|
|
21
|
+
[3160, 705, 2600, 705, 560],
|
|
22
|
+
];
|
|
23
|
+
const TOTAL = 3980;
|
|
24
|
+
|
|
25
|
+
// 笔头坐标:按已画长度沿折线取点
|
|
26
|
+
const tipAt = (drawn: number): [number, number] => {
|
|
27
|
+
let d = Math.max(0, Math.min(drawn, TOTAL));
|
|
28
|
+
for (const [x1, y1, x2, y2, len] of SEGS) {
|
|
29
|
+
if (d <= len) {
|
|
30
|
+
const t = d / len;
|
|
31
|
+
return [x1 + (x2 - x1) * t, y1 + (y2 - y1) * t];
|
|
32
|
+
}
|
|
33
|
+
d -= len;
|
|
34
|
+
}
|
|
35
|
+
return [2600, 705];
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
export const LineCarryTransition: React.FC = () => {
|
|
39
|
+
const frame = useCurrentFrame();
|
|
40
|
+
|
|
41
|
+
// 镜头:34–94f 左移 1920px,inOut cubic
|
|
42
|
+
const cam = interpolate(frame, [34, 94], [0, 1920], {
|
|
43
|
+
easing: Easing.inOut(Easing.cubic),
|
|
44
|
+
extrapolateLeft: 'clamp',
|
|
45
|
+
extrapolateRight: 'clamp',
|
|
46
|
+
});
|
|
47
|
+
|
|
48
|
+
// 已画长度:三段接力(进度条 → 冲出 → 与镜头同速 → 收框)
|
|
49
|
+
let drawn: number;
|
|
50
|
+
if (frame < 24) {
|
|
51
|
+
drawn = interpolate(frame, [0, 24], [0, 560], {
|
|
52
|
+
easing: Easing.out(Easing.cubic),
|
|
53
|
+
extrapolateLeft: 'clamp',
|
|
54
|
+
extrapolateRight: 'clamp',
|
|
55
|
+
});
|
|
56
|
+
} else if (frame < 34) {
|
|
57
|
+
drawn = interpolate(frame, [24, 34], [560, 1100], {
|
|
58
|
+
extrapolateRight: 'clamp',
|
|
59
|
+
});
|
|
60
|
+
} else if (frame < 94) {
|
|
61
|
+
drawn = 1100 + cam; // 与镜头同速延伸,笔头稳在画面偏右
|
|
62
|
+
} else {
|
|
63
|
+
drawn = interpolate(frame, [94, 112], [3020, TOTAL], {
|
|
64
|
+
easing: Easing.out(Easing.cubic),
|
|
65
|
+
extrapolateLeft: 'clamp',
|
|
66
|
+
extrapolateRight: 'clamp',
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
// B 卡内容:框闭合(112f)后淡入 12f
|
|
71
|
+
const contentOpacity = interpolate(frame, [112, 124], [0, 1], {
|
|
72
|
+
extrapolateLeft: 'clamp',
|
|
73
|
+
extrapolateRight: 'clamp',
|
|
74
|
+
});
|
|
75
|
+
|
|
76
|
+
// 笔头墨点:全程随笔走,112–118f 线性消散,118f 起条件卸载
|
|
77
|
+
const tipMounted = frame < 118;
|
|
78
|
+
const tipOpacity = interpolate(frame, [112, 118], [1, 0], {
|
|
79
|
+
extrapolateLeft: 'clamp',
|
|
80
|
+
extrapolateRight: 'clamp',
|
|
81
|
+
});
|
|
82
|
+
const [tx, ty] = tipAt(drawn);
|
|
83
|
+
|
|
84
|
+
return (
|
|
85
|
+
<AbsoluteFill style={{ background: G.bg, overflow: 'hidden' }}>
|
|
86
|
+
{/* 世界容器:3840 宽,整体横移 = 镜头跟线走 */}
|
|
87
|
+
<div
|
|
88
|
+
style={{
|
|
89
|
+
position: 'absolute',
|
|
90
|
+
width: 3840,
|
|
91
|
+
height: 1080,
|
|
92
|
+
transform: `translateX(${-cam}px)`,
|
|
93
|
+
}}
|
|
94
|
+
>
|
|
95
|
+
{/* B 半世界底色略浅,卖出"新世界" */}
|
|
96
|
+
<div style={{ position: 'absolute', left: 1920, top: 0, width: 1920, height: 1080, background: G.panel }} />
|
|
97
|
+
|
|
98
|
+
{/* 场景 A:标题 + 卡 + 进度条轨道(ink 填充即 path 本体) */}
|
|
99
|
+
<div style={{ position: 'absolute', left: 400, top: 250 }}>
|
|
100
|
+
<TitleBlock text="Scene A" size={56} />
|
|
101
|
+
</div>
|
|
102
|
+
<Card w={560} h={330} seed={2} style={{ position: 'absolute', left: 400, top: 350 }} />
|
|
103
|
+
<div style={{ position: 'absolute', left: 400, top: 702, width: 560, height: 6, borderRadius: 3, background: G.line }} />
|
|
104
|
+
|
|
105
|
+
{/* 一条线全程 evolve:dasharray/dashoffset 生长 */}
|
|
106
|
+
<svg width={3840} height={1080} style={{ position: 'absolute', inset: 0, pointerEvents: 'none' }}>
|
|
107
|
+
<path
|
|
108
|
+
d={PATH}
|
|
109
|
+
fill="none"
|
|
110
|
+
stroke={G.ink}
|
|
111
|
+
strokeWidth={6}
|
|
112
|
+
strokeLinecap="round"
|
|
113
|
+
strokeLinejoin="round"
|
|
114
|
+
strokeDasharray={TOTAL}
|
|
115
|
+
strokeDashoffset={TOTAL - drawn}
|
|
116
|
+
/>
|
|
117
|
+
{tipMounted && <circle cx={tx} cy={ty} r={11} fill={G.ink} opacity={tipOpacity} />}
|
|
118
|
+
</svg>
|
|
119
|
+
|
|
120
|
+
{/* 场景 B:框(2600,375–3160,705)由线画成,内容淡入 */}
|
|
121
|
+
<div
|
|
122
|
+
style={{
|
|
123
|
+
position: 'absolute',
|
|
124
|
+
left: 2600,
|
|
125
|
+
top: 375,
|
|
126
|
+
width: 560,
|
|
127
|
+
height: 330,
|
|
128
|
+
boxSizing: 'border-box',
|
|
129
|
+
padding: 26,
|
|
130
|
+
display: 'flex',
|
|
131
|
+
flexDirection: 'column',
|
|
132
|
+
gap: 14,
|
|
133
|
+
opacity: contentOpacity,
|
|
134
|
+
}}
|
|
135
|
+
>
|
|
136
|
+
<div style={{ height: 18, width: '58%', background: G.bar, borderRadius: 9 }} />
|
|
137
|
+
<div style={{ height: 11, width: '86%', background: G.line, borderRadius: 5 }} />
|
|
138
|
+
<div style={{ height: 11, width: '72%', background: G.line, borderRadius: 5 }} />
|
|
139
|
+
<div style={{ height: 11, width: '64%', background: G.line, borderRadius: 5 }} />
|
|
140
|
+
<div style={{ marginTop: 'auto', display: 'flex', gap: 10, alignItems: 'center' }}>
|
|
141
|
+
<div style={{ width: 30, height: 30, borderRadius: 15, background: G.mid }} />
|
|
142
|
+
<div style={{ height: 11, width: 90, background: G.line, borderRadius: 5 }} />
|
|
143
|
+
</div>
|
|
144
|
+
</div>
|
|
145
|
+
<div style={{ position: 'absolute', left: 2600, top: 275, opacity: contentOpacity }}>
|
|
146
|
+
<TitleBlock text="Scene B" size={56} />
|
|
147
|
+
</div>
|
|
148
|
+
</div>
|
|
149
|
+
</AbsoluteFill>
|
|
150
|
+
);
|
|
151
|
+
};
|