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,319 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// Deterministic HTML → video renderer.
|
|
3
|
+
//
|
|
4
|
+
// A demo page (demos/<slug>/index.html) must define, before setting window.__ready = true:
|
|
5
|
+
// window.DEMO = { width, height, fps, duration } // optional overrides of CLI defaults
|
|
6
|
+
// window.renderAt = async (t) => { ... } // draw the frame for time t (seconds)
|
|
7
|
+
// Anything not driven by renderAt (CSS animations, WAAPI) is also seeked to t automatically.
|
|
8
|
+
//
|
|
9
|
+
// Usage:
|
|
10
|
+
// node harness/render.mjs demos/05-cel # full render → demos/05-cel/out/video.mp4
|
|
11
|
+
// node harness/render.mjs demos/05-cel --stills 0.5,2,4.25 # PNG stills → demos/05-cel/out/stills/
|
|
12
|
+
// options: --out path.mp4 --audio path.wav --mb 4 --shutter 0.5 --workers 1 --from 0 --to 10 --scale 0.5 --noaudio --query k=v
|
|
13
|
+
// --crf 14 --w 1920 --h 1080 --fps 30 --duration 10 --scale 1
|
|
14
|
+
// --page other.html --tmap map.json (re-time into a reel slot, see loadTmap) --mkv out.mkv (lossless ffv1 output, no x264/audio)
|
|
15
|
+
// --links track.json (reel v5 link elements: if the page defines window.linkAt(t) → [{id, type, x, y, r, ...}] in
|
|
16
|
+
// 1920×1080 frame px, record it per output frame at the frame-centre source time; with
|
|
17
|
+
// --stills it is written to out/stills/links.json)
|
|
18
|
+
|
|
19
|
+
import http from 'node:http';
|
|
20
|
+
import fs from 'node:fs';
|
|
21
|
+
import path from 'node:path';
|
|
22
|
+
import os from 'node:os';
|
|
23
|
+
import { spawn } from 'node:child_process';
|
|
24
|
+
import { fileURLToPath } from 'node:url';
|
|
25
|
+
import puppeteer from 'puppeteer-core';
|
|
26
|
+
import events from 'node:events';
|
|
27
|
+
events.defaultMaxListeners = 100;
|
|
28
|
+
|
|
29
|
+
const ROOT = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '..');
|
|
30
|
+
const CHROME = process.env.MG_CHROME || '/Applications/Google Chrome.app/Contents/MacOS/Google Chrome';
|
|
31
|
+
// GPU flags: ANGLE/Metal on macOS; on Linux (e.g. the NVIDIA render box) default to ANGLE/Vulkan, override with MG_GPU_ARGS.
|
|
32
|
+
const GPU_ARGS = process.env.MG_GPU_ARGS ? process.env.MG_GPU_ARGS.split(' ').filter(Boolean)
|
|
33
|
+
: process.platform === 'darwin' ? ['--use-angle=metal']
|
|
34
|
+
: ['--use-gl=angle', '--use-angle=gl-egl', '--no-sandbox', '--disable-gpu-watchdog', '--disable-gpu-process-crash-limit']; // NVIDIA via EGL (verified: hardware WebGL2, ~38–51 dB PSNR vs the Mac renders)
|
|
35
|
+
|
|
36
|
+
function parseArgs(argv) {
|
|
37
|
+
const a = { _: [] };
|
|
38
|
+
for (let i = 0; i < argv.length; i++) {
|
|
39
|
+
const k = argv[i];
|
|
40
|
+
if (k.startsWith('--')) {
|
|
41
|
+
const key = k.slice(2);
|
|
42
|
+
const next = argv[i + 1];
|
|
43
|
+
if (next === undefined || next.startsWith('--')) a[key] = true;
|
|
44
|
+
else { a[key] = next; i++; }
|
|
45
|
+
} else a._.push(k);
|
|
46
|
+
}
|
|
47
|
+
return a;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
const MIME = {
|
|
51
|
+
'.html': 'text/html; charset=utf-8', '.js': 'text/javascript', '.mjs': 'text/javascript',
|
|
52
|
+
'.css': 'text/css', '.json': 'application/json', '.png': 'image/png', '.jpg': 'image/jpeg',
|
|
53
|
+
'.jpeg': 'image/jpeg', '.webp': 'image/webp', '.gif': 'image/gif', '.svg': 'image/svg+xml',
|
|
54
|
+
'.ttf': 'font/ttf', '.otf': 'font/otf', '.woff': 'font/woff', '.woff2': 'font/woff2',
|
|
55
|
+
'.wasm': 'application/wasm', '.glsl': 'text/plain', '.frag': 'text/plain', '.vert': 'text/plain',
|
|
56
|
+
'.hdr': 'application/octet-stream', '.exr': 'application/octet-stream', '.glb': 'model/gltf-binary',
|
|
57
|
+
'.gltf': 'model/gltf+json', '.bin': 'application/octet-stream', '.mp4': 'video/mp4', '.wav': 'audio/wav',
|
|
58
|
+
'.ktx2': 'application/octet-stream',
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
function startServer() {
|
|
62
|
+
return new Promise((resolve) => {
|
|
63
|
+
const srv = http.createServer((req, res) => {
|
|
64
|
+
try {
|
|
65
|
+
const u = new URL(req.url, 'http://x');
|
|
66
|
+
let p = path.join(ROOT, decodeURIComponent(u.pathname));
|
|
67
|
+
if (!p.startsWith(ROOT)) { res.writeHead(403); return res.end(); }
|
|
68
|
+
if (fs.existsSync(p) && fs.statSync(p).isDirectory()) p = path.join(p, 'index.html');
|
|
69
|
+
if (!fs.existsSync(p)) { res.writeHead(404); return res.end('404 ' + u.pathname); }
|
|
70
|
+
res.writeHead(200, {
|
|
71
|
+
'Content-Type': MIME[path.extname(p).toLowerCase()] || 'application/octet-stream',
|
|
72
|
+
'Cache-Control': 'no-store', 'Access-Control-Allow-Origin': '*',
|
|
73
|
+
});
|
|
74
|
+
fs.createReadStream(p).pipe(res);
|
|
75
|
+
} catch (e) { res.writeHead(500); res.end(String(e)); }
|
|
76
|
+
});
|
|
77
|
+
srv.listen(0, '127.0.0.1', () => resolve(srv));
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
let SCALE = 1;
|
|
82
|
+
async function openPage(browser, url, w, h, logPrefix) {
|
|
83
|
+
const page = await browser.newPage();
|
|
84
|
+
await page.setViewport({ width: w, height: h, deviceScaleFactor: SCALE });
|
|
85
|
+
page.on('console', (m) => {
|
|
86
|
+
const t = m.type();
|
|
87
|
+
if (t === 'error' || t === 'warn' || process.env.VERBOSE) console.log(`${logPrefix}[page ${t}] ${m.text()}`);
|
|
88
|
+
});
|
|
89
|
+
page.on('pageerror', (e) => console.log(`${logPrefix}[page error] ${e.message}`));
|
|
90
|
+
page.on('requestfailed', (r) => console.log(`${logPrefix}[request failed] ${r.url()} ${r.failure()?.errorText}`));
|
|
91
|
+
await page.goto(url, { waitUntil: 'load', timeout: 180000 });
|
|
92
|
+
await page.waitForFunction('window.__ready === true', { timeout: 300000, polling: 100 });
|
|
93
|
+
await page.evaluate(() => document.fonts && document.fonts.ready);
|
|
94
|
+
return page;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
async function seek(page, t) {
|
|
98
|
+
await page.evaluate(async (t) => {
|
|
99
|
+
for (const a of document.getAnimations()) { try { a.pause(); a.currentTime = t * 1000; } catch {} }
|
|
100
|
+
if (typeof window.renderAt === 'function') await window.renderAt(t);
|
|
101
|
+
}, t);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
async function linkAt(page, t) {
|
|
105
|
+
return page.evaluate((t) => (typeof window.linkAt === 'function' ? window.linkAt(t) : null), t);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
async function shot(page, w, h) {
|
|
109
|
+
return page.screenshot({ type: 'png', clip: { x: 0, y: 0, width: w, height: h }, optimizeForSpeed: true, captureBeyondViewport: false });
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
function ffmpeg(args, opts = {}) {
|
|
113
|
+
const p = spawn('ffmpeg', ['-hide_banner', '-loglevel', 'error', '-y', ...args], { stdio: ['pipe', 'inherit', 'inherit'], ...opts });
|
|
114
|
+
const done = new Promise((res, rej) => p.on('close', (c) => (c === 0 ? res() : rej(new Error('ffmpeg exit ' + c)))));
|
|
115
|
+
return { p, done };
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
function writeAsync(stream, buf) {
|
|
119
|
+
return new Promise((res, rej) => { if (!stream.write(buf)) stream.once('drain', res); else res(); stream.once('error', rej); });
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
// Machine-wide cap on concurrent full renders (captures are GPU-serialized anyway; this bounds RAM use).
|
|
124
|
+
const SLOTS = +(process.env.MG_RENDER_SLOTS || 3);
|
|
125
|
+
const LOCKDIR = '/tmp/mg-render-slots';
|
|
126
|
+
const alive = (pid) => { try { process.kill(pid, 0); return true; } catch (e) { return e.code === 'EPERM'; } };
|
|
127
|
+
async function acquireSlot() {
|
|
128
|
+
fs.mkdirSync(LOCKDIR, { recursive: true });
|
|
129
|
+
for (let waited = 0; ; waited += 2) {
|
|
130
|
+
for (let i = 0; i < SLOTS; i++) {
|
|
131
|
+
const d = path.join(LOCKDIR, 'slot' + i);
|
|
132
|
+
try { fs.mkdirSync(d); fs.writeFileSync(path.join(d, 'pid'), String(process.pid)); return d; } catch {}
|
|
133
|
+
try {
|
|
134
|
+
const pidFile = path.join(d, 'pid');
|
|
135
|
+
const stale = fs.existsSync(pidFile) ? !alive(+fs.readFileSync(pidFile, 'utf8')) : Date.now() - fs.statSync(d).mtimeMs > 30000;
|
|
136
|
+
if (stale) fs.rmSync(d, { recursive: true, force: true });
|
|
137
|
+
} catch {}
|
|
138
|
+
}
|
|
139
|
+
if (waited % 30 === 0) console.log(`waiting for a render slot (${SLOTS} full renders machine-wide)...`);
|
|
140
|
+
await new Promise((r) => setTimeout(r, 2000));
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
// Time-warp map (--tmap file.json) for re-timing a film into a reel slot:
|
|
145
|
+
// { "u0": -0.5, "u1": 4.5, "segments": [ { "t0": -0.5, "t1": 2.0, "keys": [[0, 0.0], [2.0, 2.0]] }, ... ] }
|
|
146
|
+
// Output time u runs u0..u1 (frame f ↔ u = u0 + f/fps). Each segment maps u∈[t0,t1) → source time through a monotone
|
|
147
|
+
// cubic (Fritsch–Carlson) curve over its keys [u, src], extrapolated linearly past the first/last key. Segment edges are
|
|
148
|
+
// hard (jump) cuts; motion-blur sub-samples always use the segment of their frame centre, so no sample straddles a cut.
|
|
149
|
+
function monotone(keys) {
|
|
150
|
+
const n = keys.length, x = keys.map((k) => k[0]), y = keys.map((k) => k[1]);
|
|
151
|
+
if (n === 1) return (u) => y[0] + (u - x[0]);
|
|
152
|
+
const d = [], m = new Array(n);
|
|
153
|
+
for (let i = 0; i < n - 1; i++) d.push((y[i + 1] - y[i]) / (x[i + 1] - x[i]));
|
|
154
|
+
m[0] = d[0]; m[n - 1] = d[n - 2];
|
|
155
|
+
for (let i = 1; i < n - 1; i++) m[i] = d[i - 1] * d[i] <= 0 ? 0 : (d[i - 1] + d[i]) / 2;
|
|
156
|
+
for (let i = 0; i < n - 1; i++) {
|
|
157
|
+
if (d[i] === 0) { m[i] = m[i + 1] = 0; continue; }
|
|
158
|
+
const a = m[i] / d[i], b = m[i + 1] / d[i], h = a * a + b * b;
|
|
159
|
+
if (h > 9) { const t = 3 / Math.sqrt(h); m[i] = t * a * d[i]; m[i + 1] = t * b * d[i]; }
|
|
160
|
+
}
|
|
161
|
+
return (u) => {
|
|
162
|
+
if (u <= x[0]) return y[0] + m[0] * (u - x[0]);
|
|
163
|
+
if (u >= x[n - 1]) return y[n - 1] + m[n - 1] * (u - x[n - 1]);
|
|
164
|
+
let i = 0; while (u > x[i + 1]) i++;
|
|
165
|
+
const h = x[i + 1] - x[i], t = (u - x[i]) / h, t2 = t * t, t3 = t2 * t;
|
|
166
|
+
return (2 * t3 - 3 * t2 + 1) * y[i] + (t3 - 2 * t2 + t) * h * m[i] + (-2 * t3 + 3 * t2) * y[i + 1] + (t3 - t2) * h * m[i + 1];
|
|
167
|
+
};
|
|
168
|
+
}
|
|
169
|
+
function loadTmap(file) {
|
|
170
|
+
const tm = JSON.parse(fs.readFileSync(file, 'utf8'));
|
|
171
|
+
const segs = tm.segments.map((s) => ({ ...s, f: monotone(s.keys) }));
|
|
172
|
+
const segOf = (u) => segs.find((s) => u >= s.t0 - 1e-9 && u < s.t1 - 1e-9) || (u < segs[0].t0 ? segs[0] : segs[segs.length - 1]);
|
|
173
|
+
return { u0: tm.u0, u1: tm.u1, segOf };
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
async function main() {
|
|
177
|
+
const args = parseArgs(process.argv.slice(2));
|
|
178
|
+
if (!args.stills) {
|
|
179
|
+
const slot = await acquireSlot();
|
|
180
|
+
const freeSlot = () => { try { fs.rmSync(slot, { recursive: true, force: true }); } catch {} };
|
|
181
|
+
process.on('exit', freeSlot);
|
|
182
|
+
for (const sig of ['SIGINT', 'SIGTERM', 'SIGHUP']) process.on(sig, () => { freeSlot(); process.exit(1); });
|
|
183
|
+
}
|
|
184
|
+
const demoDir = path.resolve(args._[0] || '.');
|
|
185
|
+
const rel = path.relative(ROOT, demoDir);
|
|
186
|
+
const srv = await startServer();
|
|
187
|
+
const port = srv.address().port;
|
|
188
|
+
const url = `http://127.0.0.1:${port}/${rel}/${args.page || 'index.html'}${args.query ? '?' + args.query : ''}`;
|
|
189
|
+
|
|
190
|
+
const launch = () => puppeteer.launch({
|
|
191
|
+
executablePath: CHROME,
|
|
192
|
+
headless: true,
|
|
193
|
+
protocolTimeout: 600000,
|
|
194
|
+
args: [...GPU_ARGS, '--enable-gpu', '--ignore-gpu-blocklist', '--enable-unsafe-webgpu',
|
|
195
|
+
'--font-render-hinting=none', '--disable-lcd-text', '--force-color-profile=srgb',
|
|
196
|
+
'--disable-background-timer-throttling', '--disable-gpu-vsync', '--disable-frame-rate-limit', '--disable-renderer-backgrounding', '--disable-backgrounding-occluded-windows',
|
|
197
|
+
'--autoplay-policy=no-user-gesture-required', '--hide-scrollbars', '--mute-audio'],
|
|
198
|
+
});
|
|
199
|
+
const browser = await launch();
|
|
200
|
+
const extra = [];
|
|
201
|
+
|
|
202
|
+
try {
|
|
203
|
+
// Probe config with a first page.
|
|
204
|
+
const probe = await browser.newPage();
|
|
205
|
+
await probe.setViewport({ width: 1920, height: 1080 });
|
|
206
|
+
probe.on('pageerror', (e) => console.log(`[page error] ${e.message}`));
|
|
207
|
+
await probe.goto(url, { waitUntil: 'load', timeout: 180000 });
|
|
208
|
+
await probe.waitForFunction('window.__ready === true', { timeout: 300000, polling: 100 });
|
|
209
|
+
const cfg = await probe.evaluate(() => window.DEMO || {});
|
|
210
|
+
await probe.close();
|
|
211
|
+
|
|
212
|
+
const W = +(args.w || cfg.width || 1920), H = +(args.h || cfg.height || 1080);
|
|
213
|
+
const FPS = +(args.fps || cfg.fps || 30), DUR = +(args.duration || cfg.duration || 10);
|
|
214
|
+
const MB = Math.max(1, +(args.mb || cfg.motionBlur?.samples || 1));
|
|
215
|
+
const SHUTTER = +(args.shutter ?? cfg.motionBlur?.shutter ?? 0.5);
|
|
216
|
+
const outDir = path.join(demoDir, 'out');
|
|
217
|
+
fs.mkdirSync(outDir, { recursive: true });
|
|
218
|
+
SCALE = +(args.scale || 1); // e.g. --scale 0.5 for fast low-res previews (layout stays at W×H CSS px)
|
|
219
|
+
|
|
220
|
+
if (args.stills) {
|
|
221
|
+
const ts = String(args.stills).split(',').map(Number);
|
|
222
|
+
const page = await openPage(browser, url, W, H, '');
|
|
223
|
+
const sd = path.join(outDir, 'stills');
|
|
224
|
+
fs.mkdirSync(sd, { recursive: true });
|
|
225
|
+
const lk = {};
|
|
226
|
+
for (const t of ts) {
|
|
227
|
+
await seek(page, t);
|
|
228
|
+
const buf = await shot(page, W, H);
|
|
229
|
+
const f = path.join(sd, `t${t.toFixed(2).padStart(5, '0')}.png`);
|
|
230
|
+
fs.writeFileSync(f, buf);
|
|
231
|
+
console.log(f);
|
|
232
|
+
if (args.links) lk[t.toFixed(3)] = await linkAt(page, t);
|
|
233
|
+
}
|
|
234
|
+
if (args.links) fs.writeFileSync(path.join(sd, 'links.json'), JSON.stringify(lk, null, 1));
|
|
235
|
+
return;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
const TM = args.tmap ? loadTmap(path.resolve(args.tmap)) : null;
|
|
239
|
+
const totalFrames = TM ? Math.round((TM.u1 - TM.u0) * FPS) : Math.round(DUR * FPS);
|
|
240
|
+
const f0 = Math.round(+(args.from || 0) * FPS), f1 = Math.min(totalFrames, Math.round(+(args.to || DUR) * FPS));
|
|
241
|
+
const WORKERS = Math.max(1, Math.min(+(args.workers || cfg.workers || 1), f1 - f0));
|
|
242
|
+
const tmp = fs.mkdtempSync(path.join(os.tmpdir(), 'render-'));
|
|
243
|
+
const out = path.resolve(args.out || path.join(outDir, 'video.mp4'));
|
|
244
|
+
const t0 = performance.now();
|
|
245
|
+
console.log(`render ${rel}: ${W}x${H} @${FPS}fps frames ${f0}-${f1} mb=${MB} shutter=${SHUTTER} workers=${WORKERS}`);
|
|
246
|
+
|
|
247
|
+
const chunk = Math.ceil((f1 - f0) / WORKERS);
|
|
248
|
+
let doneFrames = 0;
|
|
249
|
+
const LINKS = {};
|
|
250
|
+
const segs = [];
|
|
251
|
+
await Promise.all(Array.from({ length: WORKERS }, async (_, w) => {
|
|
252
|
+
const a = f0 + w * chunk, b = Math.min(f1, a + chunk);
|
|
253
|
+
if (a >= b) return;
|
|
254
|
+
const seg = path.join(tmp, `seg${String(w).padStart(2, '0')}.mkv`);
|
|
255
|
+
segs[w] = seg;
|
|
256
|
+
// One browser per worker: pages inside a single browser share one compositor and don't parallelize.
|
|
257
|
+
const br = w === 0 ? browser : await launch();
|
|
258
|
+
if (w) extra.push(br);
|
|
259
|
+
const page = await openPage(br, url, W, H, `[w${w}] `);
|
|
260
|
+
const vf = MB > 1
|
|
261
|
+
? `tmix=frames=${MB},select='eq(mod(n\\,${MB})\\,${MB - 1})',setpts=N/(${FPS}*TB)`
|
|
262
|
+
: 'null';
|
|
263
|
+
const ff = ffmpeg(['-f', 'image2pipe', '-framerate', String(FPS * MB), '-c:v', 'png', '-i', '-',
|
|
264
|
+
'-vf', vf, '-r', String(FPS), '-c:v', 'ffv1', '-level', '3', '-threads', '2', '-pix_fmt', 'bgr0', seg]);
|
|
265
|
+
for (let f = a; f < b; f++) {
|
|
266
|
+
for (let s = 0; s < MB; s++) {
|
|
267
|
+
let t = MB > 1 ? Math.max(0, (f + SHUTTER * ((s + 0.5) / MB - 0.5)) / FPS) : f / FPS;
|
|
268
|
+
if (TM) {
|
|
269
|
+
const uc = TM.u0 + f / FPS, us = TM.u0 + (MB > 1 ? (f + SHUTTER * ((s + 0.5) / MB - 0.5)) / FPS : f / FPS);
|
|
270
|
+
t = Math.min(Math.max(0, TM.segOf(uc).f(us)), +(cfg.duration || 10) - 1e-3);
|
|
271
|
+
}
|
|
272
|
+
await seek(page, t);
|
|
273
|
+
await writeAsync(ff.p.stdin, await shot(page, W, H));
|
|
274
|
+
}
|
|
275
|
+
if (args.links) {
|
|
276
|
+
const uc = TM ? TM.u0 + f / FPS : f / FPS;
|
|
277
|
+
const tc = TM ? Math.min(Math.max(0, TM.segOf(uc).f(uc)), +(cfg.duration || 10) - 1e-3) : f / FPS;
|
|
278
|
+
LINKS[f] = { u: +uc.toFixed(5), t: +tc.toFixed(5), els: await linkAt(page, tc) };
|
|
279
|
+
}
|
|
280
|
+
doneFrames++;
|
|
281
|
+
if (doneFrames % 30 === 0) {
|
|
282
|
+
const el = (performance.now() - t0) / 1000;
|
|
283
|
+
console.log(` ${doneFrames}/${f1 - f0} frames ${el.toFixed(1)}s (${(el / doneFrames).toFixed(2)}s/frame)`);
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
ff.p.stdin.end();
|
|
287
|
+
await ff.done;
|
|
288
|
+
await page.close();
|
|
289
|
+
}));
|
|
290
|
+
|
|
291
|
+
if (args.links) fs.writeFileSync(path.resolve(args.links), JSON.stringify({ fps: FPS, u0: TM ? TM.u0 : 0, frames: Object.keys(LINKS).map(Number).sort((a, b) => a - b).map((f) => ({ f, ...LINKS[f] })) }));
|
|
292
|
+
const list = path.join(tmp, 'list.txt');
|
|
293
|
+
fs.writeFileSync(list, segs.filter(Boolean).map((s) => `file '${s}'`).join('\n'));
|
|
294
|
+
if (args.mkv) {
|
|
295
|
+
await ffmpeg(['-f', 'concat', '-safe', '0', '-i', list, '-c', 'copy', path.resolve(args.mkv)]).done;
|
|
296
|
+
fs.rmSync(tmp, { recursive: true, force: true });
|
|
297
|
+
console.log(`done → ${path.resolve(args.mkv)} (lossless, ${((performance.now() - t0) / 1000).toFixed(1)}s)`);
|
|
298
|
+
return;
|
|
299
|
+
}
|
|
300
|
+
const audio = args.audio ? path.resolve(args.audio) : (fs.existsSync(path.join(demoDir, 'out', 'audio.wav')) ? path.join(demoDir, 'out', 'audio.wav') : null);
|
|
301
|
+
const enc = ['-f', 'concat', '-safe', '0', '-i', list];
|
|
302
|
+
if (audio && !args.noaudio) enc.push('-i', audio);
|
|
303
|
+
enc.push('-map', '0:v:0');
|
|
304
|
+
if (audio && !args.noaudio) enc.push('-map', '1:a:0', '-af', 'apad', '-c:a', 'aac', '-b:a', '320k', '-ar', '48000', '-shortest');
|
|
305
|
+
enc.push('-vf', 'scale=out_color_matrix=bt709:out_range=tv:flags=lanczos+accurate_rnd+full_chroma_int,format=yuv420p',
|
|
306
|
+
'-c:v', 'libx264', '-threads', '4', '-preset', 'slow', '-crf', String(args.crf || 14), '-profile:v', 'high',
|
|
307
|
+
'-x264-params', 'aq-mode=3', '-colorspace', 'bt709', '-color_primaries', 'bt709', '-color_trc', 'bt709', '-color_range', 'tv',
|
|
308
|
+
'-r', String(FPS), '-movflags', '+faststart', out);
|
|
309
|
+
await ffmpeg(enc).done;
|
|
310
|
+
fs.rmSync(tmp, { recursive: true, force: true });
|
|
311
|
+
console.log(`done → ${out} (${((performance.now() - t0) / 1000).toFixed(1)}s${audio && !args.noaudio ? ', with audio ' + path.relative(ROOT, audio) : ', no audio'})`);
|
|
312
|
+
} finally {
|
|
313
|
+
for (const b of extra) await b.close().catch(() => {});
|
|
314
|
+
await browser.close();
|
|
315
|
+
srv.close();
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
main().catch((e) => { console.error(e); process.exit(1); });
|
|
@@ -0,0 +1,269 @@
|
|
|
1
|
+
{
|
|
2
|
+
"source": "https://github.com/Vincentwei1021/mg-styles-15",
|
|
3
|
+
"commit": "49052d80bfaf9fa8412cc9710530e5e95a3b8d8c",
|
|
4
|
+
"license": "MIT",
|
|
5
|
+
"vendoredAt": "2026-10-05",
|
|
6
|
+
"note": "只收文本:提示词 + demo 源码。视频/纹理/字体不在仓库里,也没有 vendor 进来。",
|
|
7
|
+
"styles": [
|
|
8
|
+
{
|
|
9
|
+
"slug": "01-flat-vector",
|
|
10
|
+
"heading": "扁平矢量动画 Flat / Vector 2D Motion Graphics",
|
|
11
|
+
"shot": "popwise「One Dot」一个点的一镜到底 · 1920×1080 · 30 fps · 10 秒 · AI 评审终评 7.64 / 10",
|
|
12
|
+
"prompt": "prompts/01-flat-vector.md",
|
|
13
|
+
"demos": [
|
|
14
|
+
"demos/01-flat-vector/cues.json",
|
|
15
|
+
"demos/01-flat-vector/index.html"
|
|
16
|
+
]
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"slug": "02-line-art",
|
|
20
|
+
"heading": "线条动画 Line Art / Line Animation",
|
|
21
|
+
"shot": "ATELIER LINEA「一笔画 One Line」 · 1920×1080 · 30 fps · 10 秒 · AI 评审终评 7.64 / 10",
|
|
22
|
+
"prompt": "prompts/02-line-art.md",
|
|
23
|
+
"demos": [
|
|
24
|
+
"demos/02-line-art/cues.json",
|
|
25
|
+
"demos/02-line-art/film.js",
|
|
26
|
+
"demos/02-line-art/index.html",
|
|
27
|
+
"demos/02-line-art/tools/dump_timing.mjs"
|
|
28
|
+
]
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"slug": "03-isometric",
|
|
32
|
+
"heading": "等轴 2.5D Isometric / 2.5D",
|
|
33
|
+
"shot": "ISOPOLIS「让城市自己生长」 · 1920×1080 · 30 fps · 10 秒 · AI 评审终评 8.00 / 10",
|
|
34
|
+
"prompt": "prompts/03-isometric.md",
|
|
35
|
+
"demos": [
|
|
36
|
+
"demos/03-isometric/cues.json",
|
|
37
|
+
"demos/03-isometric/index.html",
|
|
38
|
+
"demos/03-isometric/js/anim.js",
|
|
39
|
+
"demos/03-isometric/js/main.js",
|
|
40
|
+
"demos/03-isometric/js/night5.js",
|
|
41
|
+
"demos/03-isometric/js/render.js",
|
|
42
|
+
"demos/03-isometric/js/title.js",
|
|
43
|
+
"demos/03-isometric/js/title5.js",
|
|
44
|
+
"demos/03-isometric/js/ui.js",
|
|
45
|
+
"demos/03-isometric/js/world.js"
|
|
46
|
+
]
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"slug": "05-cel-boil",
|
|
50
|
+
"heading": "逐帧手绘 / 线条沸腾 Cel Animation / Frame-by-Frame & Line Boil",
|
|
51
|
+
"shot": "手作 HAND MADE · 1920×1080 · 24 fps · 10 秒 · AI 评审终评 8.07 / 10",
|
|
52
|
+
"prompt": "prompts/05-cel-boil.md",
|
|
53
|
+
"demos": [
|
|
54
|
+
"demos/05-cel-boil/cues.json",
|
|
55
|
+
"demos/05-cel-boil/index.html",
|
|
56
|
+
"demos/05-cel-boil/js/engine.js",
|
|
57
|
+
"demos/05-cel-boil/js/scene.js"
|
|
58
|
+
]
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"slug": "06-collage",
|
|
62
|
+
"heading": "拼贴剪贴 Collage / Cutout Animation",
|
|
63
|
+
"shot": "NOGGIN 脑洞季刊「脑洞大开 The Mind Is a Collage」 · 1920×1080 · 30 fps · 10 秒 · AI 评审终评 8.14 / 10",
|
|
64
|
+
"prompt": "prompts/06-collage.md",
|
|
65
|
+
"demos": [
|
|
66
|
+
"demos/06-collage/assets/gen/layout.json",
|
|
67
|
+
"demos/06-collage/cues.json",
|
|
68
|
+
"demos/06-collage/index.html"
|
|
69
|
+
]
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"slug": "07-liquid",
|
|
73
|
+
"heading": "液态流动 Liquid Motion",
|
|
74
|
+
"shot": "drop.「万物始于一滴」 · 1920×1080 · 30 fps · 10 秒 · AI 评审终评 7.57 / 10",
|
|
75
|
+
"prompt": "prompts/07-liquid.md",
|
|
76
|
+
"demos": [
|
|
77
|
+
"demos/07-liquid/cues.json",
|
|
78
|
+
"demos/07-liquid/index.html",
|
|
79
|
+
"demos/07-liquid/js/engine.js",
|
|
80
|
+
"demos/07-liquid/js/links.js",
|
|
81
|
+
"demos/07-liquid/js/lookdev.js",
|
|
82
|
+
"demos/07-liquid/js/scene.js",
|
|
83
|
+
"demos/07-liquid/js/shaders.js",
|
|
84
|
+
"demos/07-liquid/js/textsdf.js",
|
|
85
|
+
"demos/07-liquid/js/type.js"
|
|
86
|
+
]
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"slug": "08-morph",
|
|
90
|
+
"heading": "形变动画 Morphing / Shape Morph",
|
|
91
|
+
"shot": "一形万象 One Shape, Every Story · 1920×1080 · 30 fps · 10 秒 · AI 评审终评 7.64 / 10",
|
|
92
|
+
"prompt": "prompts/08-morph.md",
|
|
93
|
+
"demos": [
|
|
94
|
+
"demos/08-morph/cues.json",
|
|
95
|
+
"demos/08-morph/glyphs.json",
|
|
96
|
+
"demos/08-morph/index.html"
|
|
97
|
+
]
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"slug": "09-bauhaus",
|
|
101
|
+
"heading": "几何构成 / 包豪斯 Geometric / Bauhaus Motion",
|
|
102
|
+
"shot": "KONSTRUKTION · 20 SCHLÄGE「二十拍构成」 · 1920×1080 · 30 fps · 10 秒 · AI 评审终评 7.71 / 10",
|
|
103
|
+
"prompt": "prompts/09-bauhaus.md",
|
|
104
|
+
"demos": [
|
|
105
|
+
"demos/09-bauhaus/cues.json",
|
|
106
|
+
"demos/09-bauhaus/film.js",
|
|
107
|
+
"demos/09-bauhaus/index.html"
|
|
108
|
+
]
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"slug": "10-synthwave",
|
|
112
|
+
"heading": "复古系(80s Synthwave / Y2K 千禧) Retro: 80s Synthwave / VHS / Y2K",
|
|
113
|
+
"shot": "NEON DRIVE · Midnight「霓虹夜驰 1986」 · 1920×1080 · 30 fps · 10 秒 · AI 评审终评 8.21 / 10",
|
|
114
|
+
"prompt": "prompts/10-synthwave.md",
|
|
115
|
+
"demos": [
|
|
116
|
+
"demos/10-synthwave/cues.json",
|
|
117
|
+
"demos/10-synthwave/index.html"
|
|
118
|
+
]
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"slug": "12-aurora-glass",
|
|
122
|
+
"heading": "弥散渐变 / 玻璃拟态 Gradient Blur (Aurora) & Glassmorphism",
|
|
123
|
+
"shot": "Aurora — think in light「思考,自有光」 · 1920×1080 · 30 fps · 10 秒 · AI 评审终评 8.07 / 10",
|
|
124
|
+
"prompt": "prompts/12-aurora-glass.md",
|
|
125
|
+
"demos": [
|
|
126
|
+
"demos/12-aurora-glass/cues.json",
|
|
127
|
+
"demos/12-aurora-glass/index.html",
|
|
128
|
+
"demos/12-aurora-glass/main.js",
|
|
129
|
+
"demos/12-aurora-glass/shaders.js"
|
|
130
|
+
]
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"slug": "18-hanazi",
|
|
134
|
+
"heading": "综艺花字 Variety Show Kinetic Captions (Hanazi)",
|
|
135
|
+
"shot": "喵呜日记 EP.07「今日份快乐」 · 1080×1920 · 30 fps · 10 秒 · AI 评审终评 7.64 / 10",
|
|
136
|
+
"prompt": "prompts/18-hanazi.md",
|
|
137
|
+
"demos": [
|
|
138
|
+
"demos/18-hanazi/cues.json",
|
|
139
|
+
"demos/18-hanazi/index.html"
|
|
140
|
+
]
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"slug": "19-paperclip",
|
|
144
|
+
"heading": "粗描边贴纸人科普 MG(回形针/林超风格) Bold-outline Sticker Explainer MG (PaperClip / Lin Chao style)",
|
|
145
|
+
"shot": "一部手机里,藏着多少种元素? 70/118 · 1920×1080 · 30 fps · 10 秒 · AI 评审终评 7.71 / 10",
|
|
146
|
+
"prompt": "prompts/19-paperclip.md",
|
|
147
|
+
"demos": [
|
|
148
|
+
"demos/19-paperclip/assets/countries-110m.json",
|
|
149
|
+
"demos/19-paperclip/assets/stickers/meta.json",
|
|
150
|
+
"demos/19-paperclip/cues.json",
|
|
151
|
+
"demos/19-paperclip/index.html"
|
|
152
|
+
]
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"slug": "20-pixel",
|
|
156
|
+
"heading": "像素风 Pixel Art / 8-bit",
|
|
157
|
+
"shot": "PIXEL QUEST 像素冒险 · 1920×1080 · 30 fps · 10 秒 · AI 评审终评 8.07 / 10",
|
|
158
|
+
"prompt": "prompts/20-pixel.md",
|
|
159
|
+
"demos": [
|
|
160
|
+
"demos/20-pixel/cues.json",
|
|
161
|
+
"demos/20-pixel/film.js",
|
|
162
|
+
"demos/20-pixel/index.html"
|
|
163
|
+
]
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"slug": "22-hud",
|
|
167
|
+
"heading": "赛博朋克 HUD / FUI Cyberpunk HUD / FUI (Fictional UI)",
|
|
168
|
+
"shot": "隼眼-9 · 目标锁定 KESTREL-9 TARGET ACQUIRED · 1920×1080 · 30 fps · 10 秒 · AI 评审终评 7.93 / 10",
|
|
169
|
+
"prompt": "prompts/22-hud.md",
|
|
170
|
+
"demos": [
|
|
171
|
+
"demos/22-hud/cues.json",
|
|
172
|
+
"demos/22-hud/index.html",
|
|
173
|
+
"demos/22-hud/js/holo.js",
|
|
174
|
+
"demos/22-hud/js/hud.js",
|
|
175
|
+
"demos/22-hud/js/post.js",
|
|
176
|
+
"demos/22-hud/js/util.js",
|
|
177
|
+
"demos/22-hud/js/v5.js"
|
|
178
|
+
]
|
|
179
|
+
}
|
|
180
|
+
],
|
|
181
|
+
"files": {
|
|
182
|
+
"README.md": "2729498daeeaf5a7bc0a31059a28d20e6bd6ce737df3612a8c7760020adbd8bc",
|
|
183
|
+
"README.zh-CN.md": "672872ef31e6a1f1ac9f95067e32507a07a3b866e6dd0cf1a8b8a08e492a5843",
|
|
184
|
+
"rubric.md": "1cb93025d54407317c15005ad58bd47389baa9532f4ed359161247fb0def375a",
|
|
185
|
+
"template.md": "258709df6bfe71a53a1f9e05d6a130dece77751e667e096ed91d9809aaa24370",
|
|
186
|
+
"harness/render.mjs": "cdab5828c8dc6ef81a6e295dd4c3b8ec85a7c4aa6fa695266eff02a6b849933f",
|
|
187
|
+
"prompts/01-flat-vector.md": "0599f4dadbc163066d70e5b98afa190a5580ee00e14bd1ce3473ce8f14c48cf3",
|
|
188
|
+
"demos/01-flat-vector/cues.json": "7f215e5413f0f22766f7db0a046dbd10222a90b208d591a641ed0ec454d12d3a",
|
|
189
|
+
"demos/01-flat-vector/index.html": "0f30e342c58bbcf3316d1e7cc3763055e247d1d4fdbcf1f1cef650c0be0bf66e",
|
|
190
|
+
"prompts/02-line-art.md": "1e61c9fcf80059a20029516f3d0fd016e849d98bb69bdcbf8b63a9e53759d3ce",
|
|
191
|
+
"demos/02-line-art/cues.json": "66bcec8ddafbded69832ef8947d643336054d90ecf282df3e3de35bad9cc15d9",
|
|
192
|
+
"demos/02-line-art/film.js": "4227fb400377a124ea3f874b6fb66d03c5918e20702274958ab1de1846e97448",
|
|
193
|
+
"demos/02-line-art/index.html": "b550add4f153964817af82943c59f31a1df539e186537601ffb8c9badaac5ddb",
|
|
194
|
+
"demos/02-line-art/tools/dump_timing.mjs": "c62e777cf6aa91507f371c4e9d18942a75f90b9834c449c5f3f88a45818ca904",
|
|
195
|
+
"prompts/03-isometric.md": "5ace3ffa0d9e4a4a701ae442c102762fcd922229003d675a48f4aa5eb54011e2",
|
|
196
|
+
"demos/03-isometric/cues.json": "5619858ffdb9ef0e8110d53a90dc24418602b41bd7708c698e9828d9e9dda6e9",
|
|
197
|
+
"demos/03-isometric/index.html": "7b19eedbf79e452180c5641fa7ea459382a6c5adc644999ee66b80828530b4f6",
|
|
198
|
+
"demos/03-isometric/js/anim.js": "244b83e8090cf49d3d6d803390fcace7b442dc61363e37b61736b00a4800f5ed",
|
|
199
|
+
"demos/03-isometric/js/main.js": "ddbffbe057b88a0cda98932ba793ddbe26be6ac37c99fe7fa63e165cc4750d5a",
|
|
200
|
+
"demos/03-isometric/js/night5.js": "53bdffdf92ae8c883bf81e020d123bbe913eb0c68014762a8c14f451b94efa53",
|
|
201
|
+
"demos/03-isometric/js/render.js": "646086cbe389bab4b0c168b5bf5a7d0a628aee8568ec3996fbf6addfe60950d0",
|
|
202
|
+
"demos/03-isometric/js/title.js": "b9fb0e4dbf8b7f054ab263c22f85c55e6a45d865fe0287ec6985b0ddc4d88a52",
|
|
203
|
+
"demos/03-isometric/js/title5.js": "5725ab88eb188b54701343836cd00b475b4dc640b4ae5573699788e7219a4c79",
|
|
204
|
+
"demos/03-isometric/js/ui.js": "e915b89d461b840e10c986948e32667bb2dd263f2c5bf120db8654aa3f9d2f9d",
|
|
205
|
+
"demos/03-isometric/js/world.js": "7542ccf4bae1436da30594ef8ce62ce8f2f4fb13a833dce77cff70f06aac3da6",
|
|
206
|
+
"prompts/05-cel-boil.md": "ec64b2dea47a557f8506f3e913d2b7a3e4e0efddf9bf0309ffdea40e9116dd68",
|
|
207
|
+
"demos/05-cel-boil/cues.json": "a2155fa2ce253b492bf566223b56ed06d75a9045d0e377fabfbb199a6811415d",
|
|
208
|
+
"demos/05-cel-boil/index.html": "3f50e10ce0cd152f67ebf140f75752c1964cb9edefd6d5f336dd8042e9f03845",
|
|
209
|
+
"demos/05-cel-boil/js/engine.js": "806ccc3d962d94bb8b4f8c1b78ef68297d36206cd47cce02cf51826f7b643b56",
|
|
210
|
+
"demos/05-cel-boil/js/scene.js": "c26e7f9119d0e74e28cc3159deb496ff161f66a426829871ef76b9b2bc98e250",
|
|
211
|
+
"prompts/06-collage.md": "556478d4122d1db0535656998f64da8d1805505b14c9eb623f002d3b6aef688d",
|
|
212
|
+
"demos/06-collage/assets/gen/layout.json": "63eb41f5b30a692e76fe7789b0346a75557280ba2e1c2927651ec755c28748b1",
|
|
213
|
+
"demos/06-collage/cues.json": "d9fdceb8a1da9610d5d82b190c61d9e87e4d9afa5e92915584717c1b384ff35c",
|
|
214
|
+
"demos/06-collage/index.html": "1ce00a0c261735d1fb7338a69b82ffe167cf750e723a27e6e21ec7d53c08c6c4",
|
|
215
|
+
"prompts/07-liquid.md": "7c41e4409bf83fdb8a53ceae1dafd90efc72b2fb1d42654e30f294169ecee379",
|
|
216
|
+
"demos/07-liquid/cues.json": "db61987daf4e1d4cbea376db8c5c6cf0ce8f0bb589d0330353dadb47a06a3686",
|
|
217
|
+
"demos/07-liquid/index.html": "81b4aaa0a699f059529b52b0c87ca06ff1872fab09fc1e50f13b8a5a5fd934d6",
|
|
218
|
+
"demos/07-liquid/js/engine.js": "ba0b5765f838a83ed5b802715c38ffe2726203a81840f72fc93f1a63e7695f1b",
|
|
219
|
+
"demos/07-liquid/js/links.js": "1215809dbedf931d07bd3adbf85515796b1825d38248664a948ae397a23021ab",
|
|
220
|
+
"demos/07-liquid/js/lookdev.js": "6217d80bdf31cf40967735101729026a70b51d9c2c5a6edee79c29431c8f8e62",
|
|
221
|
+
"demos/07-liquid/js/scene.js": "9502f66dc168e18a854108ef5a887ac3afedfc92e22b616d6b8383c0be207614",
|
|
222
|
+
"demos/07-liquid/js/shaders.js": "1860d08aeaad016c95b9ced19963272ca1cedd85fcc56b53345c4efa158c44ed",
|
|
223
|
+
"demos/07-liquid/js/textsdf.js": "380c4b90b0e19db237e51dd41385551f8bf17a6206c3c52737bb7835e11924df",
|
|
224
|
+
"demos/07-liquid/js/type.js": "06be4083a7cd8593cac00cf6bf11e022d0be5649eadf1b68e9070838cab5cb69",
|
|
225
|
+
"prompts/08-morph.md": "75c9e2bb8ca1edbba5686b431ff85e5ee99be1188e84184d9a105e12c0da63aa",
|
|
226
|
+
"demos/08-morph/cues.json": "d81d38be1a6712e65a185d12a91642f77bb7e74325e3b678941dc9bddc4f89c0",
|
|
227
|
+
"demos/08-morph/glyphs.json": "548ad1315f89f747271280655972bc7e783261a799666eeb7c70db87c17d7248",
|
|
228
|
+
"demos/08-morph/index.html": "4d104505425b3cc991e9b7b49c8bb3b653a1a5da471d0bce5ccca347d77ce62d",
|
|
229
|
+
"prompts/09-bauhaus.md": "061828b54389f932f7914bdbc6e5afc25c394a401bcdf06111b7f4687d9f89f5",
|
|
230
|
+
"demos/09-bauhaus/cues.json": "c8a67c33b5f3c0a574759a201bfc602a43a024ebf9ca930d7fdd5b418af006e4",
|
|
231
|
+
"demos/09-bauhaus/film.js": "1a7bd377ae13f5b04476fe085f55dc8ed9a9ec8d940881bc78aeee0144edf395",
|
|
232
|
+
"demos/09-bauhaus/index.html": "94855c63ee1a2d38a3811e65f5c9351f525c6a53b68a20edb891027bfb7c0740",
|
|
233
|
+
"prompts/10-synthwave.md": "a12b216b68afc2fbe51cfe1a410b6eebd71b5cc82f42a2e8c5ca0d85de8747d5",
|
|
234
|
+
"demos/10-synthwave/cues.json": "49d124ba0b429c69f86f11200de1bf7889a9b0a8076f0e01c120e911921cdeae",
|
|
235
|
+
"demos/10-synthwave/index.html": "60603876aa00a08901c085c0834b991895971a40a9c73fda4a0ae10b18b37e91",
|
|
236
|
+
"prompts/12-aurora-glass.md": "c5e68258e5ae0a5e1c5c3a05c4651a9efb5472da6098f17d468442382b3004b3",
|
|
237
|
+
"demos/12-aurora-glass/cues.json": "3f8d6f7be6bb2f9453ae54fe4253b3cbd4033cb029a6c566169d7b0b8e91e201",
|
|
238
|
+
"demos/12-aurora-glass/index.html": "0def2223e6949e21fa38093cb6d54752d6606e4edde3ae44b5f52ae05ddd223b",
|
|
239
|
+
"demos/12-aurora-glass/main.js": "18553afb83a9c4c95f7f4c8a996fc816245a9b9e0d218b8bd9bd912ec785b6d6",
|
|
240
|
+
"demos/12-aurora-glass/shaders.js": "a912e968e5c90f25f3919adf572d4fd11231a661eb3b2bd3d1d22db6cf954c59",
|
|
241
|
+
"prompts/18-hanazi.md": "7d6bc0e6e3712778a2ed849fab1a358055d2dfc88cbddc1a27b5694c2f25be69",
|
|
242
|
+
"demos/18-hanazi/cues.json": "643e92bd1734b7cca012ed5c35fa1d3eea39c817f57f3cc0b82e5e1e74f848ba",
|
|
243
|
+
"demos/18-hanazi/index.html": "8207f8800f0d5d0189a2ab13c5da1c048578aba47110219ff473a792f3ba1f63",
|
|
244
|
+
"prompts/19-paperclip.md": "808ccae55d57005eefdc78c06007bc324195063faac80d8c47136ff050b4ea05",
|
|
245
|
+
"demos/19-paperclip/assets/countries-110m.json": "2516c915867c7baf18ddec727aec46c315541a07cfb3d79a6559b05d5e94eee8",
|
|
246
|
+
"demos/19-paperclip/assets/stickers/meta.json": "4d97dcb5c9b4c8ac615e7c3aee594c862df839419b1bbfe85ea4dfa3ad42b222",
|
|
247
|
+
"demos/19-paperclip/cues.json": "acd1fff4792684b3d191b96bb5f9201142b90cf2a5c780e5e0c90a3d1a6fe3c8",
|
|
248
|
+
"demos/19-paperclip/index.html": "2d50ad0b67c9472557cad5fa60dc27932e6a4fba09c370f267f51e311eeef4b4",
|
|
249
|
+
"prompts/20-pixel.md": "6eeeb3d60c6a0a1a52417bc6e71c5600113cb62202a623b408460485c96fa9ef",
|
|
250
|
+
"demos/20-pixel/cues.json": "64942f482552d900ac4f2aeddc0180d4e6dab3a2128d57c5ead4b029567ed707",
|
|
251
|
+
"demos/20-pixel/film.js": "a11af2464b63b7a3612989425109c219e6a5f59a35d48506e306dc6f24aba4f4",
|
|
252
|
+
"demos/20-pixel/index.html": "282203861cdd3e9007ede9cfce783a5f5942421d645e160ad505f9c098a8a856",
|
|
253
|
+
"prompts/22-hud.md": "42e7ba11855ecba90ab9bea4f6963d56f725dbbfd32ff637daebf9428fabb2c9",
|
|
254
|
+
"demos/22-hud/cues.json": "b5219e1cd06a319e4a004264ddd55a514d17810ab9fa6cb023b81b9fa4030d39",
|
|
255
|
+
"demos/22-hud/index.html": "eefb5aa96fddf47e84efbd9000e521a6b8e7908a7be20f4f42ed14586f0113b2",
|
|
256
|
+
"demos/22-hud/js/holo.js": "992031478d3f55cef7bf247146efabeb60c4429f7dd812273820ed87b55c4afb",
|
|
257
|
+
"demos/22-hud/js/hud.js": "751c05b15e65474b89f55346587c85e9215317e900ecc64a0fce451827ee1c88",
|
|
258
|
+
"demos/22-hud/js/post.js": "672ce9b4a1da6f59f2d65bb1f8e337851b7893553dc250aad2192388a0711a53",
|
|
259
|
+
"demos/22-hud/js/util.js": "7ec7a52b27659de843f72f65ad4dbfc07e217f528bba5bbff69b31b4293081db",
|
|
260
|
+
"demos/22-hud/js/v5.js": "af2cf92f176962361826fc84593241805628afdf13ca9e88e023712dc6626fcb"
|
|
261
|
+
},
|
|
262
|
+
"removedStyles": [
|
|
263
|
+
{
|
|
264
|
+
"slug": "04-3d-render",
|
|
265
|
+
"heading": "3D 渲染系(C4D/Blender 质感) 3D Render / CGI Motion Design",
|
|
266
|
+
"reason": "画面是 Blender 离线渲的 CGI 质感,插件里没有能出同等质感的等价物(拿 DOM 滤镜凑只会更假)。"
|
|
267
|
+
}
|
|
268
|
+
]
|
|
269
|
+
}
|