dsh-drawai 0.3.4 → 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 +5075 -181
- 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,272 @@
|
|
|
1
|
+
// invisible-cut:前景遮挡隐形切——离镜头极近的失焦前景物贴脸横扫,糊满全屏的那一两帧里
|
|
2
|
+
// 背景从 A 无痕硬切成 B,前景扫出画时观众以为还是同一镜。(invisible-cut + foreground-occlusion-swipe)
|
|
3
|
+
//
|
|
4
|
+
// 第二轮重设计(暖沙生活方式 · "点下预订,一晃就订好了"):
|
|
5
|
+
// - look = sand(米色 · 赤陶 · 靛蓝点缀),衬线标题 + 无衬线 UI;产品 = video-shotcraft 的成片渲染页。
|
|
6
|
+
// A:发布片镜头详情——左侧 860px 程序绘制的沙丘日落"镜头画面"(角标 = 镜刻标志 + 镜头号),右侧衬线大标题、
|
|
7
|
+
// 镜头数/片长、规格与赤陶「Render」大按钮;B:渲染完成——左侧 168px 衬线「That's a wrap.」,右侧一张票根卡
|
|
8
|
+
// (顶部还是那张沙丘画面 = 视觉连续,打孔线、大号渲染编号、赤陶对勾印章)。因果是一条线:按下 Render → 一晃 → 片子出好了。
|
|
9
|
+
// 版式左右互换,换景幅度大但不突兀。
|
|
10
|
+
// - 遮挡物 = 贴着镜头掠过的失焦深棕前景(像镜头前走过一根立柱):纯渐变绘制(中心实、两侧 340px 软边 = 失焦 +
|
|
11
|
+
// 运动模糊的观感),前缘一道赤陶轮廓光读作"受光的物体";前方 640px 软投影先扫过页面(近物遮光)。
|
|
12
|
+
// 不用 CameraMotionBlur(12 倍采样太贵),软边渐变本身就是糊。
|
|
13
|
+
// - 一条 take 的错觉:全程一条恒定方向的慢横移(内容 +40→−40px,smooth 缓动起止)贯穿切点;
|
|
14
|
+
// 遮挡物同向但快 50 倍(近大远小的视差);切前 A 被"带风"拖左 28px(ease-in),切后 B 从右 28px 回稳(ease-out 14f)。
|
|
15
|
+
//
|
|
16
|
+
// 时间表(30fps,共 110f):
|
|
17
|
+
// 0–24 A 静置(首帧即完整画面),横移极缓起步,照片里的日轮微微呼吸
|
|
18
|
+
// 24–32 预备:Render 按钮按下(0.96 缩放 + 压暗 6f)→ 文案换成「Rendering…」
|
|
19
|
+
// 32–46 遮挡物右→左扫过 14f(bezier 0.3,0,0.7,1);39f 实心区盖满 1920,硬切 A→B
|
|
20
|
+
// 39–53 B 从右回稳;46–64 印章弹簧落座、对勾描画;45–68 说明行与确认码错峰升起
|
|
21
|
+
// 70–110 hold 40f:横移收尾、日轮呼吸
|
|
22
|
+
import React from 'react';
|
|
23
|
+
import { AbsoluteFill, useCurrentFrame } from 'remotion';
|
|
24
|
+
import { EASE, FONT, bezier, mix, ramp } from '../../_fixtures/Polish';
|
|
25
|
+
import { LOOKS, SERIF, Stage, alpha, springAt, type } from '../../_fixtures/Look';
|
|
26
|
+
import { BRAND, ShotcraftMark } from '../../_fixtures/Brand';
|
|
27
|
+
|
|
28
|
+
export const INVISIBLE_CUT_DURATION = 110;
|
|
29
|
+
|
|
30
|
+
const S = LOOKS.sand;
|
|
31
|
+
const PAD = 120;
|
|
32
|
+
const PRESS = 24; // 按下 Render
|
|
33
|
+
const SW_START = 32; // 遮挡物入画
|
|
34
|
+
const SW_END = 46; // 遮挡物出画
|
|
35
|
+
const CUT = 39; // 硬切:实心区盖满画幅的那一帧
|
|
36
|
+
const SOFT = 340; // 遮挡物软边宽
|
|
37
|
+
const CORE = 2600; // 遮挡物实心宽(> 1920,留出 >1 帧的全遮窗口)
|
|
38
|
+
const OCC_W = CORE + SOFT * 2;
|
|
39
|
+
const B_SHIFT = 40; // B 页排版右移量(抵消横移终点 −40)
|
|
40
|
+
|
|
41
|
+
// 遮挡物左缘位置:从画右外 → 画左外
|
|
42
|
+
const SWEEP_EASE = bezier(0.3, 0, 0.7, 1); // 起止有加减速、中段最快
|
|
43
|
+
const occX = (f: number) => mix(1940, -OCC_W - 20, ramp(f, SW_START, SW_END - SW_START, SWEEP_EASE));
|
|
44
|
+
|
|
45
|
+
// ───────────── 程序绘制的沙丘日落 ─────────────
|
|
46
|
+
const Dunes: React.FC<{ w: number; h: number; f: number; id: string }> = ({ w, h, f, id }) => {
|
|
47
|
+
const breathe = 1 + 0.04 * Math.sin(f / 16);
|
|
48
|
+
return (
|
|
49
|
+
<svg width={w} height={h} viewBox="0 0 860 760" preserveAspectRatio="xMidYMid slice" style={{ position: 'absolute', inset: 0 }}>
|
|
50
|
+
<defs>
|
|
51
|
+
<linearGradient id={`sky${id}`} x1="0" y1="0" x2="0" y2="1">
|
|
52
|
+
<stop offset="0" stopColor="#d98a5c" />
|
|
53
|
+
<stop offset="0.4" stopColor="#eeae78" />
|
|
54
|
+
<stop offset="0.6" stopColor="#f8d2a0" />
|
|
55
|
+
</linearGradient>
|
|
56
|
+
<radialGradient id={`sun${id}`} cx="0.5" cy="0.5" r="0.5">
|
|
57
|
+
<stop offset="0" stopColor="#ffe6bf" stopOpacity={0.85} />
|
|
58
|
+
<stop offset="0.4" stopColor="#ffd9a6" stopOpacity={0.45} />
|
|
59
|
+
<stop offset="1" stopColor="#ffd9a6" stopOpacity={0} />
|
|
60
|
+
</radialGradient>
|
|
61
|
+
<linearGradient id={`d1${id}`} x1="0" y1="0" x2="1" y2="1">
|
|
62
|
+
<stop offset="0" stopColor="#e09a63" />
|
|
63
|
+
<stop offset="1" stopColor="#c8743f" />
|
|
64
|
+
</linearGradient>
|
|
65
|
+
<linearGradient id={`d2${id}`} x1="0" y1="0" x2="1" y2="1">
|
|
66
|
+
<stop offset="0" stopColor="#c76b38" />
|
|
67
|
+
<stop offset="1" stopColor="#9c4724" />
|
|
68
|
+
</linearGradient>
|
|
69
|
+
<linearGradient id={`d3${id}`} x1="0" y1="0" x2="1" y2="1">
|
|
70
|
+
<stop offset="0" stopColor="#8f3f1f" />
|
|
71
|
+
<stop offset="1" stopColor="#5e2611" />
|
|
72
|
+
</linearGradient>
|
|
73
|
+
<linearGradient id={`sh${id}`} x1="0" y1="0" x2="0" y2="1">
|
|
74
|
+
<stop offset="0" stopColor="#3a160a" stopOpacity={0} />
|
|
75
|
+
<stop offset="0.6" stopColor="#3a160a" stopOpacity={0} />
|
|
76
|
+
<stop offset="1" stopColor="#3a160a" stopOpacity={0.35} />
|
|
77
|
+
</linearGradient>
|
|
78
|
+
</defs>
|
|
79
|
+
<rect width={860} height={760} fill={`url(#sky${id})`} />
|
|
80
|
+
<circle cx={560} cy={400} r={190 * breathe} fill={`url(#sun${id})`} opacity={0.95} />
|
|
81
|
+
<circle cx={560} cy={400} r={56} fill="#fffbf2" />
|
|
82
|
+
{/* 远丘 */}
|
|
83
|
+
<path d="M0 440 C 140 400 260 420 380 440 C 520 462 640 410 860 420 L860 760 L0 760 Z" fill={`url(#d1${id})`} />
|
|
84
|
+
{/* 中丘:脊线左亮右暗 */}
|
|
85
|
+
<path d="M0 540 C 120 470 230 460 330 500 C 430 540 520 470 640 486 C 740 498 800 530 860 520 L860 760 L0 760 Z" fill={`url(#d2${id})`} />
|
|
86
|
+
{/* 脊线受光:沿中丘脊一道亮边 */}
|
|
87
|
+
<path d="M0 540 C 120 470 230 460 330 500 C 430 540 520 470 640 486" fill="none" stroke="#f3b27a" strokeWidth={3} opacity={0.55} />
|
|
88
|
+
{/* 近丘 */}
|
|
89
|
+
<path d="M0 650 C 160 590 300 600 430 640 C 560 680 700 600 860 620 L860 760 L0 760 Z" fill={`url(#d3${id})`} />
|
|
90
|
+
{/* 营地:三顶小帐篷剪影 + 一点暖灯 */}
|
|
91
|
+
{[0, 1, 2].map((i) => (
|
|
92
|
+
<g key={i} transform={`translate(${196 + i * 46} ${598 - i * 4})`}>
|
|
93
|
+
<path d="M0 0 L 18 -26 L 36 0 Z" fill="#3b1a0c" />
|
|
94
|
+
<circle cx={18} cy={-6} r={3.2} fill="#ffd38a" opacity={0.9} />
|
|
95
|
+
</g>
|
|
96
|
+
))}
|
|
97
|
+
<rect width={860} height={760} fill={`url(#sh${id})`} />
|
|
98
|
+
</svg>
|
|
99
|
+
);
|
|
100
|
+
};
|
|
101
|
+
|
|
102
|
+
// ───────────── A:发布片镜头详情 ─────────────
|
|
103
|
+
const PageA: React.FC<{ f: number }> = ({ f }) => {
|
|
104
|
+
const down = ramp(f, PRESS, 4, EASE.out) * (1 - ramp(f, PRESS + 5, 8, EASE.out));
|
|
105
|
+
const reserving = f >= PRESS + 4;
|
|
106
|
+
return (
|
|
107
|
+
<>
|
|
108
|
+
<div style={{
|
|
109
|
+
position: 'absolute', left: PAD, top: 160, width: 860, height: 760, borderRadius: 36, overflow: 'hidden',
|
|
110
|
+
boxShadow: `0 2px 4px ${alpha(S.shadow, 0.12)}, 0 40px 90px -30px ${alpha(S.shadow, 0.45)}`,
|
|
111
|
+
}}>
|
|
112
|
+
<Dunes w={860} h={760} f={f} id="a" />
|
|
113
|
+
<div style={{
|
|
114
|
+
position: 'absolute', left: 32, top: 32, height: 60, padding: '0 24px', borderRadius: 30, display: 'flex', alignItems: 'center', gap: 12,
|
|
115
|
+
background: 'rgba(255,248,238,0.86)', boxShadow: `0 8px 24px -8px ${alpha(S.shadow, 0.4)}`,
|
|
116
|
+
...type(30, 650), color: S.ink,
|
|
117
|
+
}}>
|
|
118
|
+
<ShotcraftMark size={34} tone="light" /> Shot 03 <span style={{ color: S.ink2, fontWeight: 500 }}>· Golden hour</span>
|
|
119
|
+
</div>
|
|
120
|
+
</div>
|
|
121
|
+
|
|
122
|
+
<div style={{ position: 'absolute', left: 1064, top: 176, width: 736 }}>
|
|
123
|
+
<div style={{ ...type(28, 700, { caps: true }), letterSpacing: '0.14em', color: S.accent }}>Launch film · Final cut</div>
|
|
124
|
+
<div style={{ fontFamily: SERIF, fontSize: 92, fontWeight: 500, lineHeight: 1.0, letterSpacing: '-0.025em', color: S.ink, marginTop: 26 }}>
|
|
125
|
+
Direct the film.<br />Let the <i style={{ color: S.accent }}>agent</i><br />shoot it.
|
|
126
|
+
</div>
|
|
127
|
+
<div style={{ display: 'flex', marginTop: 44, borderTop: `1.5px solid ${S.line}`, borderBottom: `1.5px solid ${S.line}` }}>
|
|
128
|
+
{[['Shots', '12 cuts'], ['Length', '0:45 · 30fps']].map(([k, v], i) => (
|
|
129
|
+
<div key={k} style={{ flex: 1, padding: '22px 0', paddingLeft: i ? 32 : 0, borderLeft: i ? `1.5px solid ${S.line}` : undefined }}>
|
|
130
|
+
<div style={{ ...type(26, 600, { caps: true }), letterSpacing: '0.1em', color: S.ink3 }}>{k}</div>
|
|
131
|
+
<div style={{ ...type(40, 600), color: S.ink, marginTop: 6 }}>{v}</div>
|
|
132
|
+
</div>
|
|
133
|
+
))}
|
|
134
|
+
</div>
|
|
135
|
+
<div style={{ display: 'flex', alignItems: 'baseline', gap: 16, marginTop: 34 }}>
|
|
136
|
+
<span style={{ ...type(76, 700), color: S.ink }}>1080p</span>
|
|
137
|
+
<span style={{ ...type(32, 500), color: S.ink2 }}>h264 · beat-synced SFX</span>
|
|
138
|
+
</div>
|
|
139
|
+
<div style={{
|
|
140
|
+
marginTop: 34, height: 116, borderRadius: 58, display: 'flex', alignItems: 'center', justifyContent: 'center', gap: 18,
|
|
141
|
+
background: `linear-gradient(180deg, #d0643a 0%, ${S.accent} 100%)`,
|
|
142
|
+
boxShadow: `inset 0 1px 0 rgba(255,255,255,0.3), 0 ${mix(18, 6, down)}px ${mix(40, 16, down)}px -12px ${alpha('#8a3414', 0.55)}`,
|
|
143
|
+
transform: `scale(${(1 - 0.04 * down).toFixed(4)})`, filter: down > 0.01 ? `brightness(${1 - 0.12 * down})` : undefined,
|
|
144
|
+
...type(42, 650), color: S.onAccent,
|
|
145
|
+
}}>
|
|
146
|
+
{reserving && (
|
|
147
|
+
<span style={{
|
|
148
|
+
width: 30, height: 30, borderRadius: 15, border: `4px solid ${alpha(S.onAccent, 0.35)}`, borderTopColor: S.onAccent,
|
|
149
|
+
transform: `rotate(${(f - PRESS) * 24}deg)`, boxSizing: 'border-box',
|
|
150
|
+
}} />
|
|
151
|
+
)}
|
|
152
|
+
{reserving ? 'Rendering…' : 'Render'}
|
|
153
|
+
</div>
|
|
154
|
+
</div>
|
|
155
|
+
</>
|
|
156
|
+
);
|
|
157
|
+
};
|
|
158
|
+
|
|
159
|
+
// ───────────── B:渲染完成 ─────────────
|
|
160
|
+
const PageB: React.FC<{ f: number }> = ({ f }) => {
|
|
161
|
+
const seal = springAt(f, CUT + 7, { damping: 13, stiffness: 190 });
|
|
162
|
+
const check = ramp(f, CUT + 12, 14, EASE.out);
|
|
163
|
+
const rows = [0, 1, 2].map((i) => ramp(f, CUT + 6 + i * 5, 18, EASE.snappy));
|
|
164
|
+
return (
|
|
165
|
+
<>
|
|
166
|
+
<div style={{ position: 'absolute', left: PAD, top: 214, width: 900 }}>
|
|
167
|
+
<div style={{ display: 'flex', alignItems: 'center', gap: 16, ...type(28, 700, { caps: true }), letterSpacing: '0.14em', color: S.accent }}>
|
|
168
|
+
<span style={{ width: 14, height: 14, borderRadius: 7, background: S.accent }} />
|
|
169
|
+
Render complete
|
|
170
|
+
</div>
|
|
171
|
+
<div style={{ fontFamily: SERIF, fontSize: 168, fontWeight: 500, lineHeight: 0.94, letterSpacing: '-0.035em', color: S.ink, marginTop: 30 }}>
|
|
172
|
+
That’s a<br /><i style={{ color: S.accent }}>wrap.</i>
|
|
173
|
+
</div>
|
|
174
|
+
<div style={{ ...type(42, 500), color: S.ink2, marginTop: 52, lineHeight: 1.35, opacity: rows[0], transform: `translateY(${(1 - rows[0]) * 22}px)` }}>
|
|
175
|
+
Launch film · 12 shots, beat-synced,<br />crafted with {BRAND.name}
|
|
176
|
+
</div>
|
|
177
|
+
<div style={{ ...type(32, 500), color: S.ink3, marginTop: 30, opacity: rows[1], transform: `translateY(${(1 - rows[1]) * 22}px)` }}>
|
|
178
|
+
MP4 and JianYing project saved to your folder
|
|
179
|
+
</div>
|
|
180
|
+
</div>
|
|
181
|
+
|
|
182
|
+
{/* 票根卡 */}
|
|
183
|
+
<div style={{
|
|
184
|
+
position: 'absolute', left: 1140, top: 150, width: 660, height: 780, borderRadius: 34, overflow: 'hidden', background: S.surface,
|
|
185
|
+
boxShadow: `inset 0 1px 0 rgba(255,255,255,0.9), 0 2px 4px ${alpha(S.shadow, 0.1)}, 0 44px 90px -30px ${alpha(S.shadow, 0.42)}`,
|
|
186
|
+
}}>
|
|
187
|
+
<div style={{ position: 'absolute', left: 0, top: 0, width: 660, height: 330, overflow: 'hidden' }}>
|
|
188
|
+
<Dunes w={660} h={330} f={f} id="b" />
|
|
189
|
+
</div>
|
|
190
|
+
{/* 打孔线 + 两侧半圆缺口 */}
|
|
191
|
+
<div style={{ position: 'absolute', left: 44, right: 44, top: 520, borderTop: `3px dashed ${alpha(S.ink3, 0.45)}` }} />
|
|
192
|
+
{[-26, 634].map((x) => (
|
|
193
|
+
<div key={x} style={{ position: 'absolute', left: x, top: 494, width: 52, height: 52, borderRadius: 26, background: S.bg[1], boxShadow: `inset 0 2px 6px ${alpha(S.shadow, 0.18)}` }} />
|
|
194
|
+
))}
|
|
195
|
+
<div style={{ position: 'absolute', left: 52, top: 362, display: 'flex', justifyContent: 'space-between', width: 556 }}>
|
|
196
|
+
{[['Shots', '12'], ['Length', '0:45']].map(([k, v]) => (
|
|
197
|
+
<div key={k}>
|
|
198
|
+
<div style={{ ...type(24, 650, { caps: true }), letterSpacing: '0.12em', color: S.ink3 }}>{k}</div>
|
|
199
|
+
<div style={{ fontFamily: SERIF, fontSize: 64, fontWeight: 500, letterSpacing: '-0.02em', color: S.ink, marginTop: 4 }}>{v}</div>
|
|
200
|
+
</div>
|
|
201
|
+
))}
|
|
202
|
+
</div>
|
|
203
|
+
<div style={{ position: 'absolute', left: 52, top: 570, opacity: rows[2], transform: `translateY(${(1 - rows[2]) * 20}px)` }}>
|
|
204
|
+
<div style={{ ...type(24, 650, { caps: true }), letterSpacing: '0.12em', color: S.ink3 }}>Render</div>
|
|
205
|
+
<div style={{ fontFamily: FONT.mono, fontSize: 64, fontWeight: 600, letterSpacing: '0.02em', color: S.ink, marginTop: 8 }}>SC-4821</div>
|
|
206
|
+
<div style={{ ...type(30, 500), color: S.ink2, marginTop: 14 }}>12 shots · 0:45 · 1080p</div>
|
|
207
|
+
</div>
|
|
208
|
+
</div>
|
|
209
|
+
{/* 赤陶印章:压在照片与票面交界处,弹簧落座 + 对勾描画 */}
|
|
210
|
+
<div style={{
|
|
211
|
+
position: 'absolute', left: 1640, top: 270, width: 150, height: 150,
|
|
212
|
+
transform: `rotate(${mix(-30, -8, seal)}deg) scale(${mix(1.8, 1, seal).toFixed(4)})`, opacity: Math.min(1, seal * 3),
|
|
213
|
+
}}>
|
|
214
|
+
<svg width={150} height={150} viewBox="0 0 150 150" style={{ overflow: 'visible', filter: `drop-shadow(0 14px 22px ${alpha('#7a2c10', 0.45)})` }}>
|
|
215
|
+
<circle cx={75} cy={75} r={70} fill={S.accent} />
|
|
216
|
+
<circle cx={75} cy={75} r={58} fill="none" stroke={alpha(S.onAccent, 0.5)} strokeWidth={2} strokeDasharray="3 6" />
|
|
217
|
+
<path d="M48 77 L 67 96 L 104 56" fill="none" stroke={S.onAccent} strokeWidth={11} strokeLinecap="round" strokeLinejoin="round"
|
|
218
|
+
strokeDasharray={90} strokeDashoffset={90 * (1 - check)} />
|
|
219
|
+
</svg>
|
|
220
|
+
</div>
|
|
221
|
+
</>
|
|
222
|
+
);
|
|
223
|
+
};
|
|
224
|
+
|
|
225
|
+
export const InvisibleCut: React.FC = () => {
|
|
226
|
+
const frame = useCurrentFrame();
|
|
227
|
+
const DUR = INVISIBLE_CUT_DURATION;
|
|
228
|
+
// 贯穿切点的慢横移:内容 +40 → −40px(smooth 起止);B 页整体右移 40px 排版,落定时回到 120 安全边
|
|
229
|
+
const pan = 40 - 80 * ramp(frame, 0, DUR, EASE.smooth);
|
|
230
|
+
// 带风推挤:切前 A 被拖左(ease-in),切后 B 从右回稳(ease-out)
|
|
231
|
+
const shove = frame < CUT ? -28 * ramp(frame, SW_START - 2, CUT - SW_START + 2, EASE.exit) : 28 * (1 - ramp(frame, CUT, 14, EASE.out));
|
|
232
|
+
const x = occX(frame);
|
|
233
|
+
const sweeping = frame >= SW_START && frame <= SW_END;
|
|
234
|
+
// 近物遮光:遮挡物前方的软投影
|
|
235
|
+
const lead = x;
|
|
236
|
+
|
|
237
|
+
return (
|
|
238
|
+
<AbsoluteFill style={{ background: S.bg[1], overflow: 'hidden' }}>
|
|
239
|
+
<Stage look={S} keyLight={{ x: 0.3, y: 0.05 }} fill={{ x: 0.9, y: 0.95 }} vignette={0.2} grain={0.05} />
|
|
240
|
+
<div style={{ position: 'absolute', inset: 0, transform: `translateX(${(pan + shove).toFixed(2)}px)` }}>
|
|
241
|
+
{frame < CUT ? <PageA f={frame} /> : <div style={{ position: 'absolute', inset: 0, left: B_SHIFT }}><PageB f={frame} /></div>}
|
|
242
|
+
</div>
|
|
243
|
+
|
|
244
|
+
{sweeping && (
|
|
245
|
+
<>
|
|
246
|
+
{/* 前方软投影 */}
|
|
247
|
+
<div style={{
|
|
248
|
+
position: 'absolute', top: 0, bottom: 0, left: lead - 640, width: 640 + SOFT,
|
|
249
|
+
background: `linear-gradient(90deg, ${alpha('#2a170c', 0)} 0px, ${alpha('#2a170c', 0.38)} 640px, ${alpha('#2a170c', 0.5)} ${640 + SOFT}px)`,
|
|
250
|
+
}} />
|
|
251
|
+
{/* 失焦前景:两侧软边 + 实心核 + 前缘赤陶轮廓光 */}
|
|
252
|
+
<div style={{
|
|
253
|
+
position: 'absolute', top: -40, bottom: -40, left: x, width: OCC_W,
|
|
254
|
+
background: `linear-gradient(90deg, rgba(43,26,16,0) 0px, rgba(43,26,16,0.85) ${SOFT * 0.6}px, #2b1a10 ${SOFT}px, #24150c ${SOFT + CORE}px, rgba(36,21,12,0.8) ${SOFT + CORE + SOFT * 0.4}px, rgba(36,21,12,0) ${OCC_W}px)`,
|
|
255
|
+
}}>
|
|
256
|
+
<div style={{
|
|
257
|
+
position: 'absolute', top: 0, bottom: 0, left: SOFT * 0.35, width: 260,
|
|
258
|
+
background: `linear-gradient(90deg, ${alpha('#e0703f', 0)} 0%, ${alpha('#e0703f', 0.42)} 45%, ${alpha('#e0703f', 0)} 100%)`,
|
|
259
|
+
}} />
|
|
260
|
+
<div style={{
|
|
261
|
+
position: 'absolute', inset: 0,
|
|
262
|
+
background: 'linear-gradient(180deg, rgba(255,210,170,0.08) 0%, rgba(0,0,0,0) 40%, rgba(0,0,0,0.25) 100%)',
|
|
263
|
+
// 只作用在实心区,软边处渐隐(否则在透明软边上画出一道硬边)
|
|
264
|
+
WebkitMaskImage: `linear-gradient(90deg, transparent 0px, #000 ${SOFT}px, #000 ${SOFT + CORE}px, transparent ${OCC_W}px)`,
|
|
265
|
+
maskImage: `linear-gradient(90deg, transparent 0px, #000 ${SOFT}px, #000 ${SOFT + CORE}px, transparent ${OCC_W}px)`,
|
|
266
|
+
}} />
|
|
267
|
+
</div>
|
|
268
|
+
</>
|
|
269
|
+
)}
|
|
270
|
+
</AbsoluteFill>
|
|
271
|
+
);
|
|
272
|
+
};
|
package/lib/motion/shotcraft/upstream/demos/transition/transition-hidden-cut/LightLeakBurn.tsx
ADDED
|
@@ -0,0 +1,262 @@
|
|
|
1
|
+
// light-leak-burn〔转场〕:一团暖色胶片漏光从右上角斜扫入画,亮度顶峰时吞掉旧画面七成以上(高光溢出、
|
|
2
|
+
// 对比度被冲淡),光峰帧硬切新画面,光沿对角线退散时新画面已在光下就位——比白闪柔、有方向、有温度。
|
|
3
|
+
//
|
|
4
|
+
// 第二轮重设计(暖黑电影感 · video-shotcraft 取景器的模式切换:"从夜到黄昏"):
|
|
5
|
+
// - look = ember(暖黑 · 余烬橙 · 琥珀金)。A / B 是同一个取景器里的两张全出血"照片"——同一道山脊剪影:
|
|
6
|
+
// A 夜景(冷蓝黑天、星点、新月、山间一盏暖窗灯)配品牌短句上半「Frame motion.」;
|
|
7
|
+
// B 黄昏(赤橙天空、半落的太阳、暖色雾带)配下半「Craft the shot.」。漏光本身就是"天亮了"——光效即语义,
|
|
8
|
+
// 一句 motto 被光峰切成两半。
|
|
9
|
+
// - 取景器 UI 让它是产品而不是壁纸:四角取景框、顶部镜刻标志 + 字标与等宽曝光参数、底部模式拨轮(NIGHT / GOLDEN HOUR / PORTRAIT),
|
|
10
|
+
// 光峰后高亮滑块从 NIGHT 滑到 GOLDEN HOUR(swift 曲线 14f)。
|
|
11
|
+
// - 漏光三段色温:白热核 #fff3dc → 琥珀 #ffb347 → 余烬橙 #ff5a1f → 外缘赭红;全部是沿扫掠对角线拉长、转 −34° 的
|
|
12
|
+
// 径向渐变椭圆(screen 叠加,不用 blur 滤镜——渐变本身就软,且便宜);右缘另有一道"片门溢光"线性光带
|
|
13
|
+
// 随光强长出(真漏光是从画框边缘漏进来的)。峰值时页面 brightness ↑ / contrast ↓ / saturate ↓ = 被烧穿。
|
|
14
|
+
// - 光强包络:爬升 ease-in 27f(蓄力)→ 52f 峰值藏切 → ease-out 43f 收敛(余温);热核 = intensity³,只在峰值附近烧起来。
|
|
15
|
+
//
|
|
16
|
+
// 时间表(30fps,共 130f):
|
|
17
|
+
// 0–24 A 夜景:标题逐词从线下升起(4–24),星点闪烁,镜头极缓推进 1 → 1.02
|
|
18
|
+
// 24–52 漏光从右上角爬入,强度 ease-in 爬升,夜景被逐渐冲淡
|
|
19
|
+
// 52 光峰帧:画面七成以上烧白,硬切 A → B
|
|
20
|
+
// 52–95 光沿对角线退向左下并衰减;B 镜头 1.04 → 1 落定(out);54–68 模式滑块滑到 GOLDEN HOUR;
|
|
21
|
+
// 62–86 B 标题逐词升起(在余温里)
|
|
22
|
+
// 95–130 hold 35f:太阳泛光极缓呼吸、取景器曝光数字静止
|
|
23
|
+
import React from 'react';
|
|
24
|
+
import { AbsoluteFill, useCurrentFrame } from 'remotion';
|
|
25
|
+
import { EASE, FONT, Grain, Vignette, mix, ramp } from '../../_fixtures/Polish';
|
|
26
|
+
import { LOOKS, TextReveal, alpha, type } from '../../_fixtures/Look';
|
|
27
|
+
import { BRAND, ShotcraftMark } from '../../_fixtures/Brand';
|
|
28
|
+
|
|
29
|
+
export const LIGHT_LEAK_BURN_DURATION = 130;
|
|
30
|
+
|
|
31
|
+
const L = LOOKS.ember;
|
|
32
|
+
const W = 1920;
|
|
33
|
+
const H = 1080;
|
|
34
|
+
const PAD = 120;
|
|
35
|
+
const LEAK_IN = 24;
|
|
36
|
+
const PEAK = 52; // 光峰帧 = 藏切点
|
|
37
|
+
const LEAK_OUT = 95;
|
|
38
|
+
|
|
39
|
+
const h = (n: number) => {
|
|
40
|
+
const s = Math.sin(n * 127.3) * 43758.5453;
|
|
41
|
+
return s - Math.floor(s);
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
// 同一道山脊(两张照片共用,换景时构图不跳)
|
|
45
|
+
const RIDGE_FAR = 'M0 640 C 180 600 300 560 420 580 C 560 604 640 520 780 500 C 900 484 1000 560 1120 570 C 1260 582 1380 500 1520 490 C 1680 480 1800 560 1920 548 L1920 1080 L0 1080 Z';
|
|
46
|
+
const RIDGE_MID = 'M0 760 C 160 700 300 690 440 720 C 600 756 720 650 880 640 C 1040 630 1140 720 1300 730 C 1460 740 1600 660 1760 670 C 1840 676 1890 700 1920 706 L1920 1080 L0 1080 Z';
|
|
47
|
+
const RIDGE_NEAR = 'M0 880 C 220 820 420 830 600 860 C 800 892 980 800 1180 812 C 1380 824 1560 900 1760 880 C 1840 872 1890 864 1920 862 L1920 1080 L0 1080 Z';
|
|
48
|
+
|
|
49
|
+
const STARS = Array.from({ length: 70 }, (_, i) => ({
|
|
50
|
+
x: h(i * 3.1 + 1) * W, y: h(i * 5.7 + 2) * 520, r: 0.8 + h(i * 7.3) * 1.8, p: h(i * 11.1) * 6.28,
|
|
51
|
+
}));
|
|
52
|
+
|
|
53
|
+
const Night: React.FC<{ f: number }> = ({ f }) => (
|
|
54
|
+
<svg width={W} height={H} viewBox={`0 0 ${W} ${H}`} style={{ position: 'absolute', inset: 0 }}>
|
|
55
|
+
<defs>
|
|
56
|
+
<linearGradient id="nsky" x1="0" y1="0" x2="0" y2="1">
|
|
57
|
+
<stop offset="0" stopColor="#080a12" />
|
|
58
|
+
<stop offset="0.45" stopColor="#111523" />
|
|
59
|
+
<stop offset="0.62" stopColor="#1f1d2a" />
|
|
60
|
+
</linearGradient>
|
|
61
|
+
<radialGradient id="nmoon" cx="0.5" cy="0.5" r="0.5">
|
|
62
|
+
<stop offset="0" stopColor="#e9e2d2" stopOpacity={0.35} />
|
|
63
|
+
<stop offset="1" stopColor="#e9e2d2" stopOpacity={0} />
|
|
64
|
+
</radialGradient>
|
|
65
|
+
<mask id="ncres">
|
|
66
|
+
<rect width={W} height={H} fill="#000" />
|
|
67
|
+
<circle cx={1450} cy={250} r={46} fill="#fff" />
|
|
68
|
+
<circle cx={1470} cy={238} r={42} fill="#000" />
|
|
69
|
+
</mask>
|
|
70
|
+
</defs>
|
|
71
|
+
<rect width={W} height={H} fill="url(#nsky)" />
|
|
72
|
+
{STARS.map((s, i) => (
|
|
73
|
+
<circle key={i} cx={s.x} cy={s.y} r={s.r} fill="#f2ecff" opacity={0.25 + 0.55 * (0.5 + 0.5 * Math.sin(f / 7 + s.p))} />
|
|
74
|
+
))}
|
|
75
|
+
<circle cx={1450} cy={250} r={170} fill="url(#nmoon)" />
|
|
76
|
+
<rect width={W} height={H} fill="#efe8d8" mask="url(#ncres)" />
|
|
77
|
+
<path d={RIDGE_FAR} fill="#1a1c28" />
|
|
78
|
+
<path d={RIDGE_MID} fill="#11121b" />
|
|
79
|
+
<path d={RIDGE_NEAR} fill="#07070b" />
|
|
80
|
+
{/* 山间一盏暖窗灯:夜景里唯一的暖色,预告漏光 */}
|
|
81
|
+
<circle cx={1606} cy={898} r={28} fill={alpha(L.accent2, 0.2)} />
|
|
82
|
+
<rect x={1600} y={890} width={12} height={10} rx={2} fill={L.accent2} />
|
|
83
|
+
</svg>
|
|
84
|
+
);
|
|
85
|
+
|
|
86
|
+
const Golden: React.FC<{ f: number }> = ({ f }) => {
|
|
87
|
+
const b = 1 + 0.03 * Math.sin(f / 18);
|
|
88
|
+
return (
|
|
89
|
+
<svg width={W} height={H} viewBox={`0 0 ${W} ${H}`} style={{ position: 'absolute', inset: 0 }}>
|
|
90
|
+
<defs>
|
|
91
|
+
<linearGradient id="gsky" x1="0" y1="0" x2="0" y2="1">
|
|
92
|
+
<stop offset="0" stopColor="#2a110b" />
|
|
93
|
+
<stop offset="0.3" stopColor="#8a3218" />
|
|
94
|
+
<stop offset="0.5" stopColor="#e0702e" />
|
|
95
|
+
<stop offset="0.62" stopColor="#ffb661" />
|
|
96
|
+
</linearGradient>
|
|
97
|
+
<radialGradient id="gsun" cx="0.5" cy="0.5" r="0.5">
|
|
98
|
+
<stop offset="0" stopColor="#fff4d8" stopOpacity={0.95} />
|
|
99
|
+
<stop offset="0.25" stopColor="#ffd590" stopOpacity={0.55} />
|
|
100
|
+
<stop offset="1" stopColor="#ff9a4a" stopOpacity={0} />
|
|
101
|
+
</radialGradient>
|
|
102
|
+
<linearGradient id="ghaze" x1="0" y1="0" x2="0" y2="1">
|
|
103
|
+
<stop offset="0" stopColor="#ffb661" stopOpacity={0} />
|
|
104
|
+
<stop offset="0.5" stopColor="#ffb661" stopOpacity={0.35} />
|
|
105
|
+
<stop offset="1" stopColor="#ffb661" stopOpacity={0} />
|
|
106
|
+
</linearGradient>
|
|
107
|
+
</defs>
|
|
108
|
+
<rect width={W} height={H} fill="url(#gsky)" />
|
|
109
|
+
<circle cx={1300} cy={600} r={420 * b} fill="url(#gsun)" />
|
|
110
|
+
<circle cx={1300} cy={600} r={96} fill="#fff6e2" />
|
|
111
|
+
<path d={RIDGE_FAR} fill="#b04a24" />
|
|
112
|
+
<rect x={0} y={520} width={W} height={160} fill="url(#ghaze)" />
|
|
113
|
+
<path d={RIDGE_MID} fill="#6a2412" />
|
|
114
|
+
<path d={RIDGE_NEAR} fill="#2a0d06" />
|
|
115
|
+
</svg>
|
|
116
|
+
);
|
|
117
|
+
};
|
|
118
|
+
|
|
119
|
+
// 品牌短句(PITCH.en.motto)被光峰切成两半:A 夜景 / B 黄昏
|
|
120
|
+
const MOTTO_A = 'Frame motion.';
|
|
121
|
+
const MOTTO_B = 'Craft the shot.';
|
|
122
|
+
|
|
123
|
+
const MODES = ['NIGHT', 'GOLDEN HOUR', 'PORTRAIT'];
|
|
124
|
+
const MODE_X = [0, 220, 532]; // 每项左缘(相对拨轮)
|
|
125
|
+
const MODE_W = [172, 272, 228];
|
|
126
|
+
|
|
127
|
+
// 取景器 UI(两页共用,只有数值与模式不同)
|
|
128
|
+
const Viewfinder: React.FC<{ golden: boolean; slide: number }> = ({ golden, slide }) => {
|
|
129
|
+
const corner = (x: number, y: number, sx: number, sy: number) => (
|
|
130
|
+
<div style={{
|
|
131
|
+
position: 'absolute', left: x, top: y, width: 56, height: 56,
|
|
132
|
+
borderTop: sy > 0 ? `3px solid ${alpha(L.ink, 0.8)}` : undefined, borderBottom: sy < 0 ? `3px solid ${alpha(L.ink, 0.8)}` : undefined,
|
|
133
|
+
borderLeft: sx > 0 ? `3px solid ${alpha(L.ink, 0.8)}` : undefined, borderRight: sx < 0 ? `3px solid ${alpha(L.ink, 0.8)}` : undefined,
|
|
134
|
+
}} />
|
|
135
|
+
);
|
|
136
|
+
const hx = mix(MODE_X[0], MODE_X[1], slide);
|
|
137
|
+
const hw = mix(MODE_W[0], MODE_W[1], slide);
|
|
138
|
+
return (
|
|
139
|
+
<>
|
|
140
|
+
{corner(72, 72, 1, 1)}
|
|
141
|
+
{corner(W - 128, 72, -1, 1)}
|
|
142
|
+
{corner(72, H - 128, 1, -1)}
|
|
143
|
+
{corner(W - 128, H - 128, -1, -1)}
|
|
144
|
+
<div style={{
|
|
145
|
+
position: 'absolute', left: PAD + 36, right: PAD + 36, top: 96, display: 'flex', justifyContent: 'space-between',
|
|
146
|
+
fontFamily: FONT.mono, fontSize: 28, fontWeight: 600, letterSpacing: '0.08em', color: alpha(L.ink, 0.82),
|
|
147
|
+
}}>
|
|
148
|
+
<span style={{ display: 'flex', alignItems: 'center', gap: 14 }}>
|
|
149
|
+
<span style={{ color: L.accent }}>●</span>
|
|
150
|
+
<ShotcraftMark size={36} tone="dark" />
|
|
151
|
+
<span style={{ letterSpacing: '0.02em' }}>{BRAND.name}</span>
|
|
152
|
+
</span>
|
|
153
|
+
<span>{golden ? 'ISO 100 · 1/500 · ƒ2.8' : 'ISO 3200 · 1/8 · ƒ1.6'}</span>
|
|
154
|
+
<span>{golden ? '4K · 24' : 'RAW · 24'}</span>
|
|
155
|
+
</div>
|
|
156
|
+
{/* 模式拨轮 */}
|
|
157
|
+
<div style={{ position: 'absolute', left: (W - 760) / 2, top: H - 156, width: 760, height: 64 }}>
|
|
158
|
+
<div style={{
|
|
159
|
+
position: 'absolute', left: hx, top: 0, width: hw, height: 64, borderRadius: 32,
|
|
160
|
+
background: alpha('#140805', 0.55), border: `1.5px solid ${alpha(L.accent2, 0.55)}`,
|
|
161
|
+
boxShadow: `0 0 24px ${alpha(L.accent2, 0.25)}`,
|
|
162
|
+
}} />
|
|
163
|
+
{MODES.map((m, i) => {
|
|
164
|
+
const on = i === 0 ? 1 - slide : i === 1 ? slide : 0;
|
|
165
|
+
return (
|
|
166
|
+
<div key={m} style={{
|
|
167
|
+
position: 'absolute', left: MODE_X[i], width: MODE_W[i], top: 0, height: 64, display: 'flex', alignItems: 'center', justifyContent: 'center',
|
|
168
|
+
fontFamily: FONT.sans, fontSize: 28, fontWeight: 700, letterSpacing: '0.14em',
|
|
169
|
+
color: on > 0.5 ? L.accent2 : alpha(L.ink, 0.62),
|
|
170
|
+
}}>{m}</div>
|
|
171
|
+
);
|
|
172
|
+
})}
|
|
173
|
+
</div>
|
|
174
|
+
</>
|
|
175
|
+
);
|
|
176
|
+
};
|
|
177
|
+
|
|
178
|
+
export const LightLeakBurn: React.FC = () => {
|
|
179
|
+
const frame = useCurrentFrame();
|
|
180
|
+
const golden = frame > PEAK;
|
|
181
|
+
|
|
182
|
+
// 光强包络:ease-in 爬升 → 峰值 → ease-out 收敛
|
|
183
|
+
const intensity = frame <= PEAK
|
|
184
|
+
? ramp(frame, LEAK_IN, PEAK - LEAK_IN, (t) => t * t)
|
|
185
|
+
: 1 - ramp(frame, PEAK, LEAK_OUT - PEAK, EASE.out);
|
|
186
|
+
// 光团沿对角线:右上外 → 左下外(全程 swift,峰值时在画面中上偏右)
|
|
187
|
+
const sweep = ramp(frame, LEAK_IN, LEAK_OUT - LEAK_IN, (t) => 1 - Math.pow(1 - t, 1.2));
|
|
188
|
+
const cx = mix(2250, -500, sweep);
|
|
189
|
+
const cy = mix(-380, 1400, sweep);
|
|
190
|
+
|
|
191
|
+
// 镜头:A 极缓推进,B 从 1.04 落定
|
|
192
|
+
const zoom = golden ? 1 + 0.04 * (1 - ramp(frame, PEAK, 44, EASE.out)) : 1 + 0.02 * ramp(frame, 0, PEAK, EASE.smooth);
|
|
193
|
+
const burn = `brightness(${(1 + intensity * 0.85).toFixed(3)}) contrast(${(1 - intensity * 0.5).toFixed(3)}) saturate(${(1 - intensity * 0.25).toFixed(3)})`;
|
|
194
|
+
// 高光溢出把 A 的字也烧淡(峰值处只剩 ~25%),切点那一下不会看到标题突然换字
|
|
195
|
+
const aWash = golden ? 1 : 1 - 0.75 * Math.pow(intensity, 1.6);
|
|
196
|
+
const slide = ramp(frame, PEAK + 2, 14, EASE.swift);
|
|
197
|
+
|
|
198
|
+
// 三段色温光团(长径 / 颜色 / 透明度 / 沿扫掠方向的偏移)
|
|
199
|
+
const blobs = [
|
|
200
|
+
{ d: 3000, c: '#c2311a', a: 0.6, o: 360 },
|
|
201
|
+
{ d: 2300, c: '#ff5a1f', a: 0.8, o: 160 },
|
|
202
|
+
{ d: 1700, c: '#ffb347', a: 0.95, o: 0 },
|
|
203
|
+
];
|
|
204
|
+
const core = Math.pow(intensity, 3);
|
|
205
|
+
const cutFlash = frame === PEAK || frame === PEAK + 1 ? 0.25 : 0;
|
|
206
|
+
|
|
207
|
+
return (
|
|
208
|
+
<AbsoluteFill style={{ background: L.bg[2], overflow: 'hidden' }}>
|
|
209
|
+
{/* 画面层(受漏光烧穿) */}
|
|
210
|
+
<div style={{ position: 'absolute', inset: 0, filter: intensity > 0.01 ? burn : undefined }}>
|
|
211
|
+
<div style={{ position: 'absolute', inset: 0, transform: `scale(${zoom.toFixed(5)})` }}>
|
|
212
|
+
{golden ? <Golden f={frame} /> : <Night f={frame} />}
|
|
213
|
+
</div>
|
|
214
|
+
{/* 底部压暗,托住标题与拨轮 */}
|
|
215
|
+
<div style={{ position: 'absolute', inset: 0, background: `linear-gradient(180deg, ${alpha('#000000', 0.25)} 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0) 52%, ${alpha('#0a0402', 0.72)} 100%)` }} />
|
|
216
|
+
{/* 标题 */}
|
|
217
|
+
<div style={{ position: 'absolute', left: PAD + 36, top: 596, opacity: aWash }}>
|
|
218
|
+
<div style={{ ...type(28, 700, { caps: true }), letterSpacing: '0.2em', color: golden ? L.accent2 : alpha(L.ink, 0.7), marginBottom: 22 }}>
|
|
219
|
+
{golden ? '02 — Golden hour' : '01 — Night'}
|
|
220
|
+
</div>
|
|
221
|
+
<div style={{ ...type(140, 760), color: L.ink }}>
|
|
222
|
+
{golden ? (
|
|
223
|
+
<TextReveal key="b" text={MOTTO_B} by="word" variant="rise" start={PEAK + 10} each={20} gap={4} />
|
|
224
|
+
) : (
|
|
225
|
+
<TextReveal key="a" text={MOTTO_A} by="word" variant="rise" start={2} each={20} gap={4} />
|
|
226
|
+
)}
|
|
227
|
+
</div>
|
|
228
|
+
</div>
|
|
229
|
+
<Viewfinder golden={golden} slide={slide} />
|
|
230
|
+
</div>
|
|
231
|
+
|
|
232
|
+
{/* 漏光层 */}
|
|
233
|
+
{intensity > 0.003 && (
|
|
234
|
+
<div style={{ position: 'absolute', inset: 0, pointerEvents: 'none' }}>
|
|
235
|
+
{/* 片门溢光:从右缘与上缘漏进来的线性光带 */}
|
|
236
|
+
<div style={{
|
|
237
|
+
position: 'absolute', inset: 0, mixBlendMode: 'screen', opacity: intensity,
|
|
238
|
+
background: `linear-gradient(250deg, ${alpha('#ffb347', 0.9)} 0%, ${alpha('#ff5a1f', 0.55)} 14%, ${alpha('#c2311a', 0.2)} 30%, rgba(0,0,0,0) 46%)`,
|
|
239
|
+
}} />
|
|
240
|
+
{blobs.map((b, i) => (
|
|
241
|
+
<div key={i} style={{
|
|
242
|
+
position: 'absolute', left: cx - b.d / 2 + b.o * 0.8, top: cy - b.d / 2.7 - b.o * 0.6, width: b.d, height: b.d / 1.35,
|
|
243
|
+
borderRadius: '50%', transform: 'rotate(-34deg)', mixBlendMode: 'screen', opacity: b.a * intensity,
|
|
244
|
+
background: `radial-gradient(closest-side, ${alpha(b.c, 1)} 0%, ${alpha(b.c, 0.65)} 35%, ${alpha(b.c, 0)} 100%)`,
|
|
245
|
+
}} />
|
|
246
|
+
))}
|
|
247
|
+
{/* 白热核:只在峰值附近烧起来 */}
|
|
248
|
+
<div style={{
|
|
249
|
+
position: 'absolute', left: cx - 1100, top: cy - 700, width: 2200, height: 1400, borderRadius: '50%', transform: 'rotate(-34deg)',
|
|
250
|
+
mixBlendMode: 'screen', opacity: core,
|
|
251
|
+
background: 'radial-gradient(closest-side, #fff6e6 0%, rgba(255,236,200,0.9) 40%, rgba(255,200,130,0) 100%)',
|
|
252
|
+
}} />
|
|
253
|
+
{/* 全屏暖罩:高光溢出带温度 */}
|
|
254
|
+
<div style={{ position: 'absolute', inset: 0, background: '#ff9a4a', mixBlendMode: 'screen', opacity: 0.4 * intensity * intensity + cutFlash }} />
|
|
255
|
+
</div>
|
|
256
|
+
)}
|
|
257
|
+
|
|
258
|
+
<Vignette strength={0.5 * (1 - 0.6 * intensity)} color={L.shadow} inner={0.48} />
|
|
259
|
+
<Grain opacity={0.08 + 0.08 * intensity} step={2} blend="soft-light" />
|
|
260
|
+
</AbsoluteFill>
|
|
261
|
+
);
|
|
262
|
+
};
|