dsh-drawai 0.3.4 → 0.4.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/LICENSE +4154 -0
- package/README.md +49 -11
- package/lib/audio-media.js +150 -0
- package/lib/audio-service.js +66 -0
- package/lib/canvas-format.js +134 -0
- package/lib/client.js +5090 -184
- package/lib/comfyui-default-workflow.mjs +1825 -0
- package/lib/comfyui-workflow.mjs +426 -0
- package/lib/document-commands.js +12 -0
- package/lib/document-core.js +29 -0
- package/lib/drawing-runner.js +6 -4
- package/lib/drawing-tasks.js +26 -0
- package/lib/ffmpeg-manager.js +1056 -0
- package/lib/imagegen.mjs +596 -0
- package/lib/index.js +1762 -129
- package/lib/media.js +26 -13
- package/lib/mgstyle-core.js +75 -0
- package/lib/motion/apply.js +181 -0
- package/lib/motion/asset-pack-lock.js +10 -0
- package/lib/motion/asset-pack.js +335 -0
- package/lib/motion/assets.js +291 -0
- package/lib/motion/audio.js +103 -0
- package/lib/motion/audiolevel.js +63 -0
- package/lib/motion/audiomix.js +144 -0
- package/lib/motion/beats.js +338 -0
- package/lib/motion/builtin-assets.js +62 -0
- package/lib/motion/canvas-spec.js +442 -0
- package/lib/motion/capture.js +95 -0
- package/lib/motion/cards.js +80 -0
- package/lib/motion/collect.js +449 -0
- package/lib/motion/delivery.js +140 -0
- package/lib/motion/edge-speech.py +90 -0
- package/lib/motion/entry.jsx +73 -0
- package/lib/motion/export.js +200 -0
- package/lib/motion/ffmpeg.js +43 -0
- package/lib/motion/fonts.js +71 -0
- package/lib/motion/jobs.js +117 -0
- package/lib/motion/json.js +4 -0
- package/lib/motion/media-catalog.js +59 -0
- package/lib/motion/mgstyles/BRIEF-TEMPLATE.md +63 -0
- package/lib/motion/mgstyles/briefs/01-flat-vector.md +104 -0
- package/lib/motion/mgstyles/briefs/02-line-art.md +97 -0
- package/lib/motion/mgstyles/briefs/03-isometric.md +108 -0
- package/lib/motion/mgstyles/briefs/05-cel-boil.md +145 -0
- package/lib/motion/mgstyles/briefs/06-collage.md +149 -0
- package/lib/motion/mgstyles/briefs/07-liquid.md +106 -0
- package/lib/motion/mgstyles/briefs/08-morph.md +111 -0
- package/lib/motion/mgstyles/briefs/09-bauhaus.md +150 -0
- package/lib/motion/mgstyles/briefs/10-synthwave.md +151 -0
- package/lib/motion/mgstyles/briefs/12-aurora-glass.md +147 -0
- package/lib/motion/mgstyles/briefs/18-hanazi.md +140 -0
- package/lib/motion/mgstyles/briefs/19-paperclip.md +156 -0
- package/lib/motion/mgstyles/briefs/20-pixel.md +118 -0
- package/lib/motion/mgstyles/briefs/22-hud.md +118 -0
- package/lib/motion/mgstyles/catalog.d/01-flat-vector.json +34 -0
- package/lib/motion/mgstyles/catalog.d/02-line-art.json +34 -0
- package/lib/motion/mgstyles/catalog.d/03-isometric.json +35 -0
- package/lib/motion/mgstyles/catalog.d/05-cel-boil.json +28 -0
- package/lib/motion/mgstyles/catalog.d/06-collage.json +28 -0
- package/lib/motion/mgstyles/catalog.d/07-liquid.json +28 -0
- package/lib/motion/mgstyles/catalog.d/08-morph.json +28 -0
- package/lib/motion/mgstyles/catalog.d/09-bauhaus.json +28 -0
- package/lib/motion/mgstyles/catalog.d/10-synthwave.json +28 -0
- package/lib/motion/mgstyles/catalog.d/12-aurora-glass.json +28 -0
- package/lib/motion/mgstyles/catalog.d/18-hanazi.json +28 -0
- package/lib/motion/mgstyles/catalog.d/19-paperclip.json +28 -0
- package/lib/motion/mgstyles/catalog.d/20-pixel.json +28 -0
- package/lib/motion/mgstyles/catalog.d/22-hud.json +28 -0
- package/lib/motion/mgstyles/catalog.json +1356 -0
- package/lib/motion/mgstyles/upstream/README.md +147 -0
- package/lib/motion/mgstyles/upstream/README.zh-CN.md +147 -0
- package/lib/motion/mgstyles/upstream/demos/01-flat-vector/cues.json +1 -0
- package/lib/motion/mgstyles/upstream/demos/01-flat-vector/index.html +712 -0
- package/lib/motion/mgstyles/upstream/demos/02-line-art/cues.json +331 -0
- package/lib/motion/mgstyles/upstream/demos/02-line-art/film.js +676 -0
- package/lib/motion/mgstyles/upstream/demos/02-line-art/index.html +18 -0
- package/lib/motion/mgstyles/upstream/demos/02-line-art/tools/dump_timing.mjs +26 -0
- package/lib/motion/mgstyles/upstream/demos/03-isometric/cues.json +109 -0
- package/lib/motion/mgstyles/upstream/demos/03-isometric/index.html +25 -0
- package/lib/motion/mgstyles/upstream/demos/03-isometric/js/anim.js +82 -0
- package/lib/motion/mgstyles/upstream/demos/03-isometric/js/main.js +219 -0
- package/lib/motion/mgstyles/upstream/demos/03-isometric/js/night5.js +180 -0
- package/lib/motion/mgstyles/upstream/demos/03-isometric/js/render.js +202 -0
- package/lib/motion/mgstyles/upstream/demos/03-isometric/js/title.js +167 -0
- package/lib/motion/mgstyles/upstream/demos/03-isometric/js/title5.js +294 -0
- package/lib/motion/mgstyles/upstream/demos/03-isometric/js/ui.js +141 -0
- package/lib/motion/mgstyles/upstream/demos/03-isometric/js/world.js +1399 -0
- package/lib/motion/mgstyles/upstream/demos/05-cel-boil/cues.json +157 -0
- package/lib/motion/mgstyles/upstream/demos/05-cel-boil/index.html +34 -0
- package/lib/motion/mgstyles/upstream/demos/05-cel-boil/js/engine.js +326 -0
- package/lib/motion/mgstyles/upstream/demos/05-cel-boil/js/scene.js +2036 -0
- package/lib/motion/mgstyles/upstream/demos/06-collage/assets/gen/layout.json +157 -0
- package/lib/motion/mgstyles/upstream/demos/06-collage/cues.json +80 -0
- package/lib/motion/mgstyles/upstream/demos/06-collage/index.html +889 -0
- package/lib/motion/mgstyles/upstream/demos/07-liquid/cues.json +100 -0
- package/lib/motion/mgstyles/upstream/demos/07-liquid/index.html +108 -0
- package/lib/motion/mgstyles/upstream/demos/07-liquid/js/engine.js +153 -0
- package/lib/motion/mgstyles/upstream/demos/07-liquid/js/links.js +64 -0
- package/lib/motion/mgstyles/upstream/demos/07-liquid/js/lookdev.js +46 -0
- package/lib/motion/mgstyles/upstream/demos/07-liquid/js/scene.js +963 -0
- package/lib/motion/mgstyles/upstream/demos/07-liquid/js/shaders.js +647 -0
- package/lib/motion/mgstyles/upstream/demos/07-liquid/js/textsdf.js +114 -0
- package/lib/motion/mgstyles/upstream/demos/07-liquid/js/type.js +50 -0
- package/lib/motion/mgstyles/upstream/demos/08-morph/cues.json +131 -0
- package/lib/motion/mgstyles/upstream/demos/08-morph/glyphs.json +1 -0
- package/lib/motion/mgstyles/upstream/demos/08-morph/index.html +901 -0
- package/lib/motion/mgstyles/upstream/demos/09-bauhaus/cues.json +270 -0
- package/lib/motion/mgstyles/upstream/demos/09-bauhaus/film.js +697 -0
- package/lib/motion/mgstyles/upstream/demos/09-bauhaus/index.html +12 -0
- package/lib/motion/mgstyles/upstream/demos/10-synthwave/cues.json +44 -0
- package/lib/motion/mgstyles/upstream/demos/10-synthwave/index.html +1028 -0
- package/lib/motion/mgstyles/upstream/demos/12-aurora-glass/cues.json +67 -0
- package/lib/motion/mgstyles/upstream/demos/12-aurora-glass/index.html +16 -0
- package/lib/motion/mgstyles/upstream/demos/12-aurora-glass/main.js +967 -0
- package/lib/motion/mgstyles/upstream/demos/12-aurora-glass/shaders.js +468 -0
- package/lib/motion/mgstyles/upstream/demos/18-hanazi/cues.json +117 -0
- package/lib/motion/mgstyles/upstream/demos/18-hanazi/index.html +541 -0
- package/lib/motion/mgstyles/upstream/demos/19-paperclip/assets/countries-110m.json +1 -0
- package/lib/motion/mgstyles/upstream/demos/19-paperclip/assets/stickers/meta.json +34 -0
- package/lib/motion/mgstyles/upstream/demos/19-paperclip/cues.json +285 -0
- package/lib/motion/mgstyles/upstream/demos/19-paperclip/index.html +599 -0
- package/lib/motion/mgstyles/upstream/demos/20-pixel/cues.json +42 -0
- package/lib/motion/mgstyles/upstream/demos/20-pixel/film.js +914 -0
- package/lib/motion/mgstyles/upstream/demos/20-pixel/index.html +18 -0
- package/lib/motion/mgstyles/upstream/demos/22-hud/cues.json +108 -0
- package/lib/motion/mgstyles/upstream/demos/22-hud/index.html +125 -0
- package/lib/motion/mgstyles/upstream/demos/22-hud/js/holo.js +275 -0
- package/lib/motion/mgstyles/upstream/demos/22-hud/js/hud.js +855 -0
- package/lib/motion/mgstyles/upstream/demos/22-hud/js/post.js +150 -0
- package/lib/motion/mgstyles/upstream/demos/22-hud/js/util.js +65 -0
- package/lib/motion/mgstyles/upstream/demos/22-hud/js/v5.js +142 -0
- package/lib/motion/mgstyles/upstream/harness/render.mjs +319 -0
- package/lib/motion/mgstyles/upstream/manifest.json +269 -0
- package/lib/motion/mgstyles/upstream/prompts/01-flat-vector.md +98 -0
- package/lib/motion/mgstyles/upstream/prompts/02-line-art.md +95 -0
- package/lib/motion/mgstyles/upstream/prompts/03-isometric.md +97 -0
- package/lib/motion/mgstyles/upstream/prompts/05-cel-boil.md +95 -0
- package/lib/motion/mgstyles/upstream/prompts/06-collage.md +95 -0
- package/lib/motion/mgstyles/upstream/prompts/07-liquid.md +98 -0
- package/lib/motion/mgstyles/upstream/prompts/08-morph.md +95 -0
- package/lib/motion/mgstyles/upstream/prompts/09-bauhaus.md +96 -0
- package/lib/motion/mgstyles/upstream/prompts/10-synthwave.md +95 -0
- package/lib/motion/mgstyles/upstream/prompts/12-aurora-glass.md +96 -0
- package/lib/motion/mgstyles/upstream/prompts/18-hanazi.md +95 -0
- package/lib/motion/mgstyles/upstream/prompts/19-paperclip.md +96 -0
- package/lib/motion/mgstyles/upstream/prompts/20-pixel.md +96 -0
- package/lib/motion/mgstyles/upstream/prompts/22-hud.md +95 -0
- package/lib/motion/mgstyles/upstream/rubric.md +51 -0
- package/lib/motion/mgstyles/upstream/template.md +36 -0
- package/lib/motion/pixelqa.js +198 -0
- package/lib/motion/preview.js +97 -0
- package/lib/motion/project.js +395 -0
- package/lib/motion/qa.js +290 -0
- package/lib/motion/reference-media.jsx +10 -0
- package/lib/motion/render-settings.js +112 -0
- package/lib/motion/render.js +161 -0
- package/lib/motion/runtime/package-lock.json +3058 -0
- package/lib/motion/runtime/package.json +16 -0
- package/lib/motion/scene-kit.js +183 -0
- package/lib/motion/sfx.js +232 -0
- package/lib/motion/shotcraft/ClipCard.tsx +204 -0
- package/lib/motion/shotcraft/catalog.json +2461 -0
- package/lib/motion/shotcraft/upstream/SKILL.md +286 -0
- package/lib/motion/shotcraft/upstream/assets/lib/Caption.tsx +54 -0
- package/lib/motion/shotcraft/upstream/assets/lib/ClipCard.tsx +200 -0
- package/lib/motion/shotcraft/upstream/assets/lib/DigitRoll.tsx +45 -0
- package/lib/motion/shotcraft/upstream/assets/lib/FlashCut.tsx +20 -0
- package/lib/motion/shotcraft/upstream/assets/lib/FlatPanel.tsx +65 -0
- package/lib/motion/shotcraft/upstream/assets/lib/PageCam.tsx +151 -0
- package/lib/motion/shotcraft/upstream/assets/lib/VerticalTicker.tsx +129 -0
- package/lib/motion/shotcraft/upstream/assets/lib/helpers/camera.tsx +75 -0
- package/lib/motion/shotcraft/upstream/assets/lib/helpers/motion.ts +40 -0
- package/lib/motion/shotcraft/upstream/assets/lib/helpers/rand.ts +11 -0
- package/lib/motion/shotcraft/upstream/assets/lib/helpers/shake.ts +10 -0
- package/lib/motion/shotcraft/upstream/assets/scripts/__pycache__/sfx-source.cpython-313.pyc +0 -0
- package/lib/motion/shotcraft/upstream/assets/scripts/build-readme-cover.mjs +49 -0
- package/lib/motion/shotcraft/upstream/assets/scripts/capture-template.mjs +210 -0
- package/lib/motion/shotcraft/upstream/assets/scripts/sfx-source.py +423 -0
- package/lib/motion/shotcraft/upstream/assets/scripts/smoke-render-demos.py +170 -0
- package/lib/motion/shotcraft/upstream/assets/scripts/test_sfx_source.py +157 -0
- package/lib/motion/shotcraft/upstream/demos/README.md +120 -0
- package/lib/motion/shotcraft/upstream/demos/_fixtures/Brand.tsx +112 -0
- package/lib/motion/shotcraft/upstream/demos/_fixtures/Fixtures.tsx +647 -0
- package/lib/motion/shotcraft/upstream/demos/_fixtures/Look.tsx +316 -0
- package/lib/motion/shotcraft/upstream/demos/_fixtures/Motion.tsx +82 -0
- package/lib/motion/shotcraft/upstream/demos/_fixtures/PageCam2D.tsx +115 -0
- package/lib/motion/shotcraft/upstream/demos/_fixtures/Polish.tsx +243 -0
- package/lib/motion/shotcraft/upstream/demos/_textures/live-layout.json +389 -0
- package/lib/motion/shotcraft/upstream/demos/camera/basic-3d-scene/Basic3DScene.tsx +250 -0
- package/lib/motion/shotcraft/upstream/demos/camera/crash-zoom-punch/CrashImpactReal.tsx +305 -0
- package/lib/motion/shotcraft/upstream/demos/camera/crash-zoom-punch/CrashZoomReal.tsx +246 -0
- package/lib/motion/shotcraft/upstream/demos/camera/cursor-flyover/CursorFlyover.tsx +390 -0
- package/lib/motion/shotcraft/upstream/demos/camera/depth-layer-moves/MultiplaneReal.tsx +138 -0
- package/lib/motion/shotcraft/upstream/demos/camera/graze-face-tour/GrazeFaceTour.tsx +542 -0
- package/lib/motion/shotcraft/upstream/demos/camera/overhead-camera-moves/OverheadTabletopDrop.tsx +315 -0
- package/lib/motion/shotcraft/upstream/demos/camera/overhead-camera-moves/TiltReveal.tsx +299 -0
- package/lib/motion/shotcraft/upstream/demos/camera/space-camera-moves/DroneDiveLanding.tsx +173 -0
- package/lib/motion/shotcraft/upstream/demos/camera/space-camera-moves/ExplodedView.tsx +348 -0
- package/lib/motion/shotcraft/upstream/demos/camera/steep-tilt-glide/SteepTiltGlide.tsx +366 -0
- package/lib/motion/shotcraft/upstream/demos/camera/tension-camera-moves/BulletTimeFreezeOrbit.tsx +279 -0
- package/lib/motion/shotcraft/upstream/demos/camera/tension-camera-moves/PullBackIsolation.tsx +184 -0
- package/lib/motion/shotcraft/upstream/demos/camera/terminal-3d/Terminal3D.tsx +390 -0
- package/lib/motion/shotcraft/upstream/demos/data/before-after-slider-scrub/BeforeAfterSliderScrub.tsx +155 -0
- package/lib/motion/shotcraft/upstream/demos/data/chart-live-moves/AxisRescaleShockV2.tsx +303 -0
- package/lib/motion/shotcraft/upstream/demos/data/chart-live-moves/OscilloscopeStreamV2.tsx +290 -0
- package/lib/motion/shotcraft/upstream/demos/data/chart-live-moves/UnitDotSwarmRegroupV2.tsx +278 -0
- package/lib/motion/shotcraft/upstream/demos/data/gauge-readout-moves/NeedleSweepSelftest.tsx +307 -0
- package/lib/motion/shotcraft/upstream/demos/data/gauge-readout-moves/TapeScrollFixedPointer.tsx +215 -0
- package/lib/motion/shotcraft/upstream/demos/data/scroll-brake-moves/BrakeReticleLock.tsx +299 -0
- package/lib/motion/shotcraft/upstream/demos/data/scroll-brake-moves/ChangelogScrollBrake.tsx +232 -0
- package/lib/motion/shotcraft/upstream/demos/data/timeline-travel/TimelineTravel.tsx +290 -0
- package/lib/motion/shotcraft/upstream/demos/effects/assemble-then-type-flyin/AssembleThenTypeFlyin.tsx +273 -0
- package/lib/motion/shotcraft/upstream/demos/effects/aurora-bloom-bg-flip/AuroraBloomBgFlip.tsx +167 -0
- package/lib/motion/shotcraft/upstream/demos/effects/brand-frame-snap/BrandFrameSnap.tsx +536 -0
- package/lib/motion/shotcraft/upstream/demos/effects/fui-hud-moves/ReticleLockOn.tsx +164 -0
- package/lib/motion/shotcraft/upstream/demos/effects/glow-flyline-moves/FlylineArc.tsx +175 -0
- package/lib/motion/shotcraft/upstream/demos/effects/glow-flyline-moves/GlowOrbAmbient.tsx +197 -0
- package/lib/motion/shotcraft/upstream/demos/effects/glow-flyline-moves/OrbFlylineRelay.tsx +241 -0
- package/lib/motion/shotcraft/upstream/demos/effects/icon-performance-moves/AttentionBounce.tsx +279 -0
- package/lib/motion/shotcraft/upstream/demos/effects/impact-feedback/AnimeImpact.tsx +230 -0
- package/lib/motion/shotcraft/upstream/demos/effects/impact-feedback/HitCounter.tsx +345 -0
- package/lib/motion/shotcraft/upstream/demos/effects/light-play-moves/SheenSweepRetry.tsx +275 -0
- package/lib/motion/shotcraft/upstream/demos/effects/light-play-moves/SpotlightSweepReveal.tsx +229 -0
- package/lib/motion/shotcraft/upstream/demos/effects/radial-ripple-phone-chips/RadialRipplePhoneChips.tsx +312 -0
- package/lib/motion/shotcraft/upstream/demos/effects/riso-print-hits/RisoMisregistrationHit.tsx +222 -0
- package/lib/motion/shotcraft/upstream/demos/effects/scan-bracket-sweep/ScanBracketSweep.tsx +295 -0
- package/lib/motion/shotcraft/upstream/demos/effects/scanline-annotate-focus/ScanlineAnnotateFocus.tsx +329 -0
- package/lib/motion/shotcraft/upstream/demos/effects/scanline-assemble-flyin/ScanlineAssembleFlyin.tsx +315 -0
- package/lib/motion/shotcraft/upstream/demos/effects/slam-entrance-moves/ImpactBurstKit.tsx +264 -0
- package/lib/motion/shotcraft/upstream/demos/effects/slam-entrance-moves/KanadaPerspectiveSnap.tsx +260 -0
- package/lib/motion/shotcraft/upstream/demos/effects/slam-entrance-moves/ScoreSlam.tsx +263 -0
- package/lib/motion/shotcraft/upstream/demos/effects/spotlight-sweep-moves/CornerSpotlightReveal.tsx +123 -0
- package/lib/motion/shotcraft/upstream/demos/effects/spotlight-sweep-moves/GlowWakeSleepPanel.tsx +187 -0
- package/lib/motion/shotcraft/upstream/demos/effects/spotlight-sweep-moves/SlideSpotlightPan.tsx +175 -0
- package/lib/motion/shotcraft/upstream/demos/interaction/autolayout-gap-dial/AutolayoutGapDial.tsx +305 -0
- package/lib/motion/shotcraft/upstream/demos/interaction/canvas-materialize-moves/DiagramCascadeBuild.tsx +350 -0
- package/lib/motion/shotcraft/upstream/demos/interaction/canvas-materialize-moves/PanelToCanvasMaterialize.tsx +352 -0
- package/lib/motion/shotcraft/upstream/demos/interaction/chip-grid-single-select-blackout/ChipGridSingleSelectBlackout.tsx +218 -0
- package/lib/motion/shotcraft/upstream/demos/interaction/collab-cursor-moves/CursorCastEnsemble.tsx +297 -0
- package/lib/motion/shotcraft/upstream/demos/interaction/glass-pill-dictation-typing/GlassPillDictationTyping.tsx +157 -0
- package/lib/motion/shotcraft/upstream/demos/interaction/hashtag-to-pill-materialize/HashtagToPillMaterialize.tsx +218 -0
- package/lib/motion/shotcraft/upstream/demos/interaction/picker-carousel-feature-cycle/PickerCarouselFeatureCycle.tsx +202 -0
- package/lib/motion/shotcraft/upstream/demos/interaction/segmented-thumb-hero/SegmentedThumbHero.tsx +265 -0
- package/lib/motion/shotcraft/upstream/demos/interaction/theme-switch-moves/PaletteThemeRipple.tsx +457 -0
- package/lib/motion/shotcraft/upstream/demos/interaction/theme-switch-moves/ThemeSweepToggle.tsx +446 -0
- package/lib/motion/shotcraft/upstream/demos/interaction/type-and-filter/TypeAndFilter.tsx +249 -0
- package/lib/motion/shotcraft/upstream/demos/interaction/voice-waveform-live/VoiceWaveformLive.tsx +278 -0
- package/lib/motion/shotcraft/upstream/demos/opening/crane-rise-reveal/CraneRiseReveal.tsx +332 -0
- package/lib/motion/shotcraft/upstream/demos/opening/dataviz-landscape-open/DatavizLandscapeOpen.tsx +358 -0
- package/lib/motion/shotcraft/upstream/demos/opening/fracture/Fracture.tsx +201 -0
- package/lib/motion/shotcraft/upstream/demos/opening/icon-field-colorize/IconFieldColorize.tsx +200 -0
- package/lib/motion/shotcraft/upstream/demos/opening/letterspace-materialize/LetterspaceMaterialize.tsx +208 -0
- package/lib/motion/shotcraft/upstream/demos/opening/magician-card-flourish/MagicianCardFlourish.tsx +341 -0
- package/lib/motion/shotcraft/upstream/demos/opening/orbit-ring-title-open/OrbitRingTitleOpen.tsx +389 -0
- package/lib/motion/shotcraft/upstream/demos/opening/spotlight-hero-card/SpotlightHeroCard.tsx +293 -0
- package/lib/motion/shotcraft/upstream/demos/opening/stroke-segment-build/StrokeSegmentBuild.tsx +183 -0
- package/lib/motion/shotcraft/upstream/demos/opening/text-as-mask/TextAsMask.tsx +245 -0
- package/lib/motion/shotcraft/upstream/demos/outro/grain-dissolve/GrainDissolve.tsx +222 -0
- package/lib/motion/shotcraft/upstream/demos/outro/logo-shrink-wordmark-lockup/LogoShrinkWordmarkLockup.tsx +223 -0
- package/lib/motion/shotcraft/upstream/demos/outro/neon-triple-marquee/NeonTripleMarquee.tsx +217 -0
- package/lib/motion/shotcraft/upstream/demos/outro/outro-group-photo-launch/OutroGroupPhotoLaunch.tsx +343 -0
- package/lib/motion/shotcraft/upstream/demos/outro/ui-strip-away-outro/UiStripAwayOutro.tsx +357 -0
- package/lib/motion/shotcraft/upstream/demos/outro/ui-to-brand-morph/IconFlipBloomLogo.tsx +187 -0
- package/lib/motion/shotcraft/upstream/demos/outro/ui-to-brand-morph/InputMorphsIntoLogo.tsx +333 -0
- package/lib/motion/shotcraft/upstream/demos/rhythm/beat-cut-moves/PaparazziFlash.tsx +274 -0
- package/lib/motion/shotcraft/upstream/demos/rhythm/beat-step-list-theme-cycle/BeatStepListThemeCycle.tsx +270 -0
- package/lib/motion/shotcraft/upstream/demos/rhythm/panel-grid-moves/ComicPanelSplit.tsx +430 -0
- package/lib/motion/shotcraft/upstream/demos/rhythm/quad-split-parallel-scenes/QuadSplitParallelScenes.tsx +252 -0
- package/lib/motion/shotcraft/upstream/demos/rhythm/rhythm-interrupt-moves/JumpCutPunchIn.tsx +106 -0
- package/lib/motion/shotcraft/upstream/demos/rhythm/sakuga-timing-shift/SakugaTimingShift.tsx +288 -0
- package/lib/motion/shotcraft/upstream/demos/rhythm/speed-ramp-freeze/FreezeAnnotateReal.tsx +362 -0
- package/lib/motion/shotcraft/upstream/demos/rhythm/trailer-grammar-moves/TrailerBumper.tsx +168 -0
- package/lib/motion/shotcraft/upstream/demos/transition/bottom-push-stack-wipe/BottomPushStackWipe.tsx +310 -0
- package/lib/motion/shotcraft/upstream/demos/transition/card-flip-reveal/CardFlipReveal.tsx +261 -0
- package/lib/motion/shotcraft/upstream/demos/transition/card-flock-tumble/CardFlockTumble.tsx +459 -0
- package/lib/motion/shotcraft/upstream/demos/transition/circle-match-iris/CircleMatchIris.tsx +294 -0
- package/lib/motion/shotcraft/upstream/demos/transition/gradient-transition/GradientTransition.tsx +161 -0
- package/lib/motion/shotcraft/upstream/demos/transition/line-carry-transition/LineCarryTransition.tsx +248 -0
- package/lib/motion/shotcraft/upstream/demos/transition/mosaic-reframe/MosaicReframe.tsx +359 -0
- package/lib/motion/shotcraft/upstream/demos/transition/page-turn-transitions/BarnDoorSplit.tsx +227 -0
- package/lib/motion/shotcraft/upstream/demos/transition/print-texture-transitions/InkBleedReveal.tsx +162 -0
- package/lib/motion/shotcraft/upstream/demos/transition/shot-transitions/PortalWipeV2.tsx +248 -0
- package/lib/motion/shotcraft/upstream/demos/transition/shot-transitions/WhipBrakeReal.tsx +186 -0
- package/lib/motion/shotcraft/upstream/demos/transition/tear-streak-transitions/GlitchDisplace.tsx +355 -0
- package/lib/motion/shotcraft/upstream/demos/transition/transition-hidden-cut/InvisibleCut.tsx +272 -0
- package/lib/motion/shotcraft/upstream/demos/transition/transition-hidden-cut/LightLeakBurn.tsx +262 -0
- package/lib/motion/shotcraft/upstream/demos/transition/transition-hidden-cut/VersusSlam.tsx +217 -0
- package/lib/motion/shotcraft/upstream/demos/transition/transition-travel/LetterformZoom.tsx +285 -0
- package/lib/motion/shotcraft/upstream/demos/transition/white-flash-logo-simplify-cut/WhiteFlashLogoSimplifyCut.tsx +205 -0
- package/lib/motion/shotcraft/upstream/demos/transition/wipe-transitions/BlindsSlice.tsx +178 -0
- package/lib/motion/shotcraft/upstream/demos/typography/blur-slide/BlurSlide.tsx +147 -0
- package/lib/motion/shotcraft/upstream/demos/typography/brace-expand/BraceExpand.tsx +143 -0
- package/lib/motion/shotcraft/upstream/demos/typography/brand-ink-open/BrandInkOpen.tsx +134 -0
- package/lib/motion/shotcraft/upstream/demos/typography/countdown-arc-scatter/CountdownArcScatter.tsx +217 -0
- package/lib/motion/shotcraft/upstream/demos/typography/flying-words/FlyingWords.tsx +198 -0
- package/lib/motion/shotcraft/upstream/demos/typography/glitch-cycle/GlitchCycle.tsx +221 -0
- package/lib/motion/shotcraft/upstream/demos/typography/gradient-word-sweep/GradientWordSweep.tsx +312 -0
- package/lib/motion/shotcraft/upstream/demos/typography/lead-word-zoom-assemble/LeadWordZoomAssemble.tsx +261 -0
- package/lib/motion/shotcraft/upstream/demos/typography/marker-underline-title/MarkerUnderlineTitle.tsx +121 -0
- package/lib/motion/shotcraft/upstream/demos/typography/outline-word-fill/OutlineWordFill.tsx +153 -0
- package/lib/motion/shotcraft/upstream/demos/typography/paper-title-card/PaperTitleCard.tsx +179 -0
- package/lib/motion/shotcraft/upstream/demos/typography/pill-chip-slot-cycle-handled/PillChipSlotCycleHandled.tsx +140 -0
- package/lib/motion/shotcraft/upstream/demos/typography/pill-slot-cycle/PillSlotCycle.tsx +309 -0
- package/lib/motion/shotcraft/upstream/demos/typography/text-column-converge/TextColumnConverge.tsx +191 -0
- package/lib/motion/shotcraft/upstream/demos/typography/title-demote-to-label/TitleDemoteToLabel.tsx +292 -0
- package/lib/motion/shotcraft/upstream/demos/typography/type-assembly-moves/LetterformDriftAssembly.tsx +135 -0
- package/lib/motion/shotcraft/upstream/demos/typography/type-assembly-moves/SplitTextStagger.tsx +124 -0
- package/lib/motion/shotcraft/upstream/demos/typography/type-assembly-moves/TextOnPath.tsx +255 -0
- package/lib/motion/shotcraft/upstream/demos/typography/type-entrance-moves/LetterDropPhysics.tsx +173 -0
- package/lib/motion/shotcraft/upstream/demos/typography/type-rhythm-sync/FontWeightPump.tsx +225 -0
- package/lib/motion/shotcraft/upstream/demos/typography/type-rhythm-sync/KaraokeFillSync.tsx +141 -0
- package/lib/motion/shotcraft/upstream/demos/typography/typewriter-moves/TypewriterErrorRetype.tsx +137 -0
- package/lib/motion/shotcraft/upstream/demos/typography/vertical-word-roll-blur-cycle/VerticalWordRollBlurCycle.tsx +147 -0
- package/lib/motion/shotcraft/upstream/demos/typography/word-relay-filmstrip/WordRelayFilmstrip.tsx +409 -0
- package/lib/motion/shotcraft/upstream/demos/typography/word-relay-geometry/WordRelayGeometry.tsx +280 -0
- package/lib/motion/shotcraft/upstream/demos/ui-entrance/avatar-bracket-carousel/AvatarBracketCarousel.tsx +271 -0
- package/lib/motion/shotcraft/upstream/demos/ui-entrance/bezier-source-converge-merge/BezierSourceConvergeMerge.tsx +385 -0
- package/lib/motion/shotcraft/upstream/demos/ui-entrance/card-stack/CardStack.tsx +312 -0
- package/lib/motion/shotcraft/upstream/demos/ui-entrance/carousel-3d/Carousel3D.tsx +303 -0
- package/lib/motion/shotcraft/upstream/demos/ui-entrance/clipcard-looping/ClipCardLooping.tsx +77 -0
- package/lib/motion/shotcraft/upstream/demos/ui-entrance/cloner-depth-echo/ClonerDepthEcho.tsx +311 -0
- package/lib/motion/shotcraft/upstream/demos/ui-entrance/deck-deal-flyin/DeckDealFlyin.tsx +307 -0
- package/lib/motion/shotcraft/upstream/demos/ui-entrance/doc-park-left-pill-deal/DocParkLeftPillDeal.tsx +349 -0
- package/lib/motion/shotcraft/upstream/demos/ui-entrance/document-typewriter-reveal/DocumentTypewriterReveal.tsx +255 -0
- package/lib/motion/shotcraft/upstream/demos/ui-entrance/draw-svg-trace/DrawSvgTrace.tsx +244 -0
- package/lib/motion/shotcraft/upstream/demos/ui-entrance/element-body-moves/ContactShadowLift.tsx +217 -0
- package/lib/motion/shotcraft/upstream/demos/ui-entrance/integration-hub-map/IntegrationHubMap.tsx +652 -0
- package/lib/motion/shotcraft/upstream/demos/ui-entrance/list-reveal/ListReveal.tsx +153 -0
- package/lib/motion/shotcraft/upstream/demos/ui-entrance/list-stack-press/ListStackPress.tsx +238 -0
- package/lib/motion/shotcraft/upstream/demos/ui-entrance/neon-frame-forerun/NeonFrameForerun.tsx +324 -0
- package/lib/motion/shotcraft/upstream/demos/ui-entrance/neon-frame-orbit-drop/NeonFrameForerunOrbit.tsx +354 -0
- package/lib/motion/shotcraft/upstream/demos/ui-entrance/page-waterfall-wall/PageWaterfallWall.tsx +101 -0
- package/lib/motion/shotcraft/upstream/demos/ui-entrance/page-waterfall-wall/VerticalTicker.tsx +129 -0
- package/lib/motion/shotcraft/upstream/demos/ui-entrance/product-card-progressive-assemble/ProductCardProgressiveAssemble.tsx +297 -0
- package/lib/motion/shotcraft/upstream/demos/ui-entrance/radial-wave/RadialWave.tsx +57 -0
- package/lib/motion/shotcraft/upstream/demos/ui-entrance/research-card-stack-scroll/ResearchCardStackScroll.tsx +155 -0
- package/lib/motion/shotcraft/upstream/demos/ui-entrance/row-embed/RowEmbed.tsx +175 -0
- package/lib/motion/shotcraft/upstream/demos/ui-entrance/value-stagger-gradient/ValueStaggerGradient.tsx +153 -0
- package/lib/motion/shotcraft/upstream/demos/ui-entrance/wall-reveal-moves/BentoLightUp.tsx +146 -0
- package/lib/motion/shotcraft/upstream/demos/ui-entrance/wall-reveal-moves/WireframeDrawOn.tsx +226 -0
- package/lib/motion/shotcraft/upstream/gallery/api/library.json +1 -0
- package/lib/motion/shotcraft/upstream/manifest.json +2715 -0
- package/lib/motion/shotcraft/upstream/references/aesthetic-rules.md +193 -0
- package/lib/motion/shotcraft/upstream/references/final-review.md +121 -0
- package/lib/motion/shotcraft/upstream/references/guided-free-creation.md +199 -0
- package/lib/motion/shotcraft/upstream/references/jianying-export.md +183 -0
- package/lib/motion/shotcraft/upstream/references/music-beat-sync.md +257 -0
- package/lib/motion/shotcraft/upstream/references/pipeline.md +382 -0
- package/lib/motion/shotcraft/upstream/references/publish-upload-post.md +111 -0
- package/lib/motion/shotcraft/upstream/references/sequences/promo-energy-arc.md +50 -0
- package/lib/motion/shotcraft/upstream/references/sfx-sourcing.md +95 -0
- package/lib/motion/shotcraft/upstream/references/shots/camera/basic-3d-scene.md +41 -0
- package/lib/motion/shotcraft/upstream/references/shots/camera/crash-zoom-punch.md +52 -0
- package/lib/motion/shotcraft/upstream/references/shots/camera/cursor-flyover.md +39 -0
- package/lib/motion/shotcraft/upstream/references/shots/camera/depth-layer-moves.md +39 -0
- package/lib/motion/shotcraft/upstream/references/shots/camera/graze-face-tour.md +57 -0
- package/lib/motion/shotcraft/upstream/references/shots/camera/overhead-camera-moves.md +51 -0
- package/lib/motion/shotcraft/upstream/references/shots/camera/space-camera-moves.md +46 -0
- package/lib/motion/shotcraft/upstream/references/shots/camera/steep-tilt-glide.md +52 -0
- package/lib/motion/shotcraft/upstream/references/shots/camera/tension-camera-moves.md +43 -0
- package/lib/motion/shotcraft/upstream/references/shots/camera/terminal-3d.md +42 -0
- package/lib/motion/shotcraft/upstream/references/shots/data/before-after-slider-scrub.md +48 -0
- package/lib/motion/shotcraft/upstream/references/shots/data/chart-live-moves.md +52 -0
- package/lib/motion/shotcraft/upstream/references/shots/data/gauge-readout-moves.md +45 -0
- package/lib/motion/shotcraft/upstream/references/shots/data/scroll-brake-moves.md +46 -0
- package/lib/motion/shotcraft/upstream/references/shots/data/timeline-travel.md +44 -0
- package/lib/motion/shotcraft/upstream/references/shots/effects/assemble-then-type-flyin.md +63 -0
- package/lib/motion/shotcraft/upstream/references/shots/effects/aurora-bloom-bg-flip.md +54 -0
- package/lib/motion/shotcraft/upstream/references/shots/effects/brand-frame-snap.md +58 -0
- package/lib/motion/shotcraft/upstream/references/shots/effects/fui-hud-moves.md +35 -0
- package/lib/motion/shotcraft/upstream/references/shots/effects/glow-flyline-moves.md +53 -0
- package/lib/motion/shotcraft/upstream/references/shots/effects/icon-performance-moves.md +42 -0
- package/lib/motion/shotcraft/upstream/references/shots/effects/impact-feedback.md +50 -0
- package/lib/motion/shotcraft/upstream/references/shots/effects/light-play-moves.md +46 -0
- package/lib/motion/shotcraft/upstream/references/shots/effects/radial-ripple-phone-chips.md +56 -0
- package/lib/motion/shotcraft/upstream/references/shots/effects/riso-print-hits.md +49 -0
- package/lib/motion/shotcraft/upstream/references/shots/effects/scan-bracket-sweep.md +50 -0
- package/lib/motion/shotcraft/upstream/references/shots/effects/scanline-annotate-focus.md +53 -0
- package/lib/motion/shotcraft/upstream/references/shots/effects/scanline-assemble-flyin.md +53 -0
- package/lib/motion/shotcraft/upstream/references/shots/effects/slam-entrance-moves.md +55 -0
- package/lib/motion/shotcraft/upstream/references/shots/effects/spotlight-sweep-moves.md +52 -0
- package/lib/motion/shotcraft/upstream/references/shots/interaction/autolayout-gap-dial.md +60 -0
- package/lib/motion/shotcraft/upstream/references/shots/interaction/canvas-materialize-moves.md +57 -0
- package/lib/motion/shotcraft/upstream/references/shots/interaction/chip-grid-single-select-blackout.md +51 -0
- package/lib/motion/shotcraft/upstream/references/shots/interaction/collab-cursor-moves.md +41 -0
- package/lib/motion/shotcraft/upstream/references/shots/interaction/glass-pill-dictation-typing.md +53 -0
- package/lib/motion/shotcraft/upstream/references/shots/interaction/hashtag-to-pill-materialize.md +60 -0
- package/lib/motion/shotcraft/upstream/references/shots/interaction/picker-carousel-feature-cycle.md +55 -0
- package/lib/motion/shotcraft/upstream/references/shots/interaction/segmented-thumb-hero.md +57 -0
- package/lib/motion/shotcraft/upstream/references/shots/interaction/theme-switch-moves.md +47 -0
- package/lib/motion/shotcraft/upstream/references/shots/interaction/type-and-filter.md +37 -0
- package/lib/motion/shotcraft/upstream/references/shots/interaction/voice-waveform-live.md +54 -0
- package/lib/motion/shotcraft/upstream/references/shots/opening/brand-ink-open.md +36 -0
- package/lib/motion/shotcraft/upstream/references/shots/opening/crane-rise-reveal.md +56 -0
- package/lib/motion/shotcraft/upstream/references/shots/opening/dataviz-landscape-open.md +56 -0
- package/lib/motion/shotcraft/upstream/references/shots/opening/fracture.md +40 -0
- package/lib/motion/shotcraft/upstream/references/shots/opening/icon-field-colorize.md +60 -0
- package/lib/motion/shotcraft/upstream/references/shots/opening/letterspace-materialize.md +57 -0
- package/lib/motion/shotcraft/upstream/references/shots/opening/magician-card-flourish.md +73 -0
- package/lib/motion/shotcraft/upstream/references/shots/opening/orbit-ring-title-open.md +87 -0
- package/lib/motion/shotcraft/upstream/references/shots/opening/spotlight-hero-card.md +55 -0
- package/lib/motion/shotcraft/upstream/references/shots/opening/stroke-segment-build.md +50 -0
- package/lib/motion/shotcraft/upstream/references/shots/opening/text-as-mask.md +59 -0
- package/lib/motion/shotcraft/upstream/references/shots/outro/grain-dissolve.md +38 -0
- package/lib/motion/shotcraft/upstream/references/shots/outro/logo-shrink-wordmark-lockup.md +38 -0
- package/lib/motion/shotcraft/upstream/references/shots/outro/neon-triple-marquee.md +59 -0
- package/lib/motion/shotcraft/upstream/references/shots/outro/outro-group-photo-launch.md +39 -0
- package/lib/motion/shotcraft/upstream/references/shots/outro/ui-strip-away-outro.md +61 -0
- package/lib/motion/shotcraft/upstream/references/shots/outro/ui-to-brand-morph.md +52 -0
- package/lib/motion/shotcraft/upstream/references/shots/rhythm/beat-cut-moves.md +50 -0
- package/lib/motion/shotcraft/upstream/references/shots/rhythm/beat-step-list-theme-cycle.md +66 -0
- package/lib/motion/shotcraft/upstream/references/shots/rhythm/panel-grid-moves.md +43 -0
- package/lib/motion/shotcraft/upstream/references/shots/rhythm/quad-split-parallel-scenes.md +38 -0
- package/lib/motion/shotcraft/upstream/references/shots/rhythm/rhythm-interrupt-moves.md +38 -0
- package/lib/motion/shotcraft/upstream/references/shots/rhythm/sakuga-timing-shift.md +56 -0
- package/lib/motion/shotcraft/upstream/references/shots/rhythm/speed-ramp-freeze.md +44 -0
- package/lib/motion/shotcraft/upstream/references/shots/rhythm/trailer-grammar-moves.md +38 -0
- package/lib/motion/shotcraft/upstream/references/shots/transition/bottom-push-stack-wipe.md +63 -0
- package/lib/motion/shotcraft/upstream/references/shots/transition/card-flip-reveal.md +57 -0
- package/lib/motion/shotcraft/upstream/references/shots/transition/card-flock-tumble.md +63 -0
- package/lib/motion/shotcraft/upstream/references/shots/transition/circle-match-iris.md +58 -0
- package/lib/motion/shotcraft/upstream/references/shots/transition/gradient-transition.md +45 -0
- package/lib/motion/shotcraft/upstream/references/shots/transition/line-carry-transition.md +55 -0
- package/lib/motion/shotcraft/upstream/references/shots/transition/mosaic-reframe.md +49 -0
- package/lib/motion/shotcraft/upstream/references/shots/transition/page-turn-transitions.md +42 -0
- package/lib/motion/shotcraft/upstream/references/shots/transition/print-texture-transitions.md +42 -0
- package/lib/motion/shotcraft/upstream/references/shots/transition/shot-transitions.md +45 -0
- package/lib/motion/shotcraft/upstream/references/shots/transition/tear-streak-transitions.md +48 -0
- package/lib/motion/shotcraft/upstream/references/shots/transition/transition-hidden-cut.md +55 -0
- package/lib/motion/shotcraft/upstream/references/shots/transition/transition-travel.md +43 -0
- package/lib/motion/shotcraft/upstream/references/shots/transition/white-flash-logo-simplify-cut.md +41 -0
- package/lib/motion/shotcraft/upstream/references/shots/transition/wipe-transitions.md +42 -0
- package/lib/motion/shotcraft/upstream/references/shots/typography/blur-slide.md +59 -0
- package/lib/motion/shotcraft/upstream/references/shots/typography/brace-expand.md +55 -0
- package/lib/motion/shotcraft/upstream/references/shots/typography/countdown-arc-scatter.md +65 -0
- package/lib/motion/shotcraft/upstream/references/shots/typography/document-typewriter-reveal.md +42 -0
- package/lib/motion/shotcraft/upstream/references/shots/typography/flying-words.md +64 -0
- package/lib/motion/shotcraft/upstream/references/shots/typography/glitch-cycle.md +64 -0
- package/lib/motion/shotcraft/upstream/references/shots/typography/gradient-word-sweep.md +54 -0
- package/lib/motion/shotcraft/upstream/references/shots/typography/lead-word-zoom-assemble.md +91 -0
- package/lib/motion/shotcraft/upstream/references/shots/typography/marker-underline-title.md +51 -0
- package/lib/motion/shotcraft/upstream/references/shots/typography/outline-word-fill.md +66 -0
- package/lib/motion/shotcraft/upstream/references/shots/typography/paper-title-card.md +38 -0
- package/lib/motion/shotcraft/upstream/references/shots/typography/pill-chip-slot-cycle-handled.md +66 -0
- package/lib/motion/shotcraft/upstream/references/shots/typography/pill-slot-cycle.md +58 -0
- package/lib/motion/shotcraft/upstream/references/shots/typography/text-column-converge.md +61 -0
- package/lib/motion/shotcraft/upstream/references/shots/typography/title-demote-to-label.md +64 -0
- package/lib/motion/shotcraft/upstream/references/shots/typography/type-assembly-moves.md +45 -0
- package/lib/motion/shotcraft/upstream/references/shots/typography/type-entrance-moves.md +41 -0
- package/lib/motion/shotcraft/upstream/references/shots/typography/type-rhythm-sync.md +51 -0
- package/lib/motion/shotcraft/upstream/references/shots/typography/typewriter-moves.md +42 -0
- package/lib/motion/shotcraft/upstream/references/shots/typography/vertical-word-roll-blur-cycle.md +63 -0
- package/lib/motion/shotcraft/upstream/references/shots/typography/word-relay-filmstrip.md +57 -0
- package/lib/motion/shotcraft/upstream/references/shots/typography/word-relay-geometry.md +75 -0
- package/lib/motion/shotcraft/upstream/references/shots/ui-entrance/avatar-bracket-carousel.md +59 -0
- package/lib/motion/shotcraft/upstream/references/shots/ui-entrance/bezier-source-converge-merge.md +67 -0
- package/lib/motion/shotcraft/upstream/references/shots/ui-entrance/card-stack.md +60 -0
- package/lib/motion/shotcraft/upstream/references/shots/ui-entrance/carousel-3d.md +66 -0
- package/lib/motion/shotcraft/upstream/references/shots/ui-entrance/cloner-depth-echo.md +40 -0
- package/lib/motion/shotcraft/upstream/references/shots/ui-entrance/deck-deal-flyin.md +45 -0
- package/lib/motion/shotcraft/upstream/references/shots/ui-entrance/doc-park-left-pill-deal.md +62 -0
- package/lib/motion/shotcraft/upstream/references/shots/ui-entrance/draw-svg-trace.md +55 -0
- package/lib/motion/shotcraft/upstream/references/shots/ui-entrance/element-body-moves.md +37 -0
- package/lib/motion/shotcraft/upstream/references/shots/ui-entrance/integration-hub-map.md +55 -0
- package/lib/motion/shotcraft/upstream/references/shots/ui-entrance/list-reveal.md +50 -0
- package/lib/motion/shotcraft/upstream/references/shots/ui-entrance/list-stack-press.md +43 -0
- package/lib/motion/shotcraft/upstream/references/shots/ui-entrance/neon-frame-forerun.md +55 -0
- package/lib/motion/shotcraft/upstream/references/shots/ui-entrance/neon-frame-orbit-drop.md +51 -0
- package/lib/motion/shotcraft/upstream/references/shots/ui-entrance/page-waterfall-wall.md +51 -0
- package/lib/motion/shotcraft/upstream/references/shots/ui-entrance/product-card-progressive-assemble.md +56 -0
- package/lib/motion/shotcraft/upstream/references/shots/ui-entrance/radial-wave.md +49 -0
- package/lib/motion/shotcraft/upstream/references/shots/ui-entrance/research-card-stack-scroll.md +57 -0
- package/lib/motion/shotcraft/upstream/references/shots/ui-entrance/row-embed.md +36 -0
- package/lib/motion/shotcraft/upstream/references/shots/ui-entrance/value-stagger-gradient.md +64 -0
- package/lib/motion/shotcraft/upstream/references/shots/ui-entrance/wall-reveal-moves.md +47 -0
- package/lib/motion/shotcraft/upstream/references/sound-design.md +170 -0
- package/lib/motion/shotcraft/upstream/references/workbench.md +157 -0
- package/lib/motion/shotcraft/upstream/template/TEMPLATE.md +103 -0
- package/lib/motion/shotcraft/upstream/template/THEMES.md +44 -0
- package/lib/motion/shotcraft/upstream/template/package.json +20 -0
- package/lib/motion/shotcraft/upstream/template/remotion.config.ts +6 -0
- package/lib/motion/shotcraft/upstream/template/src/Root.tsx +17 -0
- package/lib/motion/shotcraft/upstream/template/src/aifl/Caption.tsx +65 -0
- package/lib/motion/shotcraft/upstream/template/src/aifl/DigitRoll.tsx +48 -0
- package/lib/motion/shotcraft/upstream/template/src/aifl/FlashCut.tsx +24 -0
- package/lib/motion/shotcraft/upstream/template/src/aifl/Main.tsx +192 -0
- package/lib/motion/shotcraft/upstream/template/src/aifl/PaperTitleCard.tsx +111 -0
- package/lib/motion/shotcraft/upstream/template/src/aifl/live/PageCam.tsx +150 -0
- package/lib/motion/shotcraft/upstream/template/src/aifl/live/SceneDetail.tsx +158 -0
- package/lib/motion/shotcraft/upstream/template/src/aifl/live/SceneFlyIn.tsx +468 -0
- package/lib/motion/shotcraft/upstream/template/src/aifl/live/SceneOpen.tsx +552 -0
- package/lib/motion/shotcraft/upstream/template/src/aifl/live/SceneOutroLive.tsx +411 -0
- package/lib/motion/shotcraft/upstream/template/src/aifl/live/ScenePapers.tsx +200 -0
- package/lib/motion/shotcraft/upstream/template/src/aifl/live/SceneWbr.tsx +324 -0
- package/lib/motion/shotcraft/upstream/template/src/aifl/live-layout.json +389 -0
- package/lib/motion/shotcraft/upstream/template/src/index.ts +4 -0
- package/lib/motion/shotcraft/upstream/template/src/themes/ThemedFilm.tsx +7 -0
- package/lib/motion/shotcraft/upstream/template/src/themes/manifest.tsx +68 -0
- package/lib/motion/shotcraft/upstream/template/src/themes/palette-assets.json +1 -0
- package/lib/motion/shotcraft/upstream/template/src/themes/palette-assets.ts +24 -0
- package/lib/motion/shotcraft/upstream/template/src/themes/palettes.json +74 -0
- package/lib/motion/shotcraft/upstream/template/src/themes/visual-theme.tsx +91 -0
- package/lib/motion/shotcraft/upstream/template/src/workbench.ts +213 -0
- package/lib/motion/shotcraft/upstream/template/tsconfig.json +15 -0
- package/lib/motion/spec.js +113 -0
- package/lib/motion/style-engine.js +153 -0
- package/lib/motion/style-frames.js +271 -0
- package/lib/motion/sync.js +214 -0
- package/lib/motion/theme.js +121 -0
- package/lib/motion/video-runtime.js +192 -0
- package/lib/motion/voice.js +417 -0
- package/lib/motion-agent-files.js +82 -0
- package/lib/motion-agent-protocol.js +66 -0
- package/lib/motion-agent-tools.js +196 -0
- package/lib/motion-agent.js +171 -0
- package/lib/motion-capture.js +93 -0
- package/lib/motion-core.js +238 -0
- package/lib/motion-film-review.js +71 -0
- package/lib/motion-library.js +210 -0
- package/lib/motion-planner.js +254 -0
- package/lib/motion-project.js +87 -0
- package/lib/motion-render-worker.js +153 -0
- package/lib/motion-session.js +32 -0
- package/lib/motion-source.js +49 -0
- package/lib/motion-tasks.js +452 -0
- package/lib/motion-vision.js +44 -0
- package/lib/mxfile.js +27 -7
- package/lib/routing/node-runtime.js +14 -0
- package/lib/routing/router.js +211 -0
- package/lib/routing/vendor/README.md +96 -0
- package/lib/routing/vendor/libavoid-routing.js +753 -0
- package/lib/routing/vendor/libavoid.min.js +59 -0
- package/lib/shotcard-core.js +39 -0
- package/lib/shotcard-reference.js +56 -0
- package/lib/style-kernel.js +37 -3
- package/lib/task-patches.js +26 -2
- package/lib/video-export.js +49 -22
- package/package.json +34 -4
|
@@ -0,0 +1,297 @@
|
|
|
1
|
+
// product-card-progressive-assemble — 详情卡像被逐字段抓取般自建
|
|
2
|
+
// 图 → 标题 → 分类 pill → 价格(原价被划线降级、新价 spring 跳出)→ 正文逐行 + 马克笔高亮 → 色卡 → 按钮,
|
|
3
|
+
// 整卡全程极慢前推。价格降级是全片唯一的"改变"事件,放在中段最显眼处。
|
|
4
|
+
//
|
|
5
|
+
// 第二轮重设计(瓷白 · 自动填充的商品详情页):
|
|
6
|
+
// - look = porcelain(冷白 + 钴蓝)。原生 1920 坐标重画:一张 1520×840 的商品详情卡占画宽 79%,
|
|
7
|
+
// 左侧 640 宽棚拍图(video-shotcraft 标志当棚拍主体 + 无缝背景 + 接触影),右侧字段按真实字号排版:
|
|
8
|
+
// 标题 108px、价格 112px、正文 34px、pill 28px——不再是 480×270 小画布放大的小字。
|
|
9
|
+
// - 手法强化:一枚钴蓝"填充光标"(描边框 + AUTOFILL 小签)领先每个字段 2–3f 跳到它的槽位,
|
|
10
|
+
// 框形在字段之间不对称 in-out 变形移动;字段落位前槽位里是浅灰骨架条,落位时骨架淡出、内容升起
|
|
11
|
+
// ——读作"表单正在被一格一格自动填好"。光标是唯一的主角光效(Q4),最后缩进按钮里消失。
|
|
12
|
+
// - 价格事件:$449 先完整落位 hold 18f,再 6f 内同窗"缩小 + 变灰 + 删除线从左划过",钴蓝新价
|
|
13
|
+
// Free(Apache-2.0 开源)物理弹簧(damping 14)从 1.18 收到 1、OPEN SOURCE chip 晚 6f 滑入。
|
|
14
|
+
// - 马克笔高亮:钴蓝 16% 底块 scaleX 0→1 由左向右 6f 刷过,比字段落位更快。
|
|
15
|
+
// - 收尾:按钮底色由左向右填满(墨黑),光标收进按钮淡出。
|
|
16
|
+
//
|
|
17
|
+
// 时间表(30fps,共 172f):
|
|
18
|
+
// 0–14 卡片升起落位(scale .96→1 + 上移 30px,expo-out),骨架槽位已在
|
|
19
|
+
// 8–24 光标 → 图:棚拍图揭示(失焦→清晰 + 商品 1.08→1 慢收)
|
|
20
|
+
// 20–34 光标 → 标题:逐字升起
|
|
21
|
+
// 30–44 光标 → pill:三枚错峰 pop(3f 间隔,过冲)
|
|
22
|
+
// 42–56 光标 → 价格:$449 落位
|
|
23
|
+
// 62–80 价格降级(6f 急变)+ 新价 Free 弹簧 + chip
|
|
24
|
+
// 76–96 光标 → 正文:三行错峰升起(3f),两处高亮 86/90 刷过
|
|
25
|
+
// 96–112 光标 → 色卡:四枚 pop(3f)+ 色名
|
|
26
|
+
// 114–128 光标 → 按钮:底色左→右填满,光标收进按钮消失
|
|
27
|
+
// 0–132 整卡前推 1→1.035(不对称 in-out)
|
|
28
|
+
// 132–172 hold 40f,干净定格
|
|
29
|
+
import React from 'react';
|
|
30
|
+
import { AbsoluteFill, useCurrentFrame } from 'remotion';
|
|
31
|
+
import { EASE, FONT, mix, ramp } from '../../_fixtures/Polish';
|
|
32
|
+
import { LOOKS, Stage, alpha, springAt, type } from '../../_fixtures/Look';
|
|
33
|
+
import { BRAND, ShotcraftMark } from '../../_fixtures/Brand';
|
|
34
|
+
|
|
35
|
+
export const PRODUCT_CARD_PROGRESSIVE_ASSEMBLE_DURATION = 172;
|
|
36
|
+
|
|
37
|
+
const L = LOOKS.porcelain;
|
|
38
|
+
const BLUE = L.accent;
|
|
39
|
+
|
|
40
|
+
// 卡片几何(画面坐标)
|
|
41
|
+
const CW = 1520;
|
|
42
|
+
const CH = 840;
|
|
43
|
+
const CL = (1920 - CW) / 2;
|
|
44
|
+
const CT = (1080 - CH) / 2 + 6;
|
|
45
|
+
const PAD = 60;
|
|
46
|
+
const IMG = { x: PAD, y: PAD, w: 640, h: CH - PAD * 2 };
|
|
47
|
+
const COL = PAD + 640 + 64; // 右列 x(卡片局部)
|
|
48
|
+
const COLW = CW - COL - PAD;
|
|
49
|
+
|
|
50
|
+
// 字段槽位(卡片局部坐标)+ 光标到达帧
|
|
51
|
+
type Box = { x: number; y: number; w: number; h: number };
|
|
52
|
+
const F = {
|
|
53
|
+
img: { box: { ...IMG }, at: 8 },
|
|
54
|
+
title: { box: { x: COL, y: 66, w: 560, h: 150 }, at: 20 },
|
|
55
|
+
pills: { box: { x: COL, y: 244, w: 560, h: 52 }, at: 30 },
|
|
56
|
+
price: { box: { x: COL, y: 322, w: 670, h: 112 }, at: 42 }, // w 670:框住 OPEN SOURCE chip
|
|
57
|
+
body: { box: { x: COL, y: 462, w: COLW, h: 150 }, at: 76 },
|
|
58
|
+
swatch: { box: { x: COL, y: 636, w: 520, h: 56 }, at: 96 },
|
|
59
|
+
cta: { box: { x: COL, y: 716, w: COLW, h: 64 }, at: 114 },
|
|
60
|
+
};
|
|
61
|
+
const ORDER: (keyof typeof F)[] = ['img', 'title', 'pills', 'price', 'body', 'swatch', 'cta'];
|
|
62
|
+
const HOP = 6; // 光标跳格帧数
|
|
63
|
+
const LAND = 2; // 字段在光标到达后几帧开始落位
|
|
64
|
+
const PRICE_DROP = 62;
|
|
65
|
+
|
|
66
|
+
const clamp01 = (x: number) => (x < 0 ? 0 : x > 1 ? 1 : x);
|
|
67
|
+
|
|
68
|
+
// 光标当前框:在相邻两个字段框之间按 swift 插值
|
|
69
|
+
const cursorBox = (f: number): Box & { k: number } => {
|
|
70
|
+
let prev = F[ORDER[0]].box as Box;
|
|
71
|
+
for (let i = 0; i < ORDER.length; i++) {
|
|
72
|
+
const cur = F[ORDER[i]];
|
|
73
|
+
const t0 = cur.at - HOP;
|
|
74
|
+
if (f < cur.at) {
|
|
75
|
+
const k = i === 0 ? 1 : ramp(f, t0, HOP, EASE.swift);
|
|
76
|
+
const b = cur.box as Box;
|
|
77
|
+
return { x: mix(prev.x, b.x, k), y: mix(prev.y, b.y, k), w: mix(prev.w, b.w, k), h: mix(prev.h, b.h, k), k };
|
|
78
|
+
}
|
|
79
|
+
prev = cur.box as Box;
|
|
80
|
+
}
|
|
81
|
+
return { ...prev, k: 1 };
|
|
82
|
+
};
|
|
83
|
+
|
|
84
|
+
// 字段落位:骨架淡出 + 内容上移 18px 失焦淡入(snappy 14f)
|
|
85
|
+
const landP = (f: number, key: keyof typeof F, extra = 0) => ramp(f, F[key].at + LAND + extra, 14, EASE.snappy);
|
|
86
|
+
const rise = (p: number, dist = 18): React.CSSProperties => ({
|
|
87
|
+
opacity: clamp01(p * 1.8),
|
|
88
|
+
transform: `translateY(${((1 - p) * dist).toFixed(2)}px)`,
|
|
89
|
+
filter: p < 0.98 ? `blur(${((1 - p) * 6).toFixed(2)}px)` : undefined,
|
|
90
|
+
});
|
|
91
|
+
const pop = (f: number, start: number): React.CSSProperties => {
|
|
92
|
+
const s = springAt(f, start, { damping: 13, stiffness: 260 });
|
|
93
|
+
return { opacity: clamp01((f - start) / 4), transform: `scale(${mix(0.4, 1, s).toFixed(4)})` };
|
|
94
|
+
};
|
|
95
|
+
|
|
96
|
+
// 骨架条(字段落位前的浅灰占位)
|
|
97
|
+
const Skeleton: React.FC<{ box: Box; fade: number; rows?: number[]; radius?: number }> = ({ box, fade, rows = [1], radius = 10 }) =>
|
|
98
|
+
fade >= 1 ? null : (
|
|
99
|
+
<div style={{ position: 'absolute', left: box.x, top: box.y, width: box.w, height: box.h, opacity: 1 - fade, display: 'flex', flexDirection: 'column', gap: 14, justifyContent: 'center' }}>
|
|
100
|
+
{rows.map((w, i) => (
|
|
101
|
+
<div key={i} style={{ height: Math.min(28, (box.h - 14 * (rows.length - 1)) / rows.length), width: `${w * 100}%`, borderRadius: radius, background: '#e8edf5' }} />
|
|
102
|
+
))}
|
|
103
|
+
</div>
|
|
104
|
+
);
|
|
105
|
+
|
|
106
|
+
// 商品:video-shotcraft 标志当棚拍主体(亮底 light 版),下方一团独立的地面接触影(不是标志投影)
|
|
107
|
+
const ProductMark: React.FC = () => (
|
|
108
|
+
<div style={{ position: 'relative', width: '100%', height: '100%' }}>
|
|
109
|
+
<div style={{
|
|
110
|
+
position: 'absolute', left: 40, right: 40, top: 326, height: 52, borderRadius: '50%',
|
|
111
|
+
background: `radial-gradient(closest-side, ${alpha(L.shadow, 0.26)}, ${alpha(L.shadow, 0)})`,
|
|
112
|
+
}} />
|
|
113
|
+
<ShotcraftMark size={368} tone="light" style={{ position: 'absolute', left: 46, top: 26 }} />
|
|
114
|
+
</div>
|
|
115
|
+
);
|
|
116
|
+
|
|
117
|
+
const LINES: [string, boolean?][][] = [
|
|
118
|
+
[['Shot recipes that '], ['direct every move', true], ['.']],
|
|
119
|
+
[['Built on '], ['real page captures', true], [' and 2.5D,']],
|
|
120
|
+
[['cut to the beat, rendered in Remotion.']],
|
|
121
|
+
];
|
|
122
|
+
// 色卡 = 品牌四色(成片 look 可选)
|
|
123
|
+
const SWATCHES: [string, string][] = [[BRAND.ink, 'Ink'], [BRAND.paper, 'Paper'], [BRAND.amber, 'Amber'], [BRAND.slate, 'Slate']];
|
|
124
|
+
|
|
125
|
+
export const ProductCardProgressiveAssemble: React.FC = () => {
|
|
126
|
+
const frame = useCurrentFrame();
|
|
127
|
+
|
|
128
|
+
const enter = ramp(frame, 0, 14, EASE.snappy);
|
|
129
|
+
const push = 1 + 0.035 * ramp(frame, 0, 132, EASE.swift);
|
|
130
|
+
|
|
131
|
+
// 各字段进度
|
|
132
|
+
const img = landP(frame, 'img');
|
|
133
|
+
const title = landP(frame, 'title');
|
|
134
|
+
const price = landP(frame, 'price');
|
|
135
|
+
const sw = landP(frame, 'swatch');
|
|
136
|
+
const cta = ramp(frame, F.cta.at + LAND, 12, EASE.out);
|
|
137
|
+
|
|
138
|
+
// 价格降级(6f 同窗:缩小 + 变灰 + 删除线)
|
|
139
|
+
const cut = ramp(frame, PRICE_DROP, 6, EASE.snappy);
|
|
140
|
+
const strike = ramp(frame, PRICE_DROP, 5, EASE.out);
|
|
141
|
+
const newP = springAt(frame, PRICE_DROP + 1, { damping: 14, stiffness: 240 });
|
|
142
|
+
const chip = ramp(frame, PRICE_DROP + 7, 10, EASE.snappy);
|
|
143
|
+
|
|
144
|
+
// 光标
|
|
145
|
+
const cb = cursorBox(frame);
|
|
146
|
+
const cursorIn = ramp(frame, 2, 6, EASE.out);
|
|
147
|
+
const cursorOut = ramp(frame, F.cta.at + 8, 8, EASE.exit);
|
|
148
|
+
const cursorOp = cursorIn * (1 - cursorOut);
|
|
149
|
+
const pad = 14 * (1 - cursorOut);
|
|
150
|
+
|
|
151
|
+
return (
|
|
152
|
+
<AbsoluteFill style={{ background: L.bg[1], overflow: 'hidden' }}>
|
|
153
|
+
<Stage look={L} keyLight={{ x: 0.3, y: 0.05 }} fill={{ x: 0.85, y: 0.95 }} vignette={0.2} />
|
|
154
|
+
{/* 远景:一块极淡的钴蓝光晕在卡片右后方(空间层次) */}
|
|
155
|
+
<div style={{ position: 'absolute', left: 1100, top: 520, width: 900, height: 700, background: `radial-gradient(closest-side, ${alpha(BLUE, 0.08)}, ${alpha(BLUE, 0)})` }} />
|
|
156
|
+
|
|
157
|
+
<div style={{
|
|
158
|
+
position: 'absolute', left: CL, top: CT, width: CW, height: CH,
|
|
159
|
+
transform: `translateY(${((1 - enter) * 30).toFixed(2)}px) scale(${(mix(0.96, 1, enter) * push).toFixed(5)})`,
|
|
160
|
+
transformOrigin: '50% 55%', opacity: clamp01(enter * 1.6),
|
|
161
|
+
}}>
|
|
162
|
+
{/* 卡面:白 + 发丝线 + 内高光 + 两层带色相软阴影 */}
|
|
163
|
+
<div style={{
|
|
164
|
+
position: 'absolute', inset: 0, borderRadius: 36, background: 'linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%)',
|
|
165
|
+
boxShadow: `inset 0 1px 0 #ffffff, 0 0 0 1px ${L.line}, 0 2px 4px ${alpha(L.shadow, 0.06)}, 0 40px 90px -20px ${alpha(L.shadow, 0.28)}`,
|
|
166
|
+
}} />
|
|
167
|
+
|
|
168
|
+
{/* 骨架槽位 */}
|
|
169
|
+
<Skeleton box={{ x: COL, y: 66, w: 200, h: 26 }} fade={title} />
|
|
170
|
+
<Skeleton box={{ x: COL, y: 112, w: 520, h: 96 }} fade={title} rows={[0.85]} radius={16} />
|
|
171
|
+
<Skeleton box={F.pills.box} fade={landP(frame, 'pills')} rows={[0.62]} radius={26} />
|
|
172
|
+
<Skeleton box={F.price.box} fade={price} rows={[0.38]} radius={16} />
|
|
173
|
+
<Skeleton box={F.body.box} fade={landP(frame, 'body')} rows={[0.92, 0.86, 0.6]} />
|
|
174
|
+
<Skeleton box={F.swatch.box} fade={sw} rows={[0.5]} radius={28} />
|
|
175
|
+
<Skeleton box={F.cta.box} fade={cta} rows={[1]} radius={32} />
|
|
176
|
+
|
|
177
|
+
{/* 图:棚拍无缝背景 + 标志 */}
|
|
178
|
+
<div style={{ position: 'absolute', left: IMG.x, top: IMG.y, width: IMG.w, height: IMG.h, borderRadius: 24, overflow: 'hidden', background: '#eef2f8' }}>
|
|
179
|
+
<div style={{ position: 'absolute', inset: 0, opacity: img, background: 'radial-gradient(110% 80% at 38% 26%, #ffffff 0%, #eef2f8 46%, #dde4ee 100%)' }} />
|
|
180
|
+
<div style={{ position: 'absolute', left: 0, right: 0, top: '72%', bottom: 0, opacity: img, background: `linear-gradient(180deg, ${alpha(L.shadow, 0.04)}, ${alpha(L.shadow, 0)})` }} />
|
|
181
|
+
<div style={{
|
|
182
|
+
position: 'absolute', left: 90, top: 150, width: 460, height: 483,
|
|
183
|
+
opacity: clamp01(img * 1.5),
|
|
184
|
+
transform: `translateY(${((1 - img) * 26).toFixed(2)}px) scale(${mix(1.08, 1, ramp(frame, 10, 40, EASE.out)).toFixed(4)})`,
|
|
185
|
+
filter: img < 0.98 ? `blur(${((1 - img) * 10).toFixed(2)}px)` : undefined,
|
|
186
|
+
}}>
|
|
187
|
+
<ProductMark />
|
|
188
|
+
</div>
|
|
189
|
+
<div style={{ position: 'absolute', left: 32, top: 30, fontFamily: FONT.mono, fontSize: 22, letterSpacing: '0.14em', color: L.ink3, opacity: img }}>01 / 06</div>
|
|
190
|
+
</div>
|
|
191
|
+
|
|
192
|
+
{/* 眉标 + 标题 */}
|
|
193
|
+
<div style={{ position: 'absolute', left: COL, top: 66, fontFamily: FONT.mono, fontSize: 22, letterSpacing: '0.18em', color: L.ink3, ...rise(title, 10) }}>
|
|
194
|
+
VIDEO-SHOTCRAFT · AGENT SKILL
|
|
195
|
+
</div>
|
|
196
|
+
<div style={{ position: 'absolute', left: COL - 4, top: 104, ...type(112, 720), color: L.ink, letterSpacing: '-0.045em', whiteSpace: 'nowrap', ...rise(landP(frame, 'title', 2), 26) }}>
|
|
197
|
+
Shotcraft
|
|
198
|
+
</div>
|
|
199
|
+
|
|
200
|
+
{/* 分类 pill:错峰 pop */}
|
|
201
|
+
<div style={{ position: 'absolute', left: COL, top: F.pills.box.y, display: 'flex', gap: 12 }}>
|
|
202
|
+
{['Agent skill', 'Remotion', 'Shot recipes'].map((t, i) => (
|
|
203
|
+
<div key={t} style={{
|
|
204
|
+
...type(28, 560), color: i === 2 ? L.ink : L.ink2, padding: '10px 22px', borderRadius: 99,
|
|
205
|
+
background: i === 2 ? '#ffffff' : L.surface2, boxShadow: i === 2 ? `inset 0 0 0 1.5px ${alpha(L.ink, 0.16)}` : `inset 0 0 0 1px ${L.line}`,
|
|
206
|
+
transformOrigin: 'left center', ...pop(frame, F.pills.at + LAND + i * 3),
|
|
207
|
+
}}>{t}</div>
|
|
208
|
+
))}
|
|
209
|
+
</div>
|
|
210
|
+
|
|
211
|
+
{/* 价格行:$449 落位 → 降级;Free 弹簧跳出;chip 滑入 */}
|
|
212
|
+
<div style={{ position: 'absolute', left: COL, top: F.price.box.y, height: 112, width: 680, ...rise(price, 16) }}>
|
|
213
|
+
<div style={{
|
|
214
|
+
position: 'absolute', left: 0, bottom: 4, ...type(112, 760), letterSpacing: '-0.04em',
|
|
215
|
+
color: cut > 0.5 ? L.ink3 : L.ink, transform: `scale(${mix(1, 0.46, cut).toFixed(4)})`, transformOrigin: '0% 88%', whiteSpace: 'nowrap',
|
|
216
|
+
}}>
|
|
217
|
+
$449
|
|
218
|
+
<span style={{
|
|
219
|
+
position: 'absolute', left: -6, right: -6, top: '50%', height: 9, borderRadius: 4, background: L.ink3,
|
|
220
|
+
transform: `scaleX(${strike.toFixed(4)})`, transformOrigin: 'left center',
|
|
221
|
+
}} />
|
|
222
|
+
</div>
|
|
223
|
+
<div style={{
|
|
224
|
+
position: 'absolute', left: 150, bottom: 4, ...type(112, 780), letterSpacing: '-0.04em', color: BLUE, whiteSpace: 'nowrap',
|
|
225
|
+
opacity: clamp01((frame - PRICE_DROP - 1) / 3), transform: `scale(${mix(1.18, 1, newP).toFixed(4)})`, transformOrigin: '0% 80%',
|
|
226
|
+
}}>
|
|
227
|
+
Free
|
|
228
|
+
</div>
|
|
229
|
+
<div style={{
|
|
230
|
+
position: 'absolute', left: 412, top: 40, ...type(26, 700), color: BLUE, background: alpha(BLUE, 0.1),
|
|
231
|
+
boxShadow: `inset 0 0 0 1.5px ${alpha(BLUE, 0.25)}`, padding: '8px 16px', borderRadius: 99, letterSpacing: '0.04em', whiteSpace: 'nowrap',
|
|
232
|
+
opacity: chip, transform: `translateX(${((1 - chip) * -16).toFixed(2)}px)`,
|
|
233
|
+
}}>
|
|
234
|
+
OPEN SOURCE
|
|
235
|
+
</div>
|
|
236
|
+
</div>
|
|
237
|
+
|
|
238
|
+
{/* 正文:三行错峰 + 马克笔高亮 */}
|
|
239
|
+
<div style={{ position: 'absolute', left: COL, top: F.body.box.y, width: COLW, ...type(34, 450), lineHeight: '50px', color: L.ink2, letterSpacing: '-0.012em' }}>
|
|
240
|
+
{LINES.map((segs, li) => (
|
|
241
|
+
<div key={li} style={{ whiteSpace: 'nowrap', ...rise(landP(frame, 'body', li * 3), 14) }}>
|
|
242
|
+
{segs.map(([txt, mark], si) => !mark ? <span key={si}>{txt}</span> : (
|
|
243
|
+
<span key={si} style={{ position: 'relative', display: 'inline-block' }}>
|
|
244
|
+
<span style={{
|
|
245
|
+
position: 'absolute', left: -4, right: -4, top: 6, bottom: 4, borderRadius: '4px 8px 6px 3px',
|
|
246
|
+
background: alpha(BLUE, 0.16), transform: `scaleX(${ramp(frame, 86 + li * 4, 6, EASE.out).toFixed(4)})`, transformOrigin: 'left center',
|
|
247
|
+
}} />
|
|
248
|
+
<span style={{ position: 'relative', color: L.ink, fontWeight: 620 }}>{txt}</span>
|
|
249
|
+
</span>
|
|
250
|
+
))}
|
|
251
|
+
</div>
|
|
252
|
+
))}
|
|
253
|
+
</div>
|
|
254
|
+
|
|
255
|
+
{/* 色卡:四枚 pop + 色名 */}
|
|
256
|
+
<div style={{ position: 'absolute', left: COL, top: F.swatch.box.y, height: 56, display: 'flex', alignItems: 'center', gap: 16 }}>
|
|
257
|
+
{SWATCHES.map(([c], i) => (
|
|
258
|
+
<div key={c} style={{
|
|
259
|
+
width: 52, height: 52, borderRadius: 26, marginRight: i === 0 ? 4 : 0,
|
|
260
|
+
background: `radial-gradient(circle at 35% 30%, rgba(255,255,255,0.35), rgba(255,255,255,0) 55%), ${c}`,
|
|
261
|
+
boxShadow: i === 0 ? `0 0 0 4px #ffffff, 0 0 0 6px ${L.ink}` : `inset 0 0 0 1px ${alpha(L.ink, 0.12)}`,
|
|
262
|
+
...pop(frame, F.swatch.at + LAND + i * 3),
|
|
263
|
+
}} />
|
|
264
|
+
))}
|
|
265
|
+
<div style={{ marginLeft: 14, ...type(30, 450), color: L.ink3, ...rise(ramp(frame, F.swatch.at + 12, 12, EASE.snappy), 10) }}>
|
|
266
|
+
Look · <span style={{ color: L.ink, fontWeight: 650 }}>Ink</span>
|
|
267
|
+
</div>
|
|
268
|
+
</div>
|
|
269
|
+
|
|
270
|
+
{/* 按钮:底色由左向右填满 */}
|
|
271
|
+
<div style={{ position: 'absolute', left: F.cta.box.x, top: F.cta.box.y, width: F.cta.box.w, height: F.cta.box.h, borderRadius: 32, overflow: 'hidden', opacity: clamp01(cta * 4) }}>
|
|
272
|
+
<div style={{ position: 'absolute', inset: 0, background: L.ink, transform: `scaleX(${cta.toFixed(4)})`, transformOrigin: 'left center' }} />
|
|
273
|
+
<div style={{ position: 'absolute', inset: 0, display: 'flex', alignItems: 'center', justifyContent: 'center', gap: 14, ...type(30, 650), color: '#ffffff', opacity: ramp(frame, F.cta.at + 8, 8, EASE.out) }}>
|
|
274
|
+
Get the skill <span style={{ opacity: 0.5 }}>—</span> Free
|
|
275
|
+
</div>
|
|
276
|
+
</div>
|
|
277
|
+
|
|
278
|
+
{/* 填充光标:描边框 + AUTOFILL 签,领先字段跳格 */}
|
|
279
|
+
{cursorOp > 0.01 && (
|
|
280
|
+
<div style={{
|
|
281
|
+
position: 'absolute', left: cb.x - pad, top: cb.y - pad, width: cb.w + pad * 2, height: cb.h + pad * 2,
|
|
282
|
+
borderRadius: 22, border: `2.5px solid ${BLUE}`, background: alpha(BLUE, 0.04), opacity: cursorOp,
|
|
283
|
+
boxShadow: `0 0 0 6px ${alpha(BLUE, 0.08)}, 0 10px 30px ${alpha(BLUE, 0.16)}`,
|
|
284
|
+
}}>
|
|
285
|
+
<div style={{
|
|
286
|
+
position: 'absolute', right: 18, top: -17, height: 32, padding: '0 12px', borderRadius: 8, background: BLUE, color: '#ffffff',
|
|
287
|
+
display: 'flex', alignItems: 'center', gap: 8, fontFamily: FONT.mono, fontSize: 18, letterSpacing: '0.14em', whiteSpace: 'nowrap',
|
|
288
|
+
}}>
|
|
289
|
+
<span style={{ width: 8, height: 8, borderRadius: 4, background: '#ffffff', opacity: 0.6 + 0.4 * Math.sin(frame / 3) }} />
|
|
290
|
+
AUTOFILL
|
|
291
|
+
</div>
|
|
292
|
+
</div>
|
|
293
|
+
)}
|
|
294
|
+
</div>
|
|
295
|
+
</AbsoluteFill>
|
|
296
|
+
);
|
|
297
|
+
};
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
// radial-wave — Grid Radial Wave 点阵涟漪(motion-lab 定稿转原生 Remotion)
|
|
2
|
+
// 17×9 圆点阵列,波从中心向外按欧氏距离 stagger 扩散:每点 scale 0→1.5→1 +
|
|
3
|
+
// 亮度脉冲,波前过后留下常亮点阵;第二道波反向收拢。offset = k·dist(cell, origin)。
|
|
4
|
+
// 设计坐标 480×270(DesignStage 等比放大),参数表数值以此坐标系标定。
|
|
5
|
+
import React from 'react';
|
|
6
|
+
import { DesignStage, E, seg, useT } from '../../_fixtures/Motion';
|
|
7
|
+
|
|
8
|
+
export const RADIAL_WAVE_DURATION = 114; // 3800ms @30fps
|
|
9
|
+
|
|
10
|
+
const COLS = 17;
|
|
11
|
+
const ROWS = 9;
|
|
12
|
+
const CX = (COLS - 1) / 2;
|
|
13
|
+
const CY = (ROWS - 1) / 2;
|
|
14
|
+
const MAX_D = Math.hypot(CX, CY);
|
|
15
|
+
|
|
16
|
+
const DOTS = Array.from({ length: ROWS * COLS }, (_, i) => {
|
|
17
|
+
const r = Math.floor(i / COLS);
|
|
18
|
+
const c = i % COLS;
|
|
19
|
+
return {
|
|
20
|
+
left: `${((c + 0.5) / COLS) * 100}%`,
|
|
21
|
+
top: `${((r + 0.5) / ROWS) * 100}%`,
|
|
22
|
+
dist: Math.hypot(c - CX, r - CY) / MAX_D,
|
|
23
|
+
};
|
|
24
|
+
});
|
|
25
|
+
|
|
26
|
+
export const RadialWave: React.FC = () => {
|
|
27
|
+
const t = useT();
|
|
28
|
+
return (
|
|
29
|
+
<DesignStage bg="#0a0b10">
|
|
30
|
+
{DOTS.map(({ left, top, dist }, i) => {
|
|
31
|
+
// 第一道波:扩散点亮;第二道波:反向脉冲
|
|
32
|
+
const w1 = seg(t, dist * 0.35, dist * 0.35 + 0.18, E.outCubic);
|
|
33
|
+
const w2 = seg(t, 0.62 + (1 - dist) * 0.25, 0.62 + (1 - dist) * 0.25 + 0.15);
|
|
34
|
+
const pulse2 = Math.sin(w2 * Math.PI);
|
|
35
|
+
const s = w1 * (1 + 0.5 * Math.sin(w1 * Math.PI)) + pulse2 * 0.8;
|
|
36
|
+
return (
|
|
37
|
+
<div
|
|
38
|
+
key={i}
|
|
39
|
+
style={{
|
|
40
|
+
position: 'absolute',
|
|
41
|
+
width: 10,
|
|
42
|
+
height: 10,
|
|
43
|
+
borderRadius: '50%',
|
|
44
|
+
left,
|
|
45
|
+
top,
|
|
46
|
+
margin: -5,
|
|
47
|
+
background: pulse2 > 0.3 ? '#b9f2ff' : '#6c8cff',
|
|
48
|
+
transform: `scale(${s})`,
|
|
49
|
+
opacity: 0.25 + w1 * 0.5 + pulse2 * 0.25,
|
|
50
|
+
boxShadow: pulse2 > 0.3 ? '0 0 12px #7fd8ff' : 'none',
|
|
51
|
+
}}
|
|
52
|
+
/>
|
|
53
|
+
);
|
|
54
|
+
})}
|
|
55
|
+
</DesignStage>
|
|
56
|
+
);
|
|
57
|
+
};
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
// research-card-stack-scroll — Research Stack 论文卡叠压滚流(motion-lab 定稿转原生 Remotion)
|
|
2
|
+
// 深色论文卡沿微微向右下的轴线连续飞入并叠压在中心:入场是 translateY(-40)+scale 0.94→1
|
|
3
|
+
// 的 6 帧短促 spring,落位带 1 帧压缩;只有最上一张全清晰渲染标题+作者+摘要,
|
|
4
|
+
// 下方卡按 depth 递增 blur/变暗只露顶部标题条,背景浅灰横向 grid 同步移动做速度参照。
|
|
5
|
+
// 设计坐标 480×270(DesignStage 等比放大),参数表数值以此坐标系标定。
|
|
6
|
+
import React from 'react';
|
|
7
|
+
import { DesignStage, E, lerp, rand, seg, useT } from '../../_fixtures/Motion';
|
|
8
|
+
|
|
9
|
+
export const RESEARCH_CARD_STACK_SCROLL_DURATION = 144; // 4800ms @30fps
|
|
10
|
+
|
|
11
|
+
const ORANGE = '#FF6A1F';
|
|
12
|
+
const ORANGE_SOFT = '#FF8A44';
|
|
13
|
+
const INK = '#1A1A1A';
|
|
14
|
+
const FONT = '-apple-system,system-ui,"SF Pro Text","PingFang SC",sans-serif';
|
|
15
|
+
|
|
16
|
+
// 原 setup 里的 stage.clientWidth/clientHeight 分支——原渲染 stage 恒为 480×270
|
|
17
|
+
const W = 480;
|
|
18
|
+
const H = 270;
|
|
19
|
+
const F = 144; // recipe 帧总数(f = t·F)
|
|
20
|
+
const PER = 12; // 每 12 帧进一张卡
|
|
21
|
+
const GAP = 30; // 叠压后每张卡的下移间距
|
|
22
|
+
const XOFF = 9; // 滚流时的右移量
|
|
23
|
+
|
|
24
|
+
// 逻辑画布 420×250 → 实际 stage 的等比缩放
|
|
25
|
+
const LW = 420;
|
|
26
|
+
const LH = 250;
|
|
27
|
+
const S = Math.min(W / LW, H / LH);
|
|
28
|
+
|
|
29
|
+
const TITLES = [
|
|
30
|
+
'Sparse Attention Mechanisms for Long-Context Reasoning',
|
|
31
|
+
'Retrieval Drift in Multi-Hop Agent Pipelines',
|
|
32
|
+
'Latent Caching Reduces Tool-Call Latency by 41%',
|
|
33
|
+
'On the Calibration of Preference Reward Models',
|
|
34
|
+
'Grid-Aligned Motion Priors for UI Animation',
|
|
35
|
+
'Cheap Verifiers Beat Expensive Samplers',
|
|
36
|
+
'Structured Decoding Without Grammar Loss',
|
|
37
|
+
'Depth-Ordered Compositing for Live Interfaces',
|
|
38
|
+
'Token-Budget Routing in Agent Fleets',
|
|
39
|
+
'Contrastive Layouts for Document Understanding',
|
|
40
|
+
'Fast Approximate Re-Ranking at Query Time',
|
|
41
|
+
'Signal Propagation in Deep Residual Agents',
|
|
42
|
+
'A Note on Deterministic Replay of Motion',
|
|
43
|
+
];
|
|
44
|
+
const CW = 296;
|
|
45
|
+
const CH = 96;
|
|
46
|
+
|
|
47
|
+
export const ResearchCardStackScroll: React.FC = () => {
|
|
48
|
+
const t = useT();
|
|
49
|
+
const f = t * F;
|
|
50
|
+
const focus = Math.floor(f / PER); // 只有最上一张卡渲染正文
|
|
51
|
+
return (
|
|
52
|
+
<DesignStage bg="#FAFAFA">
|
|
53
|
+
{/* 背景横向 grid:随滚流同步下移做速度参照 */}
|
|
54
|
+
<div
|
|
55
|
+
style={{
|
|
56
|
+
position: 'absolute',
|
|
57
|
+
inset: -40,
|
|
58
|
+
backgroundImage: 'linear-gradient(rgba(0,0,0,.055) 1px,transparent 1px)',
|
|
59
|
+
backgroundSize: '100% 24px',
|
|
60
|
+
transform: `translateY(${((f / PER) * GAP * S) % 24}px)`,
|
|
61
|
+
}}
|
|
62
|
+
/>
|
|
63
|
+
{/* 逻辑画布 track:中心锚点 + 等比缩放 */}
|
|
64
|
+
<div
|
|
65
|
+
style={{
|
|
66
|
+
position: 'absolute',
|
|
67
|
+
left: '50%',
|
|
68
|
+
top: '50%',
|
|
69
|
+
width: 0,
|
|
70
|
+
height: 0,
|
|
71
|
+
transformOrigin: '0 0',
|
|
72
|
+
transform: `scale(${S})`,
|
|
73
|
+
}}
|
|
74
|
+
>
|
|
75
|
+
{TITLES.map((tt, i) => {
|
|
76
|
+
const e = f - i * PER; // 该卡的本地帧
|
|
77
|
+
const p = seg(Math.max(0, Math.min(1, (e + 6) / 6)), 0, 1, E.outCubic); // 6 帧入场
|
|
78
|
+
const drift = (Math.max(0, e) / PER) * GAP; // 叠压后随流下移
|
|
79
|
+
const squash = e >= 0 && e < 1.6 ? 0.97 : 1; // 落位 1 帧压缩
|
|
80
|
+
const y = lerp(p, -40, 0) + drift;
|
|
81
|
+
const x = (Math.max(0, e) / PER) * XOFF;
|
|
82
|
+
const depth = Math.min(1, drift / (GAP * 3)); // depth 递增 blur + 变暗
|
|
83
|
+
const opacity =
|
|
84
|
+
e < -6 ? 0 : Math.min(1, (e + 6) / 2) * (1 - Math.max(0, (drift - GAP * 3.2) / (GAP * 1.6)));
|
|
85
|
+
return (
|
|
86
|
+
<div
|
|
87
|
+
key={i}
|
|
88
|
+
style={{
|
|
89
|
+
position: 'absolute',
|
|
90
|
+
left: -CW / 2,
|
|
91
|
+
top: -CH / 2 - 14,
|
|
92
|
+
width: CW,
|
|
93
|
+
height: CH,
|
|
94
|
+
background: INK,
|
|
95
|
+
borderRadius: 11,
|
|
96
|
+
overflow: 'hidden',
|
|
97
|
+
fontFamily: FONT,
|
|
98
|
+
zIndex: i,
|
|
99
|
+
opacity,
|
|
100
|
+
boxShadow: '0 14px 34px rgba(0,0,0,.22)',
|
|
101
|
+
border: '1px solid #2A2A2A',
|
|
102
|
+
boxSizing: 'border-box',
|
|
103
|
+
transform: `translate(${x}px,${y}px) scale(${lerp(p, 0.94, 1)},${lerp(p, 0.94, 1) * squash})`,
|
|
104
|
+
filter: `blur(${(depth * 4).toFixed(2)}px) brightness(${(1 - depth * 0.25).toFixed(3)})`,
|
|
105
|
+
}}
|
|
106
|
+
>
|
|
107
|
+
{/* 左侧色条:每 4 张一根橙色 */}
|
|
108
|
+
<div
|
|
109
|
+
style={{
|
|
110
|
+
position: 'absolute',
|
|
111
|
+
left: 0,
|
|
112
|
+
top: 0,
|
|
113
|
+
width: 3,
|
|
114
|
+
height: '100%',
|
|
115
|
+
background: i % 4 === 1 ? ORANGE : '#2E2E2E',
|
|
116
|
+
}}
|
|
117
|
+
/>
|
|
118
|
+
{/* 标题条:所有卡都渲染 */}
|
|
119
|
+
<div
|
|
120
|
+
style={{
|
|
121
|
+
position: 'absolute',
|
|
122
|
+
left: 14,
|
|
123
|
+
top: 11,
|
|
124
|
+
width: 264,
|
|
125
|
+
font: `650 9.5px/1.35 ${FONT}`,
|
|
126
|
+
color: '#F0F0F0',
|
|
127
|
+
}}
|
|
128
|
+
>
|
|
129
|
+
{tt}
|
|
130
|
+
</div>
|
|
131
|
+
{/* 正文(作者 + 摘要骨架线):只有 focus 卡可见 */}
|
|
132
|
+
<div style={{ position: 'absolute', left: 14, top: 40, width: 266, opacity: i === focus ? 1 : 0 }}>
|
|
133
|
+
<div style={{ font: `500 8px/1 ${FONT}`, color: ORANGE_SOFT, letterSpacing: '.3px' }}>
|
|
134
|
+
{`A. Author, B. Writer, C. Reader · preprint:24${10 + i}.0${i % 9}${i % 7}`}
|
|
135
|
+
</div>
|
|
136
|
+
{[0, 1, 2, 3].map((k) => (
|
|
137
|
+
<div
|
|
138
|
+
key={k}
|
|
139
|
+
style={{
|
|
140
|
+
marginTop: k ? 5 : 9,
|
|
141
|
+
width: `${100 - k * 11 - rand(i * 5 + k) * 12}%`,
|
|
142
|
+
height: 4,
|
|
143
|
+
borderRadius: 2,
|
|
144
|
+
background: '#3A3A3A',
|
|
145
|
+
}}
|
|
146
|
+
/>
|
|
147
|
+
))}
|
|
148
|
+
</div>
|
|
149
|
+
</div>
|
|
150
|
+
);
|
|
151
|
+
})}
|
|
152
|
+
</div>
|
|
153
|
+
</DesignStage>
|
|
154
|
+
);
|
|
155
|
+
};
|