dsh-drawai 0.3.3 → 0.4.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/LICENSE +4142 -0
- package/README.md +43 -10
- package/lib/audio-media.js +147 -0
- package/lib/audio-service.js +66 -0
- package/lib/canvas-format.js +134 -0
- package/lib/client.js +5283 -223
- 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-tasks.js +26 -0
- package/lib/imagegen.mjs +596 -0
- package/lib/index.js +1758 -129
- package/lib/media.js +26 -13
- package/lib/mgstyle-core.js +75 -0
- package/lib/motion/apply.js +180 -0
- package/lib/motion/asset-pack-lock.js +10 -0
- package/lib/motion/asset-pack.js +335 -0
- package/lib/motion/assets.js +290 -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 +337 -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 +447 -0
- package/lib/motion/delivery.js +112 -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 +42 -0
- package/lib/motion/fonts.js +71 -0
- package/lib/motion/jobs.js +113 -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 +95 -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 +159 -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 +268 -0
- package/lib/motion/sync.js +214 -0
- package/lib/motion/theme.js +121 -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 +92 -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 +80 -0
- package/lib/motion-render-worker.js +145 -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 +43 -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 +17 -2
- package/package.json +29 -4
|
@@ -0,0 +1,411 @@
|
|
|
1
|
+
import { useVisualTheme, themePaint, themeAsset, sceneDefaults } from '../../themes/visual-theme';
|
|
2
|
+
import { AbsoluteFill, Img, interpolate, useCurrentFrame, Easing } from 'remotion';
|
|
3
|
+
import { PageCam, CamKey } from './PageCam';
|
|
4
|
+
import { AIFL_SHOTS } from '../Main';
|
|
5
|
+
import layout from '../live-layout.json';
|
|
6
|
+
|
|
7
|
+
/** Context-level defaults (copy / sizes / palette), editable per clip in the workbench. */
|
|
8
|
+
export const SCENE_OUTRO_DEFAULTS = {
|
|
9
|
+
wordmark: 'AI Foundation Lab',
|
|
10
|
+
wordmarkSize: 148,
|
|
11
|
+
tagline: 'Team Research Console',
|
|
12
|
+
taglineSize: 25,
|
|
13
|
+
ink: '#13110f', // oklch(18% 0.006 82)
|
|
14
|
+
amber: '#955905', // oklch(52% 0.115 65)
|
|
15
|
+
muted: '#65635f', // oklch(50% 0.006 82)
|
|
16
|
+
};
|
|
17
|
+
type SceneOutroProps = Partial<typeof SCENE_OUTRO_DEFAULTS>;
|
|
18
|
+
const PAGE_H = layout.projects.pageH;
|
|
19
|
+
const WBR_PAGE_H = layout.wbr.pageH;
|
|
20
|
+
|
|
21
|
+
// real overshoot on landing (the old bezier(0.25,0.9,0.3,1) never crossed 1)
|
|
22
|
+
const FLY_EASE = Easing.bezier(0.34, 1.4, 0.44, 1);
|
|
23
|
+
const CRANE_EASE = Easing.bezier(0.3, 0, 0.2, 1);
|
|
24
|
+
|
|
25
|
+
/** One member of the group photo: a page element flying in from off-screen
|
|
26
|
+
* to its settled pose around the wordmark. Sizes are 1x CSS px (textures 2x). */
|
|
27
|
+
type FlyEl = {
|
|
28
|
+
key: string;
|
|
29
|
+
file: string;
|
|
30
|
+
w: number;
|
|
31
|
+
h: number;
|
|
32
|
+
cx: number;
|
|
33
|
+
cy: number;
|
|
34
|
+
scale: number;
|
|
35
|
+
rot: number; // settled rotation, deg
|
|
36
|
+
dx: number; // fly-in start offset
|
|
37
|
+
dy: number;
|
|
38
|
+
radius: number;
|
|
39
|
+
cue: number; // scene frame the 12f flight starts
|
|
40
|
+
wbrCrop?: boolean; // element I: crop out of wbr-full.png as a background
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
// render order = cue order, so later arrivals stack on top
|
|
44
|
+
const ELS: FlyEl[] = [
|
|
45
|
+
{ key: 'nav', file: 'nav.png', w: 1920, h: 61, cx: 960, cy: 84, scale: 0.62, rot: 0, dx: 0, dy: -120, radius: 10, cue: 4 },
|
|
46
|
+
{ key: 'card4', file: 'card4-hires.png', w: 358, h: 312, cx: 300, cy: 400, scale: 0.72, rot: -5, dx: -500, dy: 0, radius: 16, cue: 7 },
|
|
47
|
+
{ key: 'card1', file: 'card1.png', w: 358, h: 288, cx: 1630, cy: 380, scale: 0.68, rot: 4, dx: 500, dy: 0, radius: 16, cue: 10 },
|
|
48
|
+
{ key: 'paper1', file: 'paper1.png', w: 1104, h: 225, cx: 1460, cy: 730, scale: 0.5, rot: -3, dx: 450, dy: 260, radius: 12, cue: 13 },
|
|
49
|
+
{ key: 'card7', file: 'card7.png', w: 358, h: 312, cx: 260, cy: 800, scale: 0.6, rot: 3, dx: -400, dy: 300, radius: 16, cue: 16 },
|
|
50
|
+
{ key: 'paper3', file: 'paper3.png', w: 1104, h: 225, cx: 620, cy: 930, scale: 0.48, rot: 2, dx: 0, dy: 320, radius: 12, cue: 19 },
|
|
51
|
+
{ key: 'search', file: 'float-search.png', w: 1016, h: 44, cx: 760, cy: 180, scale: 0.55, rot: -1.5, dx: 0, dy: -240, radius: 10, cue: 22 },
|
|
52
|
+
{ key: 'stats', file: 'float-stats.png', w: 315, h: 56, cx: 1560, cy: 950, scale: 0.9, rot: -2, dx: 380, dy: 0, radius: 10, cue: 25 },
|
|
53
|
+
{ key: 'wbr', file: 'wbr-full.png', w: 688, h: 54, cx: 1620, cy: 170, scale: 0.8, rot: 2.5, dx: 360, dy: -200, radius: 8, cue: 28, wbrCrop: true },
|
|
54
|
+
];
|
|
55
|
+
|
|
56
|
+
// 20 gold dust motes, all parameters index-derived (deterministic)
|
|
57
|
+
const DUST = Array.from({ length: 20 }, (_, i) => ({
|
|
58
|
+
x: (i * 439 + 137) % 1920,
|
|
59
|
+
y0: (i * 613 + 271) % 1080,
|
|
60
|
+
rise: 0.3 + (i % 5) * 0.11, // px/frame upward
|
|
61
|
+
swayAmp: 9 + (i % 4) * 5,
|
|
62
|
+
swayFreq: 0.022 + (i % 3) * 0.008,
|
|
63
|
+
phase: (i * 0.83) % (Math.PI * 2),
|
|
64
|
+
size: 2 + (i % 3) * 0.5, // 2–3px
|
|
65
|
+
opacity: 0.15 + ((i * 7) % 5) * 0.05, // 0.15–0.35
|
|
66
|
+
}));
|
|
67
|
+
|
|
68
|
+
/** Sign-off reworked as a "group photo": core elements from every page fly in
|
|
69
|
+
* from off-screen in staggered beats and settle in an arc around the center;
|
|
70
|
+
* then the letterpressed "AI Foundation Lab" wordmark appears while the assembled
|
|
71
|
+
* elements recede slightly into the background — teammates in the back row.
|
|
72
|
+
* Launch-event treatment: a crane-in camera on the whole photo layer, ghost
|
|
73
|
+
* trails + landing glows on the fly-ins, a stage light behind the wordmark,
|
|
74
|
+
* gold dust and a single opening light sweep for atmosphere. */
|
|
75
|
+
export const SceneOutroLive: React.FC<SceneOutroProps> = (props) => {
|
|
76
|
+
const theme = useVisualTheme();
|
|
77
|
+
const paperStyle = theme.id === 'ink-press';
|
|
78
|
+
const paint = (css: string) => themePaint(theme, css);
|
|
79
|
+
const asset = (src: string) => themeAsset(theme, src);
|
|
80
|
+
const SERIF = (paperStyle ? 'ui-serif, Georgia, "Times New Roman", serif' : theme.font);
|
|
81
|
+
const MONO = (paperStyle ? 'ui-monospace, SFMono-Regular, Menlo, monospace' : theme.font);
|
|
82
|
+
const { wordmark, wordmarkSize, tagline, taglineSize, ink, amber, muted } = { ...sceneDefaults(theme, 'outro', SCENE_OUTRO_DEFAULTS), ...props };
|
|
83
|
+
const LETTERS = wordmark.split('');
|
|
84
|
+
const frame = useCurrentFrame();
|
|
85
|
+
const duration = AIFL_SHOTS.outro.duration; // 115
|
|
86
|
+
|
|
87
|
+
const blur = interpolate(frame, [0, 24], [0, 14], {
|
|
88
|
+
extrapolateLeft: 'clamp',
|
|
89
|
+
extrapolateRight: 'clamp',
|
|
90
|
+
easing: Easing.bezier(0.4, 0, 0.4, 1),
|
|
91
|
+
});
|
|
92
|
+
const rule = interpolate(frame, [58, 70], [0, 1], {
|
|
93
|
+
extrapolateLeft: 'clamp',
|
|
94
|
+
extrapolateRight: 'clamp',
|
|
95
|
+
easing: Easing.bezier(0.3, 0, 0.2, 1),
|
|
96
|
+
});
|
|
97
|
+
const tag = interpolate(frame, paperStyle ? [68, 80] : [62, 72], [0, 1], {
|
|
98
|
+
extrapolateLeft: 'clamp',
|
|
99
|
+
extrapolateRight: 'clamp',
|
|
100
|
+
});
|
|
101
|
+
const fadeOut = interpolate(frame, [duration - 12, duration], [1, 0], {
|
|
102
|
+
extrapolateLeft: 'clamp',
|
|
103
|
+
extrapolateRight: 'clamp',
|
|
104
|
+
});
|
|
105
|
+
|
|
106
|
+
// as the wordmark takes the stage (42–50) the assembled elements step back
|
|
107
|
+
const recede = interpolate(frame, [42, 50], [0, 1], {
|
|
108
|
+
extrapolateLeft: 'clamp',
|
|
109
|
+
extrapolateRight: 'clamp',
|
|
110
|
+
});
|
|
111
|
+
|
|
112
|
+
// ---- camera crane on the whole group-photo layer (wordmark stays outside) ----
|
|
113
|
+
// 0–40: crane down from a slight top angle onto the stage; 40–end: keep breathing in
|
|
114
|
+
const craneT = interpolate(frame, [0, 40], [0, 1], {
|
|
115
|
+
extrapolateLeft: 'clamp',
|
|
116
|
+
extrapolateRight: 'clamp',
|
|
117
|
+
easing: CRANE_EASE,
|
|
118
|
+
});
|
|
119
|
+
const pushT = interpolate(frame, [40, duration], [0, 1], {
|
|
120
|
+
extrapolateLeft: 'clamp',
|
|
121
|
+
extrapolateRight: 'clamp',
|
|
122
|
+
});
|
|
123
|
+
const camScale = 1.06 - 0.06 * craneT + 0.035 * pushT;
|
|
124
|
+
const camTilt = 4 * (1 - craneT); // rotateX deg
|
|
125
|
+
|
|
126
|
+
// opening light sweep: one wide, faint warm band crossing the screen, 2–14
|
|
127
|
+
const sweepX = interpolate(frame, [2, 14], [-700, 2020], {
|
|
128
|
+
extrapolateLeft: 'clamp',
|
|
129
|
+
extrapolateRight: 'clamp',
|
|
130
|
+
easing: Easing.bezier(0.4, 0, 0.6, 1),
|
|
131
|
+
});
|
|
132
|
+
const sweepOpacity = interpolate(frame, [2, 5, 11, 14], [0, 0.12, 0.12, 0], {
|
|
133
|
+
extrapolateLeft: 'clamp',
|
|
134
|
+
extrapolateRight: 'clamp',
|
|
135
|
+
});
|
|
136
|
+
|
|
137
|
+
// stage light behind the wordmark: 0 → 0.5 → 0.25 across 42–58
|
|
138
|
+
const stageLight = interpolate(frame, [42, 50, 58], [0, 0.5, 0.25], {
|
|
139
|
+
extrapolateLeft: 'clamp',
|
|
140
|
+
extrapolateRight: 'clamp',
|
|
141
|
+
});
|
|
142
|
+
|
|
143
|
+
// closing vignette focuses the center from the wordmark beat on
|
|
144
|
+
const vignette = interpolate(frame, [42, 54], [0, 0.1], {
|
|
145
|
+
extrapolateLeft: 'clamp',
|
|
146
|
+
extrapolateRight: 'clamp',
|
|
147
|
+
});
|
|
148
|
+
|
|
149
|
+
// rule extension lines: shoot out to ±320px (58–66), then fade over 6 frames
|
|
150
|
+
const ruleExt = interpolate(frame, [58, 66], [0, 1], {
|
|
151
|
+
extrapolateLeft: 'clamp',
|
|
152
|
+
extrapolateRight: 'clamp',
|
|
153
|
+
easing: Easing.bezier(0.3, 0, 0.2, 1),
|
|
154
|
+
});
|
|
155
|
+
const ruleExtFade = interpolate(frame, [66, 72], [1, 0], {
|
|
156
|
+
extrapolateLeft: 'clamp',
|
|
157
|
+
extrapolateRight: 'clamp',
|
|
158
|
+
});
|
|
159
|
+
|
|
160
|
+
// one breath of letter-spacing once the wordmark is fully set (62–66)
|
|
161
|
+
const wordSpacing = interpolate(frame, [62, 66], [-0.01, 0.005], {
|
|
162
|
+
extrapolateLeft: 'clamp',
|
|
163
|
+
extrapolateRight: 'clamp',
|
|
164
|
+
easing: Easing.bezier(0.3, 0, 0.2, 1),
|
|
165
|
+
});
|
|
166
|
+
|
|
167
|
+
const CAM: CamKey[] = [{ frame: 0, cx: 960, cy: 700, zoom: 0.75 }];
|
|
168
|
+
|
|
169
|
+
return (
|
|
170
|
+
<AbsoluteFill style={{ opacity: fadeOut }}>
|
|
171
|
+
{/* ---- group-photo layer under a slow crane-in camera ---- */}
|
|
172
|
+
<AbsoluteFill
|
|
173
|
+
style={{
|
|
174
|
+
transform: `perspective(1400px) rotateX(${camTilt}deg) scale(${camScale})`,
|
|
175
|
+
transformOrigin: '50% 45%',
|
|
176
|
+
}}
|
|
177
|
+
>
|
|
178
|
+
<PageCam src="textures/live/projects-full.png" pageH={PAGE_H} keys={CAM} blur={blur} saturate={0.9} />
|
|
179
|
+
{/* warm scrim under the flying elements: keeps the center legible without washing them */}
|
|
180
|
+
<AbsoluteFill style={{ background: paint('radial-gradient(1200px 800px at 50% 48%, rgba(250,247,242,0.82), rgba(250,247,242,0.55) 60%, rgba(250,247,242,0.35))'), pointerEvents: 'none' }} />
|
|
181
|
+
|
|
182
|
+
{/* group photo: elements fly in from all sides and settle around the wordmark */}
|
|
183
|
+
<AbsoluteFill style={{ pointerEvents: 'none' }}>
|
|
184
|
+
{ELS.map((el) => {
|
|
185
|
+
if (frame < el.cue) return null;
|
|
186
|
+
|
|
187
|
+
const t = interpolate(frame, [el.cue, el.cue + 12], [0, 1], {
|
|
188
|
+
extrapolateLeft: 'clamp',
|
|
189
|
+
extrapolateRight: 'clamp',
|
|
190
|
+
easing: FLY_EASE,
|
|
191
|
+
});
|
|
192
|
+
const opacity = interpolate(frame, [el.cue, el.cue + 3], [0, 1], {
|
|
193
|
+
extrapolateLeft: 'clamp',
|
|
194
|
+
extrapolateRight: 'clamp',
|
|
195
|
+
});
|
|
196
|
+
|
|
197
|
+
const x = el.dx * (1 - t);
|
|
198
|
+
const y = el.dy * (1 - t);
|
|
199
|
+
const rot = el.rot * (2 - t); // rot×2 in flight → rot settled
|
|
200
|
+
const scale = el.scale * (1.12 - 0.12 * t);
|
|
201
|
+
|
|
202
|
+
// shadow: big and soft while airborne, tightening to a dual layer at rest
|
|
203
|
+
const air = Math.max(0, 1 - t);
|
|
204
|
+
const shadow =
|
|
205
|
+
air > 0.01
|
|
206
|
+
? paint(`0 ${10 + 26 * air}px ${24 + 46 * air}px rgba(30,25,18,${0.16 + 0.1 * air}), 0 2px 6px rgba(30,25,18,.08)`)
|
|
207
|
+
: paint('0 10px 24px rgba(30,25,18,.16), 0 2px 6px rgba(30,25,18,.08)');
|
|
208
|
+
|
|
209
|
+
const settledOpacity = opacity * (1 - 0.12 * recede);
|
|
210
|
+
const saturate = 1 - 0.08 * recede;
|
|
211
|
+
|
|
212
|
+
const texture = el.wbrCrop
|
|
213
|
+
? {
|
|
214
|
+
background: paint(`#fff url(${asset(`textures/live/${el.file}`)}) -576px -173px / 1920px ${WBR_PAGE_H}px no-repeat`),
|
|
215
|
+
border: paint('1px solid oklch(90% .008 82)'),
|
|
216
|
+
}
|
|
217
|
+
: null;
|
|
218
|
+
|
|
219
|
+
// ghost trail while airborne: a blurred faint copy lagging 8% along the path
|
|
220
|
+
const linT = interpolate(frame, [el.cue, el.cue + 12], [0, 1], {
|
|
221
|
+
extrapolateLeft: 'clamp',
|
|
222
|
+
extrapolateRight: 'clamp',
|
|
223
|
+
});
|
|
224
|
+
const showGhost = linT > 0.05 && linT < 0.95;
|
|
225
|
+
|
|
226
|
+
// landing glow: an amber spot blooming at the bbox center as the element sets
|
|
227
|
+
const glow = interpolate(frame, [el.cue + 12, el.cue + 18], [0.35, 0], {
|
|
228
|
+
extrapolateLeft: 'clamp',
|
|
229
|
+
extrapolateRight: 'clamp',
|
|
230
|
+
});
|
|
231
|
+
const showGlow = frame >= el.cue + 12 && frame < el.cue + 18;
|
|
232
|
+
const glowR = el.w * el.scale * 0.5;
|
|
233
|
+
|
|
234
|
+
return (
|
|
235
|
+
<div key={el.key}>
|
|
236
|
+
{showGhost ? (
|
|
237
|
+
<div
|
|
238
|
+
style={{
|
|
239
|
+
position: 'absolute',
|
|
240
|
+
left: el.cx - el.w / 2,
|
|
241
|
+
top: el.cy - el.h / 2,
|
|
242
|
+
width: el.w,
|
|
243
|
+
height: el.h,
|
|
244
|
+
transform: `translate(${x + el.dx * 0.08}px, ${y + el.dy * 0.08}px) rotate(${rot}deg) scale(${scale})`,
|
|
245
|
+
transformOrigin: 'center center',
|
|
246
|
+
borderRadius: el.radius,
|
|
247
|
+
overflow: 'hidden',
|
|
248
|
+
opacity: 0.2 * Math.max(0, 1 - linT),
|
|
249
|
+
filter: 'blur(8px)',
|
|
250
|
+
...texture,
|
|
251
|
+
}}
|
|
252
|
+
>
|
|
253
|
+
{el.wbrCrop ? null : (
|
|
254
|
+
<Img
|
|
255
|
+
src={asset(`textures/live/${el.file}`)}
|
|
256
|
+
style={{ position: 'absolute', inset: 0, width: el.w, height: el.h, display: 'block' }}
|
|
257
|
+
/>
|
|
258
|
+
)}
|
|
259
|
+
</div>
|
|
260
|
+
) : null}
|
|
261
|
+
<div
|
|
262
|
+
style={{
|
|
263
|
+
position: 'absolute',
|
|
264
|
+
left: el.cx - el.w / 2,
|
|
265
|
+
top: el.cy - el.h / 2,
|
|
266
|
+
width: el.w,
|
|
267
|
+
height: el.h,
|
|
268
|
+
transform: `translate(${x}px, ${y}px) rotate(${rot}deg) scale(${scale})`,
|
|
269
|
+
transformOrigin: 'center center',
|
|
270
|
+
borderRadius: el.radius,
|
|
271
|
+
overflow: 'hidden',
|
|
272
|
+
boxShadow: shadow,
|
|
273
|
+
opacity: settledOpacity,
|
|
274
|
+
filter: `saturate(${saturate})`,
|
|
275
|
+
...texture,
|
|
276
|
+
}}
|
|
277
|
+
>
|
|
278
|
+
{el.wbrCrop ? null : (
|
|
279
|
+
<Img
|
|
280
|
+
src={asset(`textures/live/${el.file}`)}
|
|
281
|
+
style={{ position: 'absolute', inset: 0, width: el.w, height: el.h, display: 'block' }}
|
|
282
|
+
/>
|
|
283
|
+
)}
|
|
284
|
+
</div>
|
|
285
|
+
{paperStyle && showGlow ? (
|
|
286
|
+
<div
|
|
287
|
+
style={{
|
|
288
|
+
position: 'absolute',
|
|
289
|
+
left: el.cx - glowR,
|
|
290
|
+
top: el.cy - glowR,
|
|
291
|
+
width: glowR * 2,
|
|
292
|
+
height: glowR * 2,
|
|
293
|
+
borderRadius: '50%',
|
|
294
|
+
background: paint('radial-gradient(circle, oklch(78% 0.13 70 / 0.9), oklch(78% 0.13 70 / 0) 70%)'),
|
|
295
|
+
opacity: glow,
|
|
296
|
+
mixBlendMode: 'multiply',
|
|
297
|
+
}}
|
|
298
|
+
/>
|
|
299
|
+
) : null}
|
|
300
|
+
</div>
|
|
301
|
+
);
|
|
302
|
+
})}
|
|
303
|
+
</AbsoluteFill>
|
|
304
|
+
</AbsoluteFill>
|
|
305
|
+
|
|
306
|
+
{/* ---- atmosphere: gold dust drifting up in front of the group photo ---- */}
|
|
307
|
+
<AbsoluteFill style={{ pointerEvents: 'none' }}>
|
|
308
|
+
{paperStyle && DUST.map((d, i) => {
|
|
309
|
+
const y = (((d.y0 - frame * d.rise) % 1080) + 1080) % 1080;
|
|
310
|
+
const x = d.x + Math.sin(frame * d.swayFreq + d.phase) * d.swayAmp;
|
|
311
|
+
return (
|
|
312
|
+
<div
|
|
313
|
+
key={i}
|
|
314
|
+
style={{
|
|
315
|
+
position: 'absolute',
|
|
316
|
+
left: x,
|
|
317
|
+
top: y,
|
|
318
|
+
width: d.size,
|
|
319
|
+
height: d.size,
|
|
320
|
+
borderRadius: '50%',
|
|
321
|
+
background: paint('oklch(75% 0.08 85)'),
|
|
322
|
+
opacity: d.opacity,
|
|
323
|
+
}}
|
|
324
|
+
/>
|
|
325
|
+
);
|
|
326
|
+
})}
|
|
327
|
+
</AbsoluteFill>
|
|
328
|
+
|
|
329
|
+
{/* opening light sweep: one wide, faint warm band left → right (2–14) */}
|
|
330
|
+
{sweepOpacity > 0 ? (
|
|
331
|
+
<AbsoluteFill style={{ pointerEvents: 'none', mixBlendMode: 'overlay' }}>
|
|
332
|
+
<div
|
|
333
|
+
style={{
|
|
334
|
+
position: 'absolute',
|
|
335
|
+
top: 0,
|
|
336
|
+
bottom: 0,
|
|
337
|
+
left: sweepX - 300,
|
|
338
|
+
width: 600,
|
|
339
|
+
background: paint('linear-gradient(90deg, rgba(255,244,224,0), rgba(255,244,224,1) 50%, rgba(255,244,224,0))'),
|
|
340
|
+
opacity: paperStyle ? sweepOpacity : 0,
|
|
341
|
+
}}
|
|
342
|
+
/>
|
|
343
|
+
</AbsoluteFill>
|
|
344
|
+
) : null}
|
|
345
|
+
|
|
346
|
+
{/* stage light behind the wordmark: warm top-light pooling where the logo lands */}
|
|
347
|
+
{stageLight > 0 ? (
|
|
348
|
+
<AbsoluteFill
|
|
349
|
+
style={{
|
|
350
|
+
pointerEvents: 'none',
|
|
351
|
+
background: paint('radial-gradient(700px 360px at 960px 470px, rgba(255,246,228,0.95), rgba(255,246,228,0.35) 55%, rgba(255,246,228,0) 75%)'),
|
|
352
|
+
opacity: paperStyle ? stageLight : 0,
|
|
353
|
+
}}
|
|
354
|
+
/>
|
|
355
|
+
) : null}
|
|
356
|
+
|
|
357
|
+
{/* closing vignette: faint warm-brown corners focus the center */}
|
|
358
|
+
{vignette > 0 ? (
|
|
359
|
+
<AbsoluteFill
|
|
360
|
+
style={{
|
|
361
|
+
pointerEvents: 'none',
|
|
362
|
+
background: paint('radial-gradient(1400px 900px at 50% 50%, rgba(62,48,32,0) 55%, rgba(62,48,32,0.7) 100%)'),
|
|
363
|
+
opacity: vignette,
|
|
364
|
+
}}
|
|
365
|
+
/>
|
|
366
|
+
) : null}
|
|
367
|
+
|
|
368
|
+
<AbsoluteFill style={{ justifyContent: 'center', alignItems: 'center', pointerEvents: 'none' }}>
|
|
369
|
+
<div style={{ textAlign: 'center' }}>
|
|
370
|
+
<div style={{ fontFamily: SERIF, fontSize: wordmarkSize, fontWeight: 600, color: ink, letterSpacing: `${wordSpacing}em`, display: 'flex' }}>
|
|
371
|
+
{LETTERS.map((ch, i) => {
|
|
372
|
+
const delay = Math.round(42 + i * (paperStyle ? 1.8 : 1.3));
|
|
373
|
+
const t = interpolate(frame, [delay, delay + 8], [0, 1], {
|
|
374
|
+
extrapolateLeft: 'clamp',
|
|
375
|
+
extrapolateRight: 'clamp',
|
|
376
|
+
easing: Easing.bezier(0.2, 0.75, 0.3, 1),
|
|
377
|
+
});
|
|
378
|
+
return (
|
|
379
|
+
<span
|
|
380
|
+
key={i}
|
|
381
|
+
style={{
|
|
382
|
+
opacity: t,
|
|
383
|
+
transform: `translateY(${(1 - t) * 28}px) scale(${1.35 - 0.35 * t})`,
|
|
384
|
+
filter: `blur(${(1 - t) * 8}px)`,
|
|
385
|
+
display: 'inline-block',
|
|
386
|
+
whiteSpace: 'pre',
|
|
387
|
+
}}
|
|
388
|
+
>
|
|
389
|
+
{ch}
|
|
390
|
+
</span>
|
|
391
|
+
);
|
|
392
|
+
})}
|
|
393
|
+
</div>
|
|
394
|
+
<div style={{ position: 'relative', height: 6, width: 260, margin: '34px auto 0' }}>
|
|
395
|
+
<div style={{ position: 'absolute', inset: 0, borderRadius: 3, background: amber, transform: `scaleX(${rule})` }} />
|
|
396
|
+
{/* launch lower-third: 1px amber lines shooting out from the rule ends, then fading */}
|
|
397
|
+
{ruleExt > 0 && ruleExtFade > 0 ? (
|
|
398
|
+
<>
|
|
399
|
+
<div style={{ position: 'absolute', top: 2.5, height: 1, right: '100%', width: 190 * ruleExt, background: amber, opacity: ruleExtFade }} />
|
|
400
|
+
<div style={{ position: 'absolute', top: 2.5, height: 1, left: '100%', width: 190 * ruleExt, background: amber, opacity: ruleExtFade }} />
|
|
401
|
+
</>
|
|
402
|
+
) : null}
|
|
403
|
+
</div>
|
|
404
|
+
<div style={{ fontFamily: MONO, fontSize: taglineSize, letterSpacing: '0.14em', color: muted, marginTop: 30, opacity: tag, textTransform: 'uppercase' }}>
|
|
405
|
+
{tagline}
|
|
406
|
+
</div>
|
|
407
|
+
</div>
|
|
408
|
+
</AbsoluteFill>
|
|
409
|
+
</AbsoluteFill>
|
|
410
|
+
);
|
|
411
|
+
};
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
import { useVisualTheme, themePaint, themeAsset, sceneDefaults } from '../../themes/visual-theme';
|
|
2
|
+
import { AbsoluteFill, Img, interpolate, useCurrentFrame, Easing } from 'remotion';
|
|
3
|
+
import { PageCam, CamKey } from './PageCam';
|
|
4
|
+
import { AIFL_SHOTS } from '../Main';
|
|
5
|
+
import layout from '../live-layout.json';
|
|
6
|
+
import { DigitRoll } from '../DigitRoll';
|
|
7
|
+
|
|
8
|
+
const cards = layout.papers.cards;
|
|
9
|
+
const PAGE_H = layout.papers.pageH;
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
/** Context-level defaults (screen-space counter copy / palette), editable per clip in the workbench. */
|
|
13
|
+
export const SCENE_PAPERS_DEFAULTS = {
|
|
14
|
+
title: 'Paper Radar',
|
|
15
|
+
subtitle: 'Of 31 Fetched Today',
|
|
16
|
+
counterSize: 96,
|
|
17
|
+
amber: '#955905', // oklch(52% 0.115 65)
|
|
18
|
+
muted: '#65635f', // oklch(50% 0.006 82)
|
|
19
|
+
};
|
|
20
|
+
type ScenePapersProps = Partial<typeof SCENE_PAPERS_DEFAULTS>;
|
|
21
|
+
|
|
22
|
+
// paperN.png files, one per card
|
|
23
|
+
const FILES = ['paper1.png', 'paper2.png', 'paper3.png', 'paper4.png', 'paper5.png'];
|
|
24
|
+
|
|
25
|
+
// each card enters at cue, staggered 12 frames, over dur=22 with overshoot ease
|
|
26
|
+
const CUES = [18, 30, 42, 54, 66];
|
|
27
|
+
const DUR = 22;
|
|
28
|
+
const FLY_EASE = Easing.bezier(0.45, 0.05, 0.25, 1.12);
|
|
29
|
+
// alternating slight tilt on entry
|
|
30
|
+
const TILTS = [2, -2, 2, -2, 2];
|
|
31
|
+
|
|
32
|
+
// camera reveals the header first, then follows the growing stack downward
|
|
33
|
+
const CAM_KEYS: CamKey[] = [
|
|
34
|
+
{ frame: 0, cx: 960, cy: 270, zoom: 1.35 },
|
|
35
|
+
{ frame: 30, cx: 960, cy: 330, zoom: 1.15 },
|
|
36
|
+
{ frame: 36, cx: 960, cy: 520, zoom: 1.02 },
|
|
37
|
+
{ frame: 74, cx: 960, cy: 820, zoom: 0.95 },
|
|
38
|
+
{ frame: 100, cx: 960, cy: 860, zoom: 0.9 }, // settle ≤105
|
|
39
|
+
];
|
|
40
|
+
|
|
41
|
+
/** Paper radar: daily paper cards stack up into place one by one (the list-stack
|
|
42
|
+
* motif), each landing pressing the settled stack down and bouncing back, with
|
|
43
|
+
* an amber highlight sweeping the linked-project name and a screen-space counter. */
|
|
44
|
+
export const ScenePapers: React.FC<ScenePapersProps> = (props) => {
|
|
45
|
+
const theme = useVisualTheme();
|
|
46
|
+
const paperStyle = theme.id === 'ink-press';
|
|
47
|
+
const paint = (css: string) => themePaint(theme, css);
|
|
48
|
+
const asset = (src: string) => themeAsset(theme, src);
|
|
49
|
+
const MONO = (paperStyle ? 'ui-monospace, SFMono-Regular, Menlo, monospace' : theme.font);
|
|
50
|
+
const { title, subtitle, counterSize, amber: AMBER, muted } = { ...sceneDefaults(theme, 'chart', SCENE_PAPERS_DEFAULTS), ...props };
|
|
51
|
+
const frame = useCurrentFrame();
|
|
52
|
+
|
|
53
|
+
// how many cards have already landed (t reached 1) — drives the counter
|
|
54
|
+
const landedCount = CUES.filter((c) => frame >= c + DUR).length;
|
|
55
|
+
|
|
56
|
+
// when a *later* card enters, the already-settled stack gets pressed down 6px
|
|
57
|
+
// then springs back over ~8 frames. Compute cumulative press for settled cards.
|
|
58
|
+
const stackPress = (settledIndex: number) => {
|
|
59
|
+
let press = 0;
|
|
60
|
+
for (let j = settledIndex + 1; j < CUES.length; j++) {
|
|
61
|
+
const cue = CUES[j];
|
|
62
|
+
// press pulse centered a touch after the later card starts arriving
|
|
63
|
+
const p = interpolate(
|
|
64
|
+
frame,
|
|
65
|
+
[cue, cue + 4, cue + 8],
|
|
66
|
+
[0, 6, 0],
|
|
67
|
+
{ extrapolateLeft: 'clamp', extrapolateRight: 'clamp' },
|
|
68
|
+
);
|
|
69
|
+
press = Math.max(press, p);
|
|
70
|
+
}
|
|
71
|
+
return press;
|
|
72
|
+
};
|
|
73
|
+
|
|
74
|
+
// page-space glaze sweep once everything has landed (~frame 96)
|
|
75
|
+
const glazeX = interpolate(frame, [82, 96], [-700, 2600], {
|
|
76
|
+
extrapolateLeft: 'clamp', extrapolateRight: 'clamp', easing: Easing.bezier(0.45, 0, 0.35, 1),
|
|
77
|
+
});
|
|
78
|
+
const glazeVis = interpolate(frame, [81, 86, 92, 95], [0, 1, 1, 0], {
|
|
79
|
+
extrapolateLeft: 'clamp', extrapolateRight: 'clamp',
|
|
80
|
+
});
|
|
81
|
+
|
|
82
|
+
return (
|
|
83
|
+
<>
|
|
84
|
+
<PageCam src="textures/live/papers-full.png" pageH={PAGE_H} keys={CAM_KEYS} ease={Easing.bezier(0.33, 0, 0.15, 1)}>
|
|
85
|
+
{/* cover the printed cards on the base page so blank slots stack in.
|
|
86
|
+
The base texture already shows the cards; we lay opaque paper
|
|
87
|
+
patches over their positions so the fly-in reads as "stacking". */}
|
|
88
|
+
{cards.map((c, i) => (
|
|
89
|
+
<div
|
|
90
|
+
key={`slot-${i}`}
|
|
91
|
+
style={{
|
|
92
|
+
position: 'absolute',
|
|
93
|
+
left: c.x - 12,
|
|
94
|
+
top: c.y - 10,
|
|
95
|
+
width: c.w + 24,
|
|
96
|
+
height: c.h + 20,
|
|
97
|
+
background: paint('#faf7f2'),
|
|
98
|
+
opacity: frame >= CUES[i] + DUR - 2 ? 0 : 1,
|
|
99
|
+
}}
|
|
100
|
+
/>
|
|
101
|
+
))}
|
|
102
|
+
|
|
103
|
+
{cards.map((c, i) => {
|
|
104
|
+
const cue = CUES[i];
|
|
105
|
+
const t = interpolate(frame, [cue, cue + DUR], [0, 1], {
|
|
106
|
+
extrapolateLeft: 'clamp', extrapolateRight: 'clamp', easing: FLY_EASE,
|
|
107
|
+
});
|
|
108
|
+
if (t <= 0) return null;
|
|
109
|
+
const settled = t >= 0.999;
|
|
110
|
+
const dy = 600 * (1 - t) + (settled ? stackPress(i) : 0);
|
|
111
|
+
const rot = TILTS[i] * (1 - t);
|
|
112
|
+
const scale = 1.06 - 0.06 * t;
|
|
113
|
+
const shadow = settled
|
|
114
|
+
? paint('0 2px 8px rgba(60,45,30,.10)')
|
|
115
|
+
: paint(`0 32px 64px rgba(60,45,30,${0.22 * (1 - t) + 0.06})`);
|
|
116
|
+
|
|
117
|
+
// amber highlight over the linked-project name, 6 frames after landing.
|
|
118
|
+
// card-relative: x ~20px in, y ~72% of card height, ~40% wide.
|
|
119
|
+
// fires right on landing; the last card only has ~12f before the cut,
|
|
120
|
+
// so grow+fade is compressed to fit (7f grow + 5f fade).
|
|
121
|
+
const hlStart = cue + DUR;
|
|
122
|
+
const hlGrow = interpolate(frame, [hlStart, hlStart + 7], [0, 1], {
|
|
123
|
+
extrapolateLeft: 'clamp', extrapolateRight: 'clamp', easing: Easing.bezier(0.3, 0, 0.2, 1),
|
|
124
|
+
});
|
|
125
|
+
const hlFade = interpolate(frame, [hlStart + 7, hlStart + 12], [1, 0], {
|
|
126
|
+
extrapolateLeft: 'clamp', extrapolateRight: 'clamp',
|
|
127
|
+
});
|
|
128
|
+
|
|
129
|
+
return (
|
|
130
|
+
<div
|
|
131
|
+
key={FILES[i]}
|
|
132
|
+
style={{
|
|
133
|
+
position: 'absolute',
|
|
134
|
+
left: c.x,
|
|
135
|
+
top: c.y,
|
|
136
|
+
width: c.w,
|
|
137
|
+
height: c.h,
|
|
138
|
+
transform: `translateY(${dy}px) rotate(${rot}deg) scale(${scale})`,
|
|
139
|
+
transformOrigin: 'center center',
|
|
140
|
+
boxShadow: shadow,
|
|
141
|
+
borderRadius: 12,
|
|
142
|
+
}}
|
|
143
|
+
>
|
|
144
|
+
<Img
|
|
145
|
+
src={asset(`textures/live/${FILES[i]}`)}
|
|
146
|
+
style={{ position: 'absolute', inset: 0, width: '100%', height: '100%', display: 'block' }}
|
|
147
|
+
/>
|
|
148
|
+
{/* amber highlight sweep on the linked-project name */}
|
|
149
|
+
{hlGrow > 0 && hlFade > 0 ? (
|
|
150
|
+
<div
|
|
151
|
+
style={{
|
|
152
|
+
position: 'absolute',
|
|
153
|
+
left: 20,
|
|
154
|
+
top: c.h * 0.72,
|
|
155
|
+
width: `${hlGrow * 40}%`,
|
|
156
|
+
height: 30,
|
|
157
|
+
background: paint('oklch(97% 0.028 85)'),
|
|
158
|
+
opacity: 0.6 * hlFade,
|
|
159
|
+
borderRight: `2px solid ${AMBER}`,
|
|
160
|
+
pointerEvents: 'none',
|
|
161
|
+
}}
|
|
162
|
+
/>
|
|
163
|
+
) : null}
|
|
164
|
+
</div>
|
|
165
|
+
);
|
|
166
|
+
})}
|
|
167
|
+
|
|
168
|
+
{/* page-space glaze sweep at the end */}
|
|
169
|
+
<div
|
|
170
|
+
style={{
|
|
171
|
+
position: 'absolute',
|
|
172
|
+
top: 40,
|
|
173
|
+
height: PAGE_H - 80,
|
|
174
|
+
left: glazeX,
|
|
175
|
+
width: 420,
|
|
176
|
+
transform: 'rotate(14deg)',
|
|
177
|
+
opacity: paperStyle ? glazeVis * 0.5 : 0,
|
|
178
|
+
mixBlendMode: 'overlay',
|
|
179
|
+
background:
|
|
180
|
+
paint('linear-gradient(90deg, transparent, rgba(255,240,214,0.9) 45%, rgba(255,240,214,0.9) 55%, transparent)'),
|
|
181
|
+
pointerEvents: 'none',
|
|
182
|
+
}}
|
|
183
|
+
/>
|
|
184
|
+
</PageCam>
|
|
185
|
+
|
|
186
|
+
{/* screen-space counter, top-right */}
|
|
187
|
+
<div style={{ position: 'absolute', top: 70, right: 96, textAlign: 'right', pointerEvents: 'none', ...(!paperStyle ? {width: 310} : {}) }}>
|
|
188
|
+
<div style={{ fontFamily: MONO, fontSize: paperStyle ? 24 : 44, letterSpacing: '0.16em', color: muted, textTransform: 'uppercase' }}>
|
|
189
|
+
{title}
|
|
190
|
+
</div>
|
|
191
|
+
<div style={{ display: 'flex', justifyContent: 'flex-end', marginTop: 6 }}>
|
|
192
|
+
<DigitRoll key={landedCount} value={String(landedCount)} fontSize={counterSize} color={AMBER} />
|
|
193
|
+
</div>
|
|
194
|
+
<div style={{ fontFamily: MONO, fontSize: paperStyle ? 20 : 44, letterSpacing: '0.12em', color: muted, marginTop: 4, textTransform: 'uppercase' }}>
|
|
195
|
+
{subtitle}
|
|
196
|
+
</div>
|
|
197
|
+
</div>
|
|
198
|
+
</>
|
|
199
|
+
);
|
|
200
|
+
};
|