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.
Files changed (533) hide show
  1. package/LICENSE +4142 -0
  2. package/README.md +43 -10
  3. package/lib/audio-media.js +147 -0
  4. package/lib/audio-service.js +66 -0
  5. package/lib/canvas-format.js +134 -0
  6. package/lib/client.js +5075 -181
  7. package/lib/comfyui-default-workflow.mjs +1825 -0
  8. package/lib/comfyui-workflow.mjs +426 -0
  9. package/lib/document-commands.js +12 -0
  10. package/lib/document-core.js +29 -0
  11. package/lib/drawing-tasks.js +26 -0
  12. package/lib/imagegen.mjs +596 -0
  13. package/lib/index.js +1758 -129
  14. package/lib/media.js +26 -13
  15. package/lib/mgstyle-core.js +75 -0
  16. package/lib/motion/apply.js +180 -0
  17. package/lib/motion/asset-pack-lock.js +10 -0
  18. package/lib/motion/asset-pack.js +335 -0
  19. package/lib/motion/assets.js +290 -0
  20. package/lib/motion/audio.js +103 -0
  21. package/lib/motion/audiolevel.js +63 -0
  22. package/lib/motion/audiomix.js +144 -0
  23. package/lib/motion/beats.js +337 -0
  24. package/lib/motion/builtin-assets.js +62 -0
  25. package/lib/motion/canvas-spec.js +442 -0
  26. package/lib/motion/capture.js +95 -0
  27. package/lib/motion/cards.js +80 -0
  28. package/lib/motion/collect.js +447 -0
  29. package/lib/motion/delivery.js +112 -0
  30. package/lib/motion/edge-speech.py +90 -0
  31. package/lib/motion/entry.jsx +73 -0
  32. package/lib/motion/export.js +200 -0
  33. package/lib/motion/ffmpeg.js +42 -0
  34. package/lib/motion/fonts.js +71 -0
  35. package/lib/motion/jobs.js +113 -0
  36. package/lib/motion/json.js +4 -0
  37. package/lib/motion/media-catalog.js +59 -0
  38. package/lib/motion/mgstyles/BRIEF-TEMPLATE.md +63 -0
  39. package/lib/motion/mgstyles/briefs/01-flat-vector.md +104 -0
  40. package/lib/motion/mgstyles/briefs/02-line-art.md +97 -0
  41. package/lib/motion/mgstyles/briefs/03-isometric.md +108 -0
  42. package/lib/motion/mgstyles/briefs/05-cel-boil.md +145 -0
  43. package/lib/motion/mgstyles/briefs/06-collage.md +149 -0
  44. package/lib/motion/mgstyles/briefs/07-liquid.md +106 -0
  45. package/lib/motion/mgstyles/briefs/08-morph.md +111 -0
  46. package/lib/motion/mgstyles/briefs/09-bauhaus.md +150 -0
  47. package/lib/motion/mgstyles/briefs/10-synthwave.md +151 -0
  48. package/lib/motion/mgstyles/briefs/12-aurora-glass.md +147 -0
  49. package/lib/motion/mgstyles/briefs/18-hanazi.md +140 -0
  50. package/lib/motion/mgstyles/briefs/19-paperclip.md +156 -0
  51. package/lib/motion/mgstyles/briefs/20-pixel.md +118 -0
  52. package/lib/motion/mgstyles/briefs/22-hud.md +118 -0
  53. package/lib/motion/mgstyles/catalog.d/01-flat-vector.json +34 -0
  54. package/lib/motion/mgstyles/catalog.d/02-line-art.json +34 -0
  55. package/lib/motion/mgstyles/catalog.d/03-isometric.json +35 -0
  56. package/lib/motion/mgstyles/catalog.d/05-cel-boil.json +28 -0
  57. package/lib/motion/mgstyles/catalog.d/06-collage.json +28 -0
  58. package/lib/motion/mgstyles/catalog.d/07-liquid.json +28 -0
  59. package/lib/motion/mgstyles/catalog.d/08-morph.json +28 -0
  60. package/lib/motion/mgstyles/catalog.d/09-bauhaus.json +28 -0
  61. package/lib/motion/mgstyles/catalog.d/10-synthwave.json +28 -0
  62. package/lib/motion/mgstyles/catalog.d/12-aurora-glass.json +28 -0
  63. package/lib/motion/mgstyles/catalog.d/18-hanazi.json +28 -0
  64. package/lib/motion/mgstyles/catalog.d/19-paperclip.json +28 -0
  65. package/lib/motion/mgstyles/catalog.d/20-pixel.json +28 -0
  66. package/lib/motion/mgstyles/catalog.d/22-hud.json +28 -0
  67. package/lib/motion/mgstyles/catalog.json +1356 -0
  68. package/lib/motion/mgstyles/upstream/README.md +147 -0
  69. package/lib/motion/mgstyles/upstream/README.zh-CN.md +147 -0
  70. package/lib/motion/mgstyles/upstream/demos/01-flat-vector/cues.json +1 -0
  71. package/lib/motion/mgstyles/upstream/demos/01-flat-vector/index.html +712 -0
  72. package/lib/motion/mgstyles/upstream/demos/02-line-art/cues.json +331 -0
  73. package/lib/motion/mgstyles/upstream/demos/02-line-art/film.js +676 -0
  74. package/lib/motion/mgstyles/upstream/demos/02-line-art/index.html +18 -0
  75. package/lib/motion/mgstyles/upstream/demos/02-line-art/tools/dump_timing.mjs +26 -0
  76. package/lib/motion/mgstyles/upstream/demos/03-isometric/cues.json +109 -0
  77. package/lib/motion/mgstyles/upstream/demos/03-isometric/index.html +25 -0
  78. package/lib/motion/mgstyles/upstream/demos/03-isometric/js/anim.js +82 -0
  79. package/lib/motion/mgstyles/upstream/demos/03-isometric/js/main.js +219 -0
  80. package/lib/motion/mgstyles/upstream/demos/03-isometric/js/night5.js +180 -0
  81. package/lib/motion/mgstyles/upstream/demos/03-isometric/js/render.js +202 -0
  82. package/lib/motion/mgstyles/upstream/demos/03-isometric/js/title.js +167 -0
  83. package/lib/motion/mgstyles/upstream/demos/03-isometric/js/title5.js +294 -0
  84. package/lib/motion/mgstyles/upstream/demos/03-isometric/js/ui.js +141 -0
  85. package/lib/motion/mgstyles/upstream/demos/03-isometric/js/world.js +1399 -0
  86. package/lib/motion/mgstyles/upstream/demos/05-cel-boil/cues.json +157 -0
  87. package/lib/motion/mgstyles/upstream/demos/05-cel-boil/index.html +34 -0
  88. package/lib/motion/mgstyles/upstream/demos/05-cel-boil/js/engine.js +326 -0
  89. package/lib/motion/mgstyles/upstream/demos/05-cel-boil/js/scene.js +2036 -0
  90. package/lib/motion/mgstyles/upstream/demos/06-collage/assets/gen/layout.json +157 -0
  91. package/lib/motion/mgstyles/upstream/demos/06-collage/cues.json +80 -0
  92. package/lib/motion/mgstyles/upstream/demos/06-collage/index.html +889 -0
  93. package/lib/motion/mgstyles/upstream/demos/07-liquid/cues.json +100 -0
  94. package/lib/motion/mgstyles/upstream/demos/07-liquid/index.html +108 -0
  95. package/lib/motion/mgstyles/upstream/demos/07-liquid/js/engine.js +153 -0
  96. package/lib/motion/mgstyles/upstream/demos/07-liquid/js/links.js +64 -0
  97. package/lib/motion/mgstyles/upstream/demos/07-liquid/js/lookdev.js +46 -0
  98. package/lib/motion/mgstyles/upstream/demos/07-liquid/js/scene.js +963 -0
  99. package/lib/motion/mgstyles/upstream/demos/07-liquid/js/shaders.js +647 -0
  100. package/lib/motion/mgstyles/upstream/demos/07-liquid/js/textsdf.js +114 -0
  101. package/lib/motion/mgstyles/upstream/demos/07-liquid/js/type.js +50 -0
  102. package/lib/motion/mgstyles/upstream/demos/08-morph/cues.json +131 -0
  103. package/lib/motion/mgstyles/upstream/demos/08-morph/glyphs.json +1 -0
  104. package/lib/motion/mgstyles/upstream/demos/08-morph/index.html +901 -0
  105. package/lib/motion/mgstyles/upstream/demos/09-bauhaus/cues.json +270 -0
  106. package/lib/motion/mgstyles/upstream/demos/09-bauhaus/film.js +697 -0
  107. package/lib/motion/mgstyles/upstream/demos/09-bauhaus/index.html +12 -0
  108. package/lib/motion/mgstyles/upstream/demos/10-synthwave/cues.json +44 -0
  109. package/lib/motion/mgstyles/upstream/demos/10-synthwave/index.html +1028 -0
  110. package/lib/motion/mgstyles/upstream/demos/12-aurora-glass/cues.json +67 -0
  111. package/lib/motion/mgstyles/upstream/demos/12-aurora-glass/index.html +16 -0
  112. package/lib/motion/mgstyles/upstream/demos/12-aurora-glass/main.js +967 -0
  113. package/lib/motion/mgstyles/upstream/demos/12-aurora-glass/shaders.js +468 -0
  114. package/lib/motion/mgstyles/upstream/demos/18-hanazi/cues.json +117 -0
  115. package/lib/motion/mgstyles/upstream/demos/18-hanazi/index.html +541 -0
  116. package/lib/motion/mgstyles/upstream/demos/19-paperclip/assets/countries-110m.json +1 -0
  117. package/lib/motion/mgstyles/upstream/demos/19-paperclip/assets/stickers/meta.json +34 -0
  118. package/lib/motion/mgstyles/upstream/demos/19-paperclip/cues.json +285 -0
  119. package/lib/motion/mgstyles/upstream/demos/19-paperclip/index.html +599 -0
  120. package/lib/motion/mgstyles/upstream/demos/20-pixel/cues.json +42 -0
  121. package/lib/motion/mgstyles/upstream/demos/20-pixel/film.js +914 -0
  122. package/lib/motion/mgstyles/upstream/demos/20-pixel/index.html +18 -0
  123. package/lib/motion/mgstyles/upstream/demos/22-hud/cues.json +108 -0
  124. package/lib/motion/mgstyles/upstream/demos/22-hud/index.html +125 -0
  125. package/lib/motion/mgstyles/upstream/demos/22-hud/js/holo.js +275 -0
  126. package/lib/motion/mgstyles/upstream/demos/22-hud/js/hud.js +855 -0
  127. package/lib/motion/mgstyles/upstream/demos/22-hud/js/post.js +150 -0
  128. package/lib/motion/mgstyles/upstream/demos/22-hud/js/util.js +65 -0
  129. package/lib/motion/mgstyles/upstream/demos/22-hud/js/v5.js +142 -0
  130. package/lib/motion/mgstyles/upstream/harness/render.mjs +319 -0
  131. package/lib/motion/mgstyles/upstream/manifest.json +269 -0
  132. package/lib/motion/mgstyles/upstream/prompts/01-flat-vector.md +98 -0
  133. package/lib/motion/mgstyles/upstream/prompts/02-line-art.md +95 -0
  134. package/lib/motion/mgstyles/upstream/prompts/03-isometric.md +97 -0
  135. package/lib/motion/mgstyles/upstream/prompts/05-cel-boil.md +95 -0
  136. package/lib/motion/mgstyles/upstream/prompts/06-collage.md +95 -0
  137. package/lib/motion/mgstyles/upstream/prompts/07-liquid.md +98 -0
  138. package/lib/motion/mgstyles/upstream/prompts/08-morph.md +95 -0
  139. package/lib/motion/mgstyles/upstream/prompts/09-bauhaus.md +96 -0
  140. package/lib/motion/mgstyles/upstream/prompts/10-synthwave.md +95 -0
  141. package/lib/motion/mgstyles/upstream/prompts/12-aurora-glass.md +96 -0
  142. package/lib/motion/mgstyles/upstream/prompts/18-hanazi.md +95 -0
  143. package/lib/motion/mgstyles/upstream/prompts/19-paperclip.md +96 -0
  144. package/lib/motion/mgstyles/upstream/prompts/20-pixel.md +96 -0
  145. package/lib/motion/mgstyles/upstream/prompts/22-hud.md +95 -0
  146. package/lib/motion/mgstyles/upstream/rubric.md +51 -0
  147. package/lib/motion/mgstyles/upstream/template.md +36 -0
  148. package/lib/motion/pixelqa.js +198 -0
  149. package/lib/motion/preview.js +95 -0
  150. package/lib/motion/project.js +395 -0
  151. package/lib/motion/qa.js +290 -0
  152. package/lib/motion/reference-media.jsx +10 -0
  153. package/lib/motion/render-settings.js +112 -0
  154. package/lib/motion/render.js +159 -0
  155. package/lib/motion/scene-kit.js +183 -0
  156. package/lib/motion/sfx.js +232 -0
  157. package/lib/motion/shotcraft/ClipCard.tsx +204 -0
  158. package/lib/motion/shotcraft/catalog.json +2461 -0
  159. package/lib/motion/shotcraft/upstream/SKILL.md +286 -0
  160. package/lib/motion/shotcraft/upstream/assets/lib/Caption.tsx +54 -0
  161. package/lib/motion/shotcraft/upstream/assets/lib/ClipCard.tsx +200 -0
  162. package/lib/motion/shotcraft/upstream/assets/lib/DigitRoll.tsx +45 -0
  163. package/lib/motion/shotcraft/upstream/assets/lib/FlashCut.tsx +20 -0
  164. package/lib/motion/shotcraft/upstream/assets/lib/FlatPanel.tsx +65 -0
  165. package/lib/motion/shotcraft/upstream/assets/lib/PageCam.tsx +151 -0
  166. package/lib/motion/shotcraft/upstream/assets/lib/VerticalTicker.tsx +129 -0
  167. package/lib/motion/shotcraft/upstream/assets/lib/helpers/camera.tsx +75 -0
  168. package/lib/motion/shotcraft/upstream/assets/lib/helpers/motion.ts +40 -0
  169. package/lib/motion/shotcraft/upstream/assets/lib/helpers/rand.ts +11 -0
  170. package/lib/motion/shotcraft/upstream/assets/lib/helpers/shake.ts +10 -0
  171. package/lib/motion/shotcraft/upstream/assets/scripts/__pycache__/sfx-source.cpython-313.pyc +0 -0
  172. package/lib/motion/shotcraft/upstream/assets/scripts/build-readme-cover.mjs +49 -0
  173. package/lib/motion/shotcraft/upstream/assets/scripts/capture-template.mjs +210 -0
  174. package/lib/motion/shotcraft/upstream/assets/scripts/sfx-source.py +423 -0
  175. package/lib/motion/shotcraft/upstream/assets/scripts/smoke-render-demos.py +170 -0
  176. package/lib/motion/shotcraft/upstream/assets/scripts/test_sfx_source.py +157 -0
  177. package/lib/motion/shotcraft/upstream/demos/README.md +120 -0
  178. package/lib/motion/shotcraft/upstream/demos/_fixtures/Brand.tsx +112 -0
  179. package/lib/motion/shotcraft/upstream/demos/_fixtures/Fixtures.tsx +647 -0
  180. package/lib/motion/shotcraft/upstream/demos/_fixtures/Look.tsx +316 -0
  181. package/lib/motion/shotcraft/upstream/demos/_fixtures/Motion.tsx +82 -0
  182. package/lib/motion/shotcraft/upstream/demos/_fixtures/PageCam2D.tsx +115 -0
  183. package/lib/motion/shotcraft/upstream/demos/_fixtures/Polish.tsx +243 -0
  184. package/lib/motion/shotcraft/upstream/demos/_textures/live-layout.json +389 -0
  185. package/lib/motion/shotcraft/upstream/demos/camera/basic-3d-scene/Basic3DScene.tsx +250 -0
  186. package/lib/motion/shotcraft/upstream/demos/camera/crash-zoom-punch/CrashImpactReal.tsx +305 -0
  187. package/lib/motion/shotcraft/upstream/demos/camera/crash-zoom-punch/CrashZoomReal.tsx +246 -0
  188. package/lib/motion/shotcraft/upstream/demos/camera/cursor-flyover/CursorFlyover.tsx +390 -0
  189. package/lib/motion/shotcraft/upstream/demos/camera/depth-layer-moves/MultiplaneReal.tsx +138 -0
  190. package/lib/motion/shotcraft/upstream/demos/camera/graze-face-tour/GrazeFaceTour.tsx +542 -0
  191. package/lib/motion/shotcraft/upstream/demos/camera/overhead-camera-moves/OverheadTabletopDrop.tsx +315 -0
  192. package/lib/motion/shotcraft/upstream/demos/camera/overhead-camera-moves/TiltReveal.tsx +299 -0
  193. package/lib/motion/shotcraft/upstream/demos/camera/space-camera-moves/DroneDiveLanding.tsx +173 -0
  194. package/lib/motion/shotcraft/upstream/demos/camera/space-camera-moves/ExplodedView.tsx +348 -0
  195. package/lib/motion/shotcraft/upstream/demos/camera/steep-tilt-glide/SteepTiltGlide.tsx +366 -0
  196. package/lib/motion/shotcraft/upstream/demos/camera/tension-camera-moves/BulletTimeFreezeOrbit.tsx +279 -0
  197. package/lib/motion/shotcraft/upstream/demos/camera/tension-camera-moves/PullBackIsolation.tsx +184 -0
  198. package/lib/motion/shotcraft/upstream/demos/camera/terminal-3d/Terminal3D.tsx +390 -0
  199. package/lib/motion/shotcraft/upstream/demos/data/before-after-slider-scrub/BeforeAfterSliderScrub.tsx +155 -0
  200. package/lib/motion/shotcraft/upstream/demos/data/chart-live-moves/AxisRescaleShockV2.tsx +303 -0
  201. package/lib/motion/shotcraft/upstream/demos/data/chart-live-moves/OscilloscopeStreamV2.tsx +290 -0
  202. package/lib/motion/shotcraft/upstream/demos/data/chart-live-moves/UnitDotSwarmRegroupV2.tsx +278 -0
  203. package/lib/motion/shotcraft/upstream/demos/data/gauge-readout-moves/NeedleSweepSelftest.tsx +307 -0
  204. package/lib/motion/shotcraft/upstream/demos/data/gauge-readout-moves/TapeScrollFixedPointer.tsx +215 -0
  205. package/lib/motion/shotcraft/upstream/demos/data/scroll-brake-moves/BrakeReticleLock.tsx +299 -0
  206. package/lib/motion/shotcraft/upstream/demos/data/scroll-brake-moves/ChangelogScrollBrake.tsx +232 -0
  207. package/lib/motion/shotcraft/upstream/demos/data/timeline-travel/TimelineTravel.tsx +290 -0
  208. package/lib/motion/shotcraft/upstream/demos/effects/assemble-then-type-flyin/AssembleThenTypeFlyin.tsx +273 -0
  209. package/lib/motion/shotcraft/upstream/demos/effects/aurora-bloom-bg-flip/AuroraBloomBgFlip.tsx +167 -0
  210. package/lib/motion/shotcraft/upstream/demos/effects/brand-frame-snap/BrandFrameSnap.tsx +536 -0
  211. package/lib/motion/shotcraft/upstream/demos/effects/fui-hud-moves/ReticleLockOn.tsx +164 -0
  212. package/lib/motion/shotcraft/upstream/demos/effects/glow-flyline-moves/FlylineArc.tsx +175 -0
  213. package/lib/motion/shotcraft/upstream/demos/effects/glow-flyline-moves/GlowOrbAmbient.tsx +197 -0
  214. package/lib/motion/shotcraft/upstream/demos/effects/glow-flyline-moves/OrbFlylineRelay.tsx +241 -0
  215. package/lib/motion/shotcraft/upstream/demos/effects/icon-performance-moves/AttentionBounce.tsx +279 -0
  216. package/lib/motion/shotcraft/upstream/demos/effects/impact-feedback/AnimeImpact.tsx +230 -0
  217. package/lib/motion/shotcraft/upstream/demos/effects/impact-feedback/HitCounter.tsx +345 -0
  218. package/lib/motion/shotcraft/upstream/demos/effects/light-play-moves/SheenSweepRetry.tsx +275 -0
  219. package/lib/motion/shotcraft/upstream/demos/effects/light-play-moves/SpotlightSweepReveal.tsx +229 -0
  220. package/lib/motion/shotcraft/upstream/demos/effects/radial-ripple-phone-chips/RadialRipplePhoneChips.tsx +312 -0
  221. package/lib/motion/shotcraft/upstream/demos/effects/riso-print-hits/RisoMisregistrationHit.tsx +222 -0
  222. package/lib/motion/shotcraft/upstream/demos/effects/scan-bracket-sweep/ScanBracketSweep.tsx +295 -0
  223. package/lib/motion/shotcraft/upstream/demos/effects/scanline-annotate-focus/ScanlineAnnotateFocus.tsx +329 -0
  224. package/lib/motion/shotcraft/upstream/demos/effects/scanline-assemble-flyin/ScanlineAssembleFlyin.tsx +315 -0
  225. package/lib/motion/shotcraft/upstream/demos/effects/slam-entrance-moves/ImpactBurstKit.tsx +264 -0
  226. package/lib/motion/shotcraft/upstream/demos/effects/slam-entrance-moves/KanadaPerspectiveSnap.tsx +260 -0
  227. package/lib/motion/shotcraft/upstream/demos/effects/slam-entrance-moves/ScoreSlam.tsx +263 -0
  228. package/lib/motion/shotcraft/upstream/demos/effects/spotlight-sweep-moves/CornerSpotlightReveal.tsx +123 -0
  229. package/lib/motion/shotcraft/upstream/demos/effects/spotlight-sweep-moves/GlowWakeSleepPanel.tsx +187 -0
  230. package/lib/motion/shotcraft/upstream/demos/effects/spotlight-sweep-moves/SlideSpotlightPan.tsx +175 -0
  231. package/lib/motion/shotcraft/upstream/demos/interaction/autolayout-gap-dial/AutolayoutGapDial.tsx +305 -0
  232. package/lib/motion/shotcraft/upstream/demos/interaction/canvas-materialize-moves/DiagramCascadeBuild.tsx +350 -0
  233. package/lib/motion/shotcraft/upstream/demos/interaction/canvas-materialize-moves/PanelToCanvasMaterialize.tsx +352 -0
  234. package/lib/motion/shotcraft/upstream/demos/interaction/chip-grid-single-select-blackout/ChipGridSingleSelectBlackout.tsx +218 -0
  235. package/lib/motion/shotcraft/upstream/demos/interaction/collab-cursor-moves/CursorCastEnsemble.tsx +297 -0
  236. package/lib/motion/shotcraft/upstream/demos/interaction/glass-pill-dictation-typing/GlassPillDictationTyping.tsx +157 -0
  237. package/lib/motion/shotcraft/upstream/demos/interaction/hashtag-to-pill-materialize/HashtagToPillMaterialize.tsx +218 -0
  238. package/lib/motion/shotcraft/upstream/demos/interaction/picker-carousel-feature-cycle/PickerCarouselFeatureCycle.tsx +202 -0
  239. package/lib/motion/shotcraft/upstream/demos/interaction/segmented-thumb-hero/SegmentedThumbHero.tsx +265 -0
  240. package/lib/motion/shotcraft/upstream/demos/interaction/theme-switch-moves/PaletteThemeRipple.tsx +457 -0
  241. package/lib/motion/shotcraft/upstream/demos/interaction/theme-switch-moves/ThemeSweepToggle.tsx +446 -0
  242. package/lib/motion/shotcraft/upstream/demos/interaction/type-and-filter/TypeAndFilter.tsx +249 -0
  243. package/lib/motion/shotcraft/upstream/demos/interaction/voice-waveform-live/VoiceWaveformLive.tsx +278 -0
  244. package/lib/motion/shotcraft/upstream/demos/opening/crane-rise-reveal/CraneRiseReveal.tsx +332 -0
  245. package/lib/motion/shotcraft/upstream/demos/opening/dataviz-landscape-open/DatavizLandscapeOpen.tsx +358 -0
  246. package/lib/motion/shotcraft/upstream/demos/opening/fracture/Fracture.tsx +201 -0
  247. package/lib/motion/shotcraft/upstream/demos/opening/icon-field-colorize/IconFieldColorize.tsx +200 -0
  248. package/lib/motion/shotcraft/upstream/demos/opening/letterspace-materialize/LetterspaceMaterialize.tsx +208 -0
  249. package/lib/motion/shotcraft/upstream/demos/opening/magician-card-flourish/MagicianCardFlourish.tsx +341 -0
  250. package/lib/motion/shotcraft/upstream/demos/opening/orbit-ring-title-open/OrbitRingTitleOpen.tsx +389 -0
  251. package/lib/motion/shotcraft/upstream/demos/opening/spotlight-hero-card/SpotlightHeroCard.tsx +293 -0
  252. package/lib/motion/shotcraft/upstream/demos/opening/stroke-segment-build/StrokeSegmentBuild.tsx +183 -0
  253. package/lib/motion/shotcraft/upstream/demos/opening/text-as-mask/TextAsMask.tsx +245 -0
  254. package/lib/motion/shotcraft/upstream/demos/outro/grain-dissolve/GrainDissolve.tsx +222 -0
  255. package/lib/motion/shotcraft/upstream/demos/outro/logo-shrink-wordmark-lockup/LogoShrinkWordmarkLockup.tsx +223 -0
  256. package/lib/motion/shotcraft/upstream/demos/outro/neon-triple-marquee/NeonTripleMarquee.tsx +217 -0
  257. package/lib/motion/shotcraft/upstream/demos/outro/outro-group-photo-launch/OutroGroupPhotoLaunch.tsx +343 -0
  258. package/lib/motion/shotcraft/upstream/demos/outro/ui-strip-away-outro/UiStripAwayOutro.tsx +357 -0
  259. package/lib/motion/shotcraft/upstream/demos/outro/ui-to-brand-morph/IconFlipBloomLogo.tsx +187 -0
  260. package/lib/motion/shotcraft/upstream/demos/outro/ui-to-brand-morph/InputMorphsIntoLogo.tsx +333 -0
  261. package/lib/motion/shotcraft/upstream/demos/rhythm/beat-cut-moves/PaparazziFlash.tsx +274 -0
  262. package/lib/motion/shotcraft/upstream/demos/rhythm/beat-step-list-theme-cycle/BeatStepListThemeCycle.tsx +270 -0
  263. package/lib/motion/shotcraft/upstream/demos/rhythm/panel-grid-moves/ComicPanelSplit.tsx +430 -0
  264. package/lib/motion/shotcraft/upstream/demos/rhythm/quad-split-parallel-scenes/QuadSplitParallelScenes.tsx +252 -0
  265. package/lib/motion/shotcraft/upstream/demos/rhythm/rhythm-interrupt-moves/JumpCutPunchIn.tsx +106 -0
  266. package/lib/motion/shotcraft/upstream/demos/rhythm/sakuga-timing-shift/SakugaTimingShift.tsx +288 -0
  267. package/lib/motion/shotcraft/upstream/demos/rhythm/speed-ramp-freeze/FreezeAnnotateReal.tsx +362 -0
  268. package/lib/motion/shotcraft/upstream/demos/rhythm/trailer-grammar-moves/TrailerBumper.tsx +168 -0
  269. package/lib/motion/shotcraft/upstream/demos/transition/bottom-push-stack-wipe/BottomPushStackWipe.tsx +310 -0
  270. package/lib/motion/shotcraft/upstream/demos/transition/card-flip-reveal/CardFlipReveal.tsx +261 -0
  271. package/lib/motion/shotcraft/upstream/demos/transition/card-flock-tumble/CardFlockTumble.tsx +459 -0
  272. package/lib/motion/shotcraft/upstream/demos/transition/circle-match-iris/CircleMatchIris.tsx +294 -0
  273. package/lib/motion/shotcraft/upstream/demos/transition/gradient-transition/GradientTransition.tsx +161 -0
  274. package/lib/motion/shotcraft/upstream/demos/transition/line-carry-transition/LineCarryTransition.tsx +248 -0
  275. package/lib/motion/shotcraft/upstream/demos/transition/mosaic-reframe/MosaicReframe.tsx +359 -0
  276. package/lib/motion/shotcraft/upstream/demos/transition/page-turn-transitions/BarnDoorSplit.tsx +227 -0
  277. package/lib/motion/shotcraft/upstream/demos/transition/print-texture-transitions/InkBleedReveal.tsx +162 -0
  278. package/lib/motion/shotcraft/upstream/demos/transition/shot-transitions/PortalWipeV2.tsx +248 -0
  279. package/lib/motion/shotcraft/upstream/demos/transition/shot-transitions/WhipBrakeReal.tsx +186 -0
  280. package/lib/motion/shotcraft/upstream/demos/transition/tear-streak-transitions/GlitchDisplace.tsx +355 -0
  281. package/lib/motion/shotcraft/upstream/demos/transition/transition-hidden-cut/InvisibleCut.tsx +272 -0
  282. package/lib/motion/shotcraft/upstream/demos/transition/transition-hidden-cut/LightLeakBurn.tsx +262 -0
  283. package/lib/motion/shotcraft/upstream/demos/transition/transition-hidden-cut/VersusSlam.tsx +217 -0
  284. package/lib/motion/shotcraft/upstream/demos/transition/transition-travel/LetterformZoom.tsx +285 -0
  285. package/lib/motion/shotcraft/upstream/demos/transition/white-flash-logo-simplify-cut/WhiteFlashLogoSimplifyCut.tsx +205 -0
  286. package/lib/motion/shotcraft/upstream/demos/transition/wipe-transitions/BlindsSlice.tsx +178 -0
  287. package/lib/motion/shotcraft/upstream/demos/typography/blur-slide/BlurSlide.tsx +147 -0
  288. package/lib/motion/shotcraft/upstream/demos/typography/brace-expand/BraceExpand.tsx +143 -0
  289. package/lib/motion/shotcraft/upstream/demos/typography/brand-ink-open/BrandInkOpen.tsx +134 -0
  290. package/lib/motion/shotcraft/upstream/demos/typography/countdown-arc-scatter/CountdownArcScatter.tsx +217 -0
  291. package/lib/motion/shotcraft/upstream/demos/typography/flying-words/FlyingWords.tsx +198 -0
  292. package/lib/motion/shotcraft/upstream/demos/typography/glitch-cycle/GlitchCycle.tsx +221 -0
  293. package/lib/motion/shotcraft/upstream/demos/typography/gradient-word-sweep/GradientWordSweep.tsx +312 -0
  294. package/lib/motion/shotcraft/upstream/demos/typography/lead-word-zoom-assemble/LeadWordZoomAssemble.tsx +261 -0
  295. package/lib/motion/shotcraft/upstream/demos/typography/marker-underline-title/MarkerUnderlineTitle.tsx +121 -0
  296. package/lib/motion/shotcraft/upstream/demos/typography/outline-word-fill/OutlineWordFill.tsx +153 -0
  297. package/lib/motion/shotcraft/upstream/demos/typography/paper-title-card/PaperTitleCard.tsx +179 -0
  298. package/lib/motion/shotcraft/upstream/demos/typography/pill-chip-slot-cycle-handled/PillChipSlotCycleHandled.tsx +140 -0
  299. package/lib/motion/shotcraft/upstream/demos/typography/pill-slot-cycle/PillSlotCycle.tsx +309 -0
  300. package/lib/motion/shotcraft/upstream/demos/typography/text-column-converge/TextColumnConverge.tsx +191 -0
  301. package/lib/motion/shotcraft/upstream/demos/typography/title-demote-to-label/TitleDemoteToLabel.tsx +292 -0
  302. package/lib/motion/shotcraft/upstream/demos/typography/type-assembly-moves/LetterformDriftAssembly.tsx +135 -0
  303. package/lib/motion/shotcraft/upstream/demos/typography/type-assembly-moves/SplitTextStagger.tsx +124 -0
  304. package/lib/motion/shotcraft/upstream/demos/typography/type-assembly-moves/TextOnPath.tsx +255 -0
  305. package/lib/motion/shotcraft/upstream/demos/typography/type-entrance-moves/LetterDropPhysics.tsx +173 -0
  306. package/lib/motion/shotcraft/upstream/demos/typography/type-rhythm-sync/FontWeightPump.tsx +225 -0
  307. package/lib/motion/shotcraft/upstream/demos/typography/type-rhythm-sync/KaraokeFillSync.tsx +141 -0
  308. package/lib/motion/shotcraft/upstream/demos/typography/typewriter-moves/TypewriterErrorRetype.tsx +137 -0
  309. package/lib/motion/shotcraft/upstream/demos/typography/vertical-word-roll-blur-cycle/VerticalWordRollBlurCycle.tsx +147 -0
  310. package/lib/motion/shotcraft/upstream/demos/typography/word-relay-filmstrip/WordRelayFilmstrip.tsx +409 -0
  311. package/lib/motion/shotcraft/upstream/demos/typography/word-relay-geometry/WordRelayGeometry.tsx +280 -0
  312. package/lib/motion/shotcraft/upstream/demos/ui-entrance/avatar-bracket-carousel/AvatarBracketCarousel.tsx +271 -0
  313. package/lib/motion/shotcraft/upstream/demos/ui-entrance/bezier-source-converge-merge/BezierSourceConvergeMerge.tsx +385 -0
  314. package/lib/motion/shotcraft/upstream/demos/ui-entrance/card-stack/CardStack.tsx +312 -0
  315. package/lib/motion/shotcraft/upstream/demos/ui-entrance/carousel-3d/Carousel3D.tsx +303 -0
  316. package/lib/motion/shotcraft/upstream/demos/ui-entrance/clipcard-looping/ClipCardLooping.tsx +77 -0
  317. package/lib/motion/shotcraft/upstream/demos/ui-entrance/cloner-depth-echo/ClonerDepthEcho.tsx +311 -0
  318. package/lib/motion/shotcraft/upstream/demos/ui-entrance/deck-deal-flyin/DeckDealFlyin.tsx +307 -0
  319. package/lib/motion/shotcraft/upstream/demos/ui-entrance/doc-park-left-pill-deal/DocParkLeftPillDeal.tsx +349 -0
  320. package/lib/motion/shotcraft/upstream/demos/ui-entrance/document-typewriter-reveal/DocumentTypewriterReveal.tsx +255 -0
  321. package/lib/motion/shotcraft/upstream/demos/ui-entrance/draw-svg-trace/DrawSvgTrace.tsx +244 -0
  322. package/lib/motion/shotcraft/upstream/demos/ui-entrance/element-body-moves/ContactShadowLift.tsx +217 -0
  323. package/lib/motion/shotcraft/upstream/demos/ui-entrance/integration-hub-map/IntegrationHubMap.tsx +652 -0
  324. package/lib/motion/shotcraft/upstream/demos/ui-entrance/list-reveal/ListReveal.tsx +153 -0
  325. package/lib/motion/shotcraft/upstream/demos/ui-entrance/list-stack-press/ListStackPress.tsx +238 -0
  326. package/lib/motion/shotcraft/upstream/demos/ui-entrance/neon-frame-forerun/NeonFrameForerun.tsx +324 -0
  327. package/lib/motion/shotcraft/upstream/demos/ui-entrance/neon-frame-orbit-drop/NeonFrameForerunOrbit.tsx +354 -0
  328. package/lib/motion/shotcraft/upstream/demos/ui-entrance/page-waterfall-wall/PageWaterfallWall.tsx +101 -0
  329. package/lib/motion/shotcraft/upstream/demos/ui-entrance/page-waterfall-wall/VerticalTicker.tsx +129 -0
  330. package/lib/motion/shotcraft/upstream/demos/ui-entrance/product-card-progressive-assemble/ProductCardProgressiveAssemble.tsx +297 -0
  331. package/lib/motion/shotcraft/upstream/demos/ui-entrance/radial-wave/RadialWave.tsx +57 -0
  332. package/lib/motion/shotcraft/upstream/demos/ui-entrance/research-card-stack-scroll/ResearchCardStackScroll.tsx +155 -0
  333. package/lib/motion/shotcraft/upstream/demos/ui-entrance/row-embed/RowEmbed.tsx +175 -0
  334. package/lib/motion/shotcraft/upstream/demos/ui-entrance/value-stagger-gradient/ValueStaggerGradient.tsx +153 -0
  335. package/lib/motion/shotcraft/upstream/demos/ui-entrance/wall-reveal-moves/BentoLightUp.tsx +146 -0
  336. package/lib/motion/shotcraft/upstream/demos/ui-entrance/wall-reveal-moves/WireframeDrawOn.tsx +226 -0
  337. package/lib/motion/shotcraft/upstream/gallery/api/library.json +1 -0
  338. package/lib/motion/shotcraft/upstream/manifest.json +2715 -0
  339. package/lib/motion/shotcraft/upstream/references/aesthetic-rules.md +193 -0
  340. package/lib/motion/shotcraft/upstream/references/final-review.md +121 -0
  341. package/lib/motion/shotcraft/upstream/references/guided-free-creation.md +199 -0
  342. package/lib/motion/shotcraft/upstream/references/jianying-export.md +183 -0
  343. package/lib/motion/shotcraft/upstream/references/music-beat-sync.md +257 -0
  344. package/lib/motion/shotcraft/upstream/references/pipeline.md +382 -0
  345. package/lib/motion/shotcraft/upstream/references/publish-upload-post.md +111 -0
  346. package/lib/motion/shotcraft/upstream/references/sequences/promo-energy-arc.md +50 -0
  347. package/lib/motion/shotcraft/upstream/references/sfx-sourcing.md +95 -0
  348. package/lib/motion/shotcraft/upstream/references/shots/camera/basic-3d-scene.md +41 -0
  349. package/lib/motion/shotcraft/upstream/references/shots/camera/crash-zoom-punch.md +52 -0
  350. package/lib/motion/shotcraft/upstream/references/shots/camera/cursor-flyover.md +39 -0
  351. package/lib/motion/shotcraft/upstream/references/shots/camera/depth-layer-moves.md +39 -0
  352. package/lib/motion/shotcraft/upstream/references/shots/camera/graze-face-tour.md +57 -0
  353. package/lib/motion/shotcraft/upstream/references/shots/camera/overhead-camera-moves.md +51 -0
  354. package/lib/motion/shotcraft/upstream/references/shots/camera/space-camera-moves.md +46 -0
  355. package/lib/motion/shotcraft/upstream/references/shots/camera/steep-tilt-glide.md +52 -0
  356. package/lib/motion/shotcraft/upstream/references/shots/camera/tension-camera-moves.md +43 -0
  357. package/lib/motion/shotcraft/upstream/references/shots/camera/terminal-3d.md +42 -0
  358. package/lib/motion/shotcraft/upstream/references/shots/data/before-after-slider-scrub.md +48 -0
  359. package/lib/motion/shotcraft/upstream/references/shots/data/chart-live-moves.md +52 -0
  360. package/lib/motion/shotcraft/upstream/references/shots/data/gauge-readout-moves.md +45 -0
  361. package/lib/motion/shotcraft/upstream/references/shots/data/scroll-brake-moves.md +46 -0
  362. package/lib/motion/shotcraft/upstream/references/shots/data/timeline-travel.md +44 -0
  363. package/lib/motion/shotcraft/upstream/references/shots/effects/assemble-then-type-flyin.md +63 -0
  364. package/lib/motion/shotcraft/upstream/references/shots/effects/aurora-bloom-bg-flip.md +54 -0
  365. package/lib/motion/shotcraft/upstream/references/shots/effects/brand-frame-snap.md +58 -0
  366. package/lib/motion/shotcraft/upstream/references/shots/effects/fui-hud-moves.md +35 -0
  367. package/lib/motion/shotcraft/upstream/references/shots/effects/glow-flyline-moves.md +53 -0
  368. package/lib/motion/shotcraft/upstream/references/shots/effects/icon-performance-moves.md +42 -0
  369. package/lib/motion/shotcraft/upstream/references/shots/effects/impact-feedback.md +50 -0
  370. package/lib/motion/shotcraft/upstream/references/shots/effects/light-play-moves.md +46 -0
  371. package/lib/motion/shotcraft/upstream/references/shots/effects/radial-ripple-phone-chips.md +56 -0
  372. package/lib/motion/shotcraft/upstream/references/shots/effects/riso-print-hits.md +49 -0
  373. package/lib/motion/shotcraft/upstream/references/shots/effects/scan-bracket-sweep.md +50 -0
  374. package/lib/motion/shotcraft/upstream/references/shots/effects/scanline-annotate-focus.md +53 -0
  375. package/lib/motion/shotcraft/upstream/references/shots/effects/scanline-assemble-flyin.md +53 -0
  376. package/lib/motion/shotcraft/upstream/references/shots/effects/slam-entrance-moves.md +55 -0
  377. package/lib/motion/shotcraft/upstream/references/shots/effects/spotlight-sweep-moves.md +52 -0
  378. package/lib/motion/shotcraft/upstream/references/shots/interaction/autolayout-gap-dial.md +60 -0
  379. package/lib/motion/shotcraft/upstream/references/shots/interaction/canvas-materialize-moves.md +57 -0
  380. package/lib/motion/shotcraft/upstream/references/shots/interaction/chip-grid-single-select-blackout.md +51 -0
  381. package/lib/motion/shotcraft/upstream/references/shots/interaction/collab-cursor-moves.md +41 -0
  382. package/lib/motion/shotcraft/upstream/references/shots/interaction/glass-pill-dictation-typing.md +53 -0
  383. package/lib/motion/shotcraft/upstream/references/shots/interaction/hashtag-to-pill-materialize.md +60 -0
  384. package/lib/motion/shotcraft/upstream/references/shots/interaction/picker-carousel-feature-cycle.md +55 -0
  385. package/lib/motion/shotcraft/upstream/references/shots/interaction/segmented-thumb-hero.md +57 -0
  386. package/lib/motion/shotcraft/upstream/references/shots/interaction/theme-switch-moves.md +47 -0
  387. package/lib/motion/shotcraft/upstream/references/shots/interaction/type-and-filter.md +37 -0
  388. package/lib/motion/shotcraft/upstream/references/shots/interaction/voice-waveform-live.md +54 -0
  389. package/lib/motion/shotcraft/upstream/references/shots/opening/brand-ink-open.md +36 -0
  390. package/lib/motion/shotcraft/upstream/references/shots/opening/crane-rise-reveal.md +56 -0
  391. package/lib/motion/shotcraft/upstream/references/shots/opening/dataviz-landscape-open.md +56 -0
  392. package/lib/motion/shotcraft/upstream/references/shots/opening/fracture.md +40 -0
  393. package/lib/motion/shotcraft/upstream/references/shots/opening/icon-field-colorize.md +60 -0
  394. package/lib/motion/shotcraft/upstream/references/shots/opening/letterspace-materialize.md +57 -0
  395. package/lib/motion/shotcraft/upstream/references/shots/opening/magician-card-flourish.md +73 -0
  396. package/lib/motion/shotcraft/upstream/references/shots/opening/orbit-ring-title-open.md +87 -0
  397. package/lib/motion/shotcraft/upstream/references/shots/opening/spotlight-hero-card.md +55 -0
  398. package/lib/motion/shotcraft/upstream/references/shots/opening/stroke-segment-build.md +50 -0
  399. package/lib/motion/shotcraft/upstream/references/shots/opening/text-as-mask.md +59 -0
  400. package/lib/motion/shotcraft/upstream/references/shots/outro/grain-dissolve.md +38 -0
  401. package/lib/motion/shotcraft/upstream/references/shots/outro/logo-shrink-wordmark-lockup.md +38 -0
  402. package/lib/motion/shotcraft/upstream/references/shots/outro/neon-triple-marquee.md +59 -0
  403. package/lib/motion/shotcraft/upstream/references/shots/outro/outro-group-photo-launch.md +39 -0
  404. package/lib/motion/shotcraft/upstream/references/shots/outro/ui-strip-away-outro.md +61 -0
  405. package/lib/motion/shotcraft/upstream/references/shots/outro/ui-to-brand-morph.md +52 -0
  406. package/lib/motion/shotcraft/upstream/references/shots/rhythm/beat-cut-moves.md +50 -0
  407. package/lib/motion/shotcraft/upstream/references/shots/rhythm/beat-step-list-theme-cycle.md +66 -0
  408. package/lib/motion/shotcraft/upstream/references/shots/rhythm/panel-grid-moves.md +43 -0
  409. package/lib/motion/shotcraft/upstream/references/shots/rhythm/quad-split-parallel-scenes.md +38 -0
  410. package/lib/motion/shotcraft/upstream/references/shots/rhythm/rhythm-interrupt-moves.md +38 -0
  411. package/lib/motion/shotcraft/upstream/references/shots/rhythm/sakuga-timing-shift.md +56 -0
  412. package/lib/motion/shotcraft/upstream/references/shots/rhythm/speed-ramp-freeze.md +44 -0
  413. package/lib/motion/shotcraft/upstream/references/shots/rhythm/trailer-grammar-moves.md +38 -0
  414. package/lib/motion/shotcraft/upstream/references/shots/transition/bottom-push-stack-wipe.md +63 -0
  415. package/lib/motion/shotcraft/upstream/references/shots/transition/card-flip-reveal.md +57 -0
  416. package/lib/motion/shotcraft/upstream/references/shots/transition/card-flock-tumble.md +63 -0
  417. package/lib/motion/shotcraft/upstream/references/shots/transition/circle-match-iris.md +58 -0
  418. package/lib/motion/shotcraft/upstream/references/shots/transition/gradient-transition.md +45 -0
  419. package/lib/motion/shotcraft/upstream/references/shots/transition/line-carry-transition.md +55 -0
  420. package/lib/motion/shotcraft/upstream/references/shots/transition/mosaic-reframe.md +49 -0
  421. package/lib/motion/shotcraft/upstream/references/shots/transition/page-turn-transitions.md +42 -0
  422. package/lib/motion/shotcraft/upstream/references/shots/transition/print-texture-transitions.md +42 -0
  423. package/lib/motion/shotcraft/upstream/references/shots/transition/shot-transitions.md +45 -0
  424. package/lib/motion/shotcraft/upstream/references/shots/transition/tear-streak-transitions.md +48 -0
  425. package/lib/motion/shotcraft/upstream/references/shots/transition/transition-hidden-cut.md +55 -0
  426. package/lib/motion/shotcraft/upstream/references/shots/transition/transition-travel.md +43 -0
  427. package/lib/motion/shotcraft/upstream/references/shots/transition/white-flash-logo-simplify-cut.md +41 -0
  428. package/lib/motion/shotcraft/upstream/references/shots/transition/wipe-transitions.md +42 -0
  429. package/lib/motion/shotcraft/upstream/references/shots/typography/blur-slide.md +59 -0
  430. package/lib/motion/shotcraft/upstream/references/shots/typography/brace-expand.md +55 -0
  431. package/lib/motion/shotcraft/upstream/references/shots/typography/countdown-arc-scatter.md +65 -0
  432. package/lib/motion/shotcraft/upstream/references/shots/typography/document-typewriter-reveal.md +42 -0
  433. package/lib/motion/shotcraft/upstream/references/shots/typography/flying-words.md +64 -0
  434. package/lib/motion/shotcraft/upstream/references/shots/typography/glitch-cycle.md +64 -0
  435. package/lib/motion/shotcraft/upstream/references/shots/typography/gradient-word-sweep.md +54 -0
  436. package/lib/motion/shotcraft/upstream/references/shots/typography/lead-word-zoom-assemble.md +91 -0
  437. package/lib/motion/shotcraft/upstream/references/shots/typography/marker-underline-title.md +51 -0
  438. package/lib/motion/shotcraft/upstream/references/shots/typography/outline-word-fill.md +66 -0
  439. package/lib/motion/shotcraft/upstream/references/shots/typography/paper-title-card.md +38 -0
  440. package/lib/motion/shotcraft/upstream/references/shots/typography/pill-chip-slot-cycle-handled.md +66 -0
  441. package/lib/motion/shotcraft/upstream/references/shots/typography/pill-slot-cycle.md +58 -0
  442. package/lib/motion/shotcraft/upstream/references/shots/typography/text-column-converge.md +61 -0
  443. package/lib/motion/shotcraft/upstream/references/shots/typography/title-demote-to-label.md +64 -0
  444. package/lib/motion/shotcraft/upstream/references/shots/typography/type-assembly-moves.md +45 -0
  445. package/lib/motion/shotcraft/upstream/references/shots/typography/type-entrance-moves.md +41 -0
  446. package/lib/motion/shotcraft/upstream/references/shots/typography/type-rhythm-sync.md +51 -0
  447. package/lib/motion/shotcraft/upstream/references/shots/typography/typewriter-moves.md +42 -0
  448. package/lib/motion/shotcraft/upstream/references/shots/typography/vertical-word-roll-blur-cycle.md +63 -0
  449. package/lib/motion/shotcraft/upstream/references/shots/typography/word-relay-filmstrip.md +57 -0
  450. package/lib/motion/shotcraft/upstream/references/shots/typography/word-relay-geometry.md +75 -0
  451. package/lib/motion/shotcraft/upstream/references/shots/ui-entrance/avatar-bracket-carousel.md +59 -0
  452. package/lib/motion/shotcraft/upstream/references/shots/ui-entrance/bezier-source-converge-merge.md +67 -0
  453. package/lib/motion/shotcraft/upstream/references/shots/ui-entrance/card-stack.md +60 -0
  454. package/lib/motion/shotcraft/upstream/references/shots/ui-entrance/carousel-3d.md +66 -0
  455. package/lib/motion/shotcraft/upstream/references/shots/ui-entrance/cloner-depth-echo.md +40 -0
  456. package/lib/motion/shotcraft/upstream/references/shots/ui-entrance/deck-deal-flyin.md +45 -0
  457. package/lib/motion/shotcraft/upstream/references/shots/ui-entrance/doc-park-left-pill-deal.md +62 -0
  458. package/lib/motion/shotcraft/upstream/references/shots/ui-entrance/draw-svg-trace.md +55 -0
  459. package/lib/motion/shotcraft/upstream/references/shots/ui-entrance/element-body-moves.md +37 -0
  460. package/lib/motion/shotcraft/upstream/references/shots/ui-entrance/integration-hub-map.md +55 -0
  461. package/lib/motion/shotcraft/upstream/references/shots/ui-entrance/list-reveal.md +50 -0
  462. package/lib/motion/shotcraft/upstream/references/shots/ui-entrance/list-stack-press.md +43 -0
  463. package/lib/motion/shotcraft/upstream/references/shots/ui-entrance/neon-frame-forerun.md +55 -0
  464. package/lib/motion/shotcraft/upstream/references/shots/ui-entrance/neon-frame-orbit-drop.md +51 -0
  465. package/lib/motion/shotcraft/upstream/references/shots/ui-entrance/page-waterfall-wall.md +51 -0
  466. package/lib/motion/shotcraft/upstream/references/shots/ui-entrance/product-card-progressive-assemble.md +56 -0
  467. package/lib/motion/shotcraft/upstream/references/shots/ui-entrance/radial-wave.md +49 -0
  468. package/lib/motion/shotcraft/upstream/references/shots/ui-entrance/research-card-stack-scroll.md +57 -0
  469. package/lib/motion/shotcraft/upstream/references/shots/ui-entrance/row-embed.md +36 -0
  470. package/lib/motion/shotcraft/upstream/references/shots/ui-entrance/value-stagger-gradient.md +64 -0
  471. package/lib/motion/shotcraft/upstream/references/shots/ui-entrance/wall-reveal-moves.md +47 -0
  472. package/lib/motion/shotcraft/upstream/references/sound-design.md +170 -0
  473. package/lib/motion/shotcraft/upstream/references/workbench.md +157 -0
  474. package/lib/motion/shotcraft/upstream/template/TEMPLATE.md +103 -0
  475. package/lib/motion/shotcraft/upstream/template/THEMES.md +44 -0
  476. package/lib/motion/shotcraft/upstream/template/package.json +20 -0
  477. package/lib/motion/shotcraft/upstream/template/remotion.config.ts +6 -0
  478. package/lib/motion/shotcraft/upstream/template/src/Root.tsx +17 -0
  479. package/lib/motion/shotcraft/upstream/template/src/aifl/Caption.tsx +65 -0
  480. package/lib/motion/shotcraft/upstream/template/src/aifl/DigitRoll.tsx +48 -0
  481. package/lib/motion/shotcraft/upstream/template/src/aifl/FlashCut.tsx +24 -0
  482. package/lib/motion/shotcraft/upstream/template/src/aifl/Main.tsx +192 -0
  483. package/lib/motion/shotcraft/upstream/template/src/aifl/PaperTitleCard.tsx +111 -0
  484. package/lib/motion/shotcraft/upstream/template/src/aifl/live/PageCam.tsx +150 -0
  485. package/lib/motion/shotcraft/upstream/template/src/aifl/live/SceneDetail.tsx +158 -0
  486. package/lib/motion/shotcraft/upstream/template/src/aifl/live/SceneFlyIn.tsx +468 -0
  487. package/lib/motion/shotcraft/upstream/template/src/aifl/live/SceneOpen.tsx +552 -0
  488. package/lib/motion/shotcraft/upstream/template/src/aifl/live/SceneOutroLive.tsx +411 -0
  489. package/lib/motion/shotcraft/upstream/template/src/aifl/live/ScenePapers.tsx +200 -0
  490. package/lib/motion/shotcraft/upstream/template/src/aifl/live/SceneWbr.tsx +324 -0
  491. package/lib/motion/shotcraft/upstream/template/src/aifl/live-layout.json +389 -0
  492. package/lib/motion/shotcraft/upstream/template/src/index.ts +4 -0
  493. package/lib/motion/shotcraft/upstream/template/src/themes/ThemedFilm.tsx +7 -0
  494. package/lib/motion/shotcraft/upstream/template/src/themes/manifest.tsx +68 -0
  495. package/lib/motion/shotcraft/upstream/template/src/themes/palette-assets.json +1 -0
  496. package/lib/motion/shotcraft/upstream/template/src/themes/palette-assets.ts +24 -0
  497. package/lib/motion/shotcraft/upstream/template/src/themes/palettes.json +74 -0
  498. package/lib/motion/shotcraft/upstream/template/src/themes/visual-theme.tsx +91 -0
  499. package/lib/motion/shotcraft/upstream/template/src/workbench.ts +213 -0
  500. package/lib/motion/shotcraft/upstream/template/tsconfig.json +15 -0
  501. package/lib/motion/spec.js +113 -0
  502. package/lib/motion/style-engine.js +153 -0
  503. package/lib/motion/style-frames.js +268 -0
  504. package/lib/motion/sync.js +214 -0
  505. package/lib/motion/theme.js +121 -0
  506. package/lib/motion/voice.js +417 -0
  507. package/lib/motion-agent-files.js +82 -0
  508. package/lib/motion-agent-protocol.js +66 -0
  509. package/lib/motion-agent-tools.js +196 -0
  510. package/lib/motion-agent.js +171 -0
  511. package/lib/motion-capture.js +92 -0
  512. package/lib/motion-core.js +238 -0
  513. package/lib/motion-film-review.js +71 -0
  514. package/lib/motion-library.js +210 -0
  515. package/lib/motion-planner.js +254 -0
  516. package/lib/motion-project.js +80 -0
  517. package/lib/motion-render-worker.js +145 -0
  518. package/lib/motion-session.js +32 -0
  519. package/lib/motion-source.js +49 -0
  520. package/lib/motion-tasks.js +452 -0
  521. package/lib/motion-vision.js +43 -0
  522. package/lib/mxfile.js +27 -7
  523. package/lib/routing/node-runtime.js +14 -0
  524. package/lib/routing/router.js +211 -0
  525. package/lib/routing/vendor/README.md +96 -0
  526. package/lib/routing/vendor/libavoid-routing.js +753 -0
  527. package/lib/routing/vendor/libavoid.min.js +59 -0
  528. package/lib/shotcard-core.js +39 -0
  529. package/lib/shotcard-reference.js +56 -0
  530. package/lib/style-kernel.js +37 -3
  531. package/lib/task-patches.js +26 -2
  532. package/lib/video-export.js +17 -2
  533. package/package.json +29 -4
@@ -0,0 +1,366 @@
1
+ // steep-tilt-glide v5(批次 14 #2)。用户意见(逐字):
2
+ // "角度不对,你看看原片这个镜头的角度;以及镜头是固定的,但是页面本身
3
+ // 往其3d空间的横面方向移动的效果"
4
+ // ——两点落实:①角度对照原片密帧校准(右缘近、左缘远的陡峭 rotateY,
5
+ // 顶缘向右上扬、透视灭点在左中下);②运动模型改"物动镜不动":
6
+ // perspective / perspectiveOrigin / rotateY / rotateZ 全程一个常数不动,
7
+ // 动的只有页面自身沿其 3D 平面横向(局部 X 轴)的滑移 translateX。
8
+ // v4 的悬空贴落(FloatWrap 同形软影)保留。
9
+ //
10
+ // 质感改版(镜头常数 / 滑移曲线 / 贴落节拍全部不动):字体换系统栈 + 按字号的字距;
11
+ // 同形软影加大虚化、压低不透明度——读作影子而不是一份重叠的字;速度重影从两层
12
+ // 离散拷贝改为三层更密的拖尾(f-1.6/-3.2/-4.8,权重递减),读作拖影而不是双影;
13
+ // 主区空白圆角砖填入克制的小组件内容;右段白页加发丝边与投影分层;屏幕空间
14
+ // 左侧景深雾 + 颗粒,远端更沉、近端更亮,强化 60° 斜墙的纵深。
15
+ import React from 'react';
16
+ import { AbsoluteFill, interpolate, useCurrentFrame, Easing } from 'remotion';
17
+ import { FONT as PFONT, Grain } from '../../_fixtures/Polish';
18
+ import { BRAND, ShotcraftMark } from '../../_fixtures/Brand';
19
+
20
+ const FONT = PFONT.sans;
21
+ const INK = '#2a2a31';
22
+
23
+ const easeFall = Easing.bezier(0.5, 0.05, 0.6, 1); // 加速贴落、末端软着陆
24
+
25
+ /* 悬浮 + 同形软影(GrazeFaceTour FloatWrap 模式) */
26
+ const FloatWrap: React.FC<{ h: number; children: React.ReactNode }> = ({ h, children }) => (
27
+ <div style={{ position: 'relative' }}>
28
+ {h > 2 && (
29
+ <div style={{
30
+ position: 'absolute', inset: 0,
31
+ transform: `translate(${h * 0.24}px, ${h * 0.46}px) scale(${1 + h * 0.0012})`,
32
+ // 影子要读作"影":随高度更虚、更淡,压成无字形的冷灰团(不再是一份可读的重叠字)
33
+ filter: `blur(${9 + h * 0.13}px) brightness(0.2) saturate(0)`,
34
+ opacity: Math.min(0.26, 0.1 + h * 0.0011),
35
+ pointerEvents: 'none',
36
+ }}>{children}</div>
37
+ )}
38
+ <div style={{ transform: `translate(${-h * 0.34}px, ${-h * 0.8}px)` }}>{children}</div>
39
+ </div>
40
+ );
41
+
42
+ /* land=贴合完成时刻(0..1),之前从 H 高度加速贴落 */
43
+ const liftOf = (t: number, land: number, H = 230) => {
44
+ const FALL = 0.32;
45
+ const p = Math.min(1, Math.max(0, (t - (land - FALL)) / FALL));
46
+ return (1 - easeFall(p)) * H;
47
+ };
48
+
49
+ /* 主区圆角灰砖里的图标:场记板(镜头 / 分镜的通用符号,取代原片的第三方 logo) */
50
+ const ClapperGlyph: React.FC<{ size: number }> = ({ size }) => (
51
+ <svg width={size} height={size} viewBox="0 0 100 100">
52
+ {/* 拍板:墨色条 + 琥珀斜纹 */}
53
+ <g transform="rotate(-12 10 34)">
54
+ <rect x={10} y={20} width={80} height={16} rx={3} fill={BRAND.ink} />
55
+ {[0, 1, 2, 3].map((i) => (
56
+ <path key={i} d={`M ${18 + i * 19} 36 L ${28 + i * 19} 20 L ${36 + i * 19} 20 L ${26 + i * 19} 36 Z`} fill={BRAND.amber} />
57
+ ))}
58
+ </g>
59
+ {/* 板身 */}
60
+ <rect x={10} y={40} width={80} height={46} rx={6} fill={BRAND.ink} />
61
+ <rect x={20} y={54} width={34} height={6} rx={3} fill={BRAND.paper} opacity={0.85} />
62
+ <rect x={20} y={68} width={52} height={6} rx={3} fill={BRAND.paper} opacity={0.5} />
63
+ </svg>
64
+ );
65
+
66
+ /* 主区小组件:三张白砖各一种(进度 / 待办 / 走势),内容坐标同页面(6200 宽体系) */
67
+ const MiniWidget: React.FC<{ kind: number }> = ({ kind }) => {
68
+ const title = ['Render queue', 'Shot list', 'Renders'][kind];
69
+ return (
70
+ <div style={{ fontFamily: FONT, color: INK }}>
71
+ <div style={{ display: 'flex', alignItems: 'center', gap: 22 }}>
72
+ <div style={{ width: 22, height: 22, borderRadius: 7, background: ['#7b68ee', '#e33bc6', '#49b8f9'][kind] }} />
73
+ <div style={{ fontSize: 46, fontWeight: 600, letterSpacing: '-0.015em' }}>{title}</div>
74
+ </div>
75
+ {kind === 0 && (
76
+ <>
77
+ <div style={{ marginTop: 40, fontSize: 120, fontWeight: 700, letterSpacing: '-0.04em', lineHeight: 1, fontVariantNumeric: 'tabular-nums' }}>72%</div>
78
+ <div style={{ marginTop: 34, height: 22, borderRadius: 11, background: '#ececf2' }}>
79
+ <div style={{ width: '72%', height: '100%', borderRadius: 11, background: 'linear-gradient(90deg, #7b68ee, #9b8cff)' }} />
80
+ </div>
81
+ </>
82
+ )}
83
+ {kind === 1 && (
84
+ <div style={{ marginTop: 36, display: 'flex', flexDirection: 'column', gap: 30 }}>
85
+ {[['Storyboard', 'Mon'], ['Sound design', 'Wed'], ['Final render', 'Fri']].map(([n, d], j) => (
86
+ <div key={n} style={{ display: 'flex', alignItems: 'center', gap: 24, fontSize: 40 }}>
87
+ <div style={{ width: 30, height: 30, borderRadius: 9, border: '4px solid #c9c9d4', boxSizing: 'border-box', background: j === 0 ? '#e33bc6' : 'transparent', borderColor: j === 0 ? '#e33bc6' : '#c9c9d4' }} />
88
+ <span style={{ color: j === 0 ? '#9a9aa6' : INK, textDecoration: j === 0 ? 'line-through' : 'none' }}>{n}</span>
89
+ <span style={{ marginLeft: 'auto', color: '#9a9aa6', fontSize: 34 }}>{d}</span>
90
+ </div>
91
+ ))}
92
+ </div>
93
+ )}
94
+ {kind === 2 && (
95
+ <svg width={440} height={150} viewBox="0 0 440 150" style={{ marginTop: 34, display: 'block' }}>
96
+ <path d="M0 120 C 50 110, 70 70, 120 78 S 200 120, 250 72 S 340 30, 440 18" fill="none" stroke="#49b8f9" strokeWidth={8} strokeLinecap="round" />
97
+ <path d="M0 120 C 50 110, 70 70, 120 78 S 200 120, 250 72 S 340 30, 440 18 V 150 H 0 Z" fill="rgba(73,184,249,0.12)" />
98
+ </svg>
99
+ )}
100
+ </div>
101
+ );
102
+ };
103
+
104
+ /* 页面:宽 6200 —— 左段=video-shotcraft 顶栏+侧栏(版式对齐原片用户截图三张),
105
+ 右段=原片后程滑入的图标砖、大 W 字、Launch film shots 列表 */
106
+ const PW = 6200;
107
+ const PH = 2400;
108
+
109
+ const Panel: React.FC<{ shade: number; t?: number }> = ({ shade, t = 1 }) => (
110
+ <div style={{
111
+ width: PW, height: PH, background: '#f4f4f6', borderRadius: 64,
112
+ position: 'relative', overflow: 'hidden',
113
+ boxShadow: '0 0 220px rgba(220,210,255,0.35)',
114
+ fontFamily: FONT,
115
+ }}>
116
+ {/* 顶部 tab 条(贯穿整页;文字悬空贴落) */}
117
+ <div style={{
118
+ position: 'absolute', top: 0, left: 0, width: PW, height: 230,
119
+ borderBottom: '4px solid #dcdce2', display: 'flex', alignItems: 'center', paddingLeft: 130,
120
+ }}>
121
+ <FloatWrap h={liftOf(t, 0.3)}>
122
+ <div style={{ display: 'flex', alignItems: 'center' }}>
123
+ <svg width={58} height={58} viewBox="0 0 40 40" style={{ marginRight: 34 }}>
124
+ {[[4, 4], [23, 4], [4, 23], [23, 23]].map(([x, y], i) => (
125
+ <rect key={i} x={x} y={y} width={13} height={13} rx={3} fill="none" stroke="#4a4a52" strokeWidth={3.5} />
126
+ ))}
127
+ </svg>
128
+ <div style={{ fontSize: 66, color: INK, fontWeight: 500, letterSpacing: '-0.01em' }}>Shot recipes</div>
129
+ </div>
130
+ </FloatWrap>
131
+ <FloatWrap h={liftOf(t, 0.42, 280)}>
132
+ <div style={{ display: 'flex', alignItems: 'center' }}>
133
+ {/* 标题前的品牌方块 → video-shotcraft 标志;标题字标全小写 */}
134
+ <ShotcraftMark size={150} tone="light" style={{ marginLeft: 110, flexShrink: 0 }} />
135
+ <div style={{ fontSize: 165, color: '#222228', fontWeight: 600, marginLeft: 70, letterSpacing: '-0.035em', whiteSpace: 'nowrap', fontFamily: BRAND.font }}>{BRAND.name}</div>
136
+ </div>
137
+ </FloatWrap>
138
+ {/* 顶栏右延的淡 tab(版式对齐原片 clickup04 顶栏) */}
139
+ {[['Launch storyboard', 3050], ['Camera moves', 3900], ['Renders', 4650]].map(([tb, x]) => (
140
+ <div key={tb as string} style={{ position: 'absolute', left: x as number, top: 88, fontSize: 58, color: '#8d8d96' }}>{tb}</div>
141
+ ))}
142
+ </div>
143
+ {/* 工作区 logo 行:video-shotcraft 标志 + 简称 */}
144
+ <div style={{ position: 'absolute', left: 120, top: 560 }}>
145
+ <FloatWrap h={liftOf(t, 0.54, 250)}>
146
+ <div style={{ display: 'flex', alignItems: 'center', gap: 26 }}>
147
+ <ShotcraftMark size={104} tone="light" />
148
+ <div style={{ fontSize: 92, fontWeight: 750, color: '#222228', letterSpacing: '-0.03em', fontFamily: BRAND.font }}>{BRAND.short}</div>
149
+ </div>
150
+ </FloatWrap>
151
+ </div>
152
+ {/* 主区圆角灰砖:场记板图标 + 下拉 chevron(原片 f45–f60) */}
153
+ <div style={{ position: 'absolute', left: 1330, top: 440 }}>
154
+ <FloatWrap h={liftOf(t, 0.62, 260)}>
155
+ <div style={{
156
+ width: 620, height: 350, background: '#ebebef', borderRadius: 56,
157
+ display: 'flex', alignItems: 'center', justifyContent: 'center', gap: 60,
158
+ }}>
159
+ <div style={{
160
+ width: 210, height: 210, background: '#fdfdfe', borderRadius: 44,
161
+ boxShadow: '0 6px 60px rgba(180,180,200,0.35)',
162
+ display: 'flex', alignItems: 'center', justifyContent: 'center',
163
+ }}>
164
+ <ClapperGlyph size={130} />
165
+ </div>
166
+ <svg width={90} height={90} viewBox="0 0 40 40">
167
+ <path d="M 10 15 L 20 26 L 30 15" fill="none" stroke="#6a6a74" strokeWidth={3.6} strokeLinecap="round" strokeLinejoin="round" />
168
+ </svg>
169
+ </div>
170
+ </FloatWrap>
171
+ </div>
172
+ {/* Home 宽药丸(紫边细线横贯面板) */}
173
+ <div style={{ position: 'absolute', left: 110, top: 830, width: 2900 }}>
174
+ <FloatWrap h={liftOf(t, 0.68, 260)}>
175
+ <div style={{
176
+ width: 2900, height: 168,
177
+ borderRadius: 34, border: '3.5px solid rgba(118,108,238,0.75)',
178
+ background: 'rgba(122,110,240,0.09)', display: 'flex', alignItems: 'center',
179
+ gap: 40, paddingLeft: 56, boxSizing: 'border-box',
180
+ }}>
181
+ <svg width={66} height={66} viewBox="0 0 40 40">
182
+ <path d="M 6 20 L 20 7 L 34 20 M 11 17 V 33 H 29 V 17" fill="none" stroke="#5a5ad2" strokeWidth={3.4} strokeLinecap="round" strokeLinejoin="round" />
183
+ </svg>
184
+ <div style={{ fontSize: 70, color: '#5353cf', fontWeight: 550 }}>Home</div>
185
+ </div>
186
+ </FloatWrap>
187
+ </div>
188
+ {/* Inbox 行 */}
189
+ <div style={{ position: 'absolute', left: 166, top: 1070 }}>
190
+ <FloatWrap h={liftOf(t, 0.8, 240)}>
191
+ <div style={{ display: 'flex', alignItems: 'center', gap: 40 }}>
192
+ <svg width={64} height={64} viewBox="0 0 40 40">
193
+ <path d="M 20 5 C 13 5 10 10 10 16 V 24 L 6 30 H 34 L 30 24 V 16 C 30 10 27 5 20 5 Z M 16 33 C 16 36 24 36 24 33"
194
+ fill="none" stroke="#3a3a42" strokeWidth={3} strokeLinecap="round" strokeLinejoin="round" />
195
+ </svg>
196
+ <div style={{ fontSize: 70, color: INK }}>Inbox</div>
197
+ </div>
198
+ </FloatWrap>
199
+ </div>
200
+ {/* 更多侧栏行 */}
201
+ {['Docs', 'Dashboards'].map((tb, i) => (
202
+ <div key={tb} style={{ position: 'absolute', left: 166, top: 1310 + i * 240 }}>
203
+ <FloatWrap h={liftOf(t, 0.86 + i * 0.06, 230)}>
204
+ <div style={{ display: 'flex', alignItems: 'center', gap: 40 }}>
205
+ <div style={{ width: 58, height: 58, border: '6px solid #8f8f98', borderRadius: 14 }} />
206
+ <div style={{ fontSize: 70, color: INK }}>{tb}</div>
207
+ </div>
208
+ </FloatWrap>
209
+ </div>
210
+ ))}
211
+ {/* 主区轮播左箭头(原片 f60 中景的 "<") */}
212
+ <div style={{ position: 'absolute', left: 2440, top: 1060 }}>
213
+ <svg width={120} height={120} viewBox="0 0 40 40">
214
+ <path d="M 26 6 L 12 20 L 26 34" fill="none" stroke="#2c2c33" strokeWidth={4.4} strokeLinecap="round" strokeLinejoin="round" />
215
+ </svg>
216
+ </div>
217
+ {/* 大 W 字形(原片中程右上滑入的大字残段) */}
218
+ <div style={{ position: 'absolute', left: 3050, top: 300, fontSize: 430, fontWeight: 700, color: '#232329', letterSpacing: '-0.04em' }}>W</div>
219
+ {/* 主区白色圆角卡群(右下白砖):填入克制的小组件内容,不再是空白块 */}
220
+ {[[2620, 620, 640, 380], [2740, 1360, 720, 420], [2620, 1900, 560, 330]].map(([x, y, w, h], i) => (
221
+ <div key={i} style={{
222
+ position: 'absolute', left: x, top: y, width: w, height: h, boxSizing: 'border-box',
223
+ background: 'linear-gradient(180deg, #ffffff 0%, #f9f9fb 100%)', borderRadius: 56,
224
+ border: '3px solid rgba(28,28,40,0.05)',
225
+ boxShadow: 'inset 0 4px 0 rgba(255,255,255,0.9), 0 8px 24px rgba(150,150,175,0.16), 0 40px 90px -30px rgba(120,120,150,0.32)',
226
+ padding: '52px 60px', overflow: 'hidden',
227
+ }}>
228
+ <MiniWidget kind={i} />
229
+ </div>
230
+ ))}
231
+ {/* —— 右段:Launch film shots 列表(原片尾程满幅白页) —— */}
232
+ <div style={{
233
+ position: 'absolute', left: 3560, top: 230, width: PW - 3560, height: PH - 230,
234
+ background: 'linear-gradient(180deg, #fdfdfe 0%, #f9f9fb 100%)',
235
+ // 发丝边 + 左侧投影:白页叠在主区之上,而不是一条生硬的色块分界
236
+ boxShadow: '-3px 0 0 rgba(28,28,40,0.06), -40px 0 90px -20px rgba(110,110,140,0.22)',
237
+ }}>
238
+ <div style={{ position: 'absolute', left: 220, top: 200, fontSize: 150, fontWeight: 700, color: '#1f1f25', letterSpacing: '-0.035em', whiteSpace: 'nowrap' }}>Launch film shots</div>
239
+ {/* List / Board tabs */}
240
+ <div style={{ position: 'absolute', left: 240, top: 480, display: 'flex', gap: 110, alignItems: 'center' }}>
241
+ <div style={{
242
+ display: 'flex', alignItems: 'center', gap: 26, background: '#ececf1',
243
+ borderRadius: 22, padding: '20px 40px',
244
+ }}>
245
+ <svg width={56} height={56} viewBox="0 0 40 40">
246
+ {[9, 20, 31].map((y) => (
247
+ <g key={y}>
248
+ <rect x={5} y={y - 1.6} width={4} height={4} fill="#3a3a42" />
249
+ <rect x={14} y={y - 1.4} width={20} height={3.4} rx={1.6} fill="#3a3a42" />
250
+ </g>
251
+ ))}
252
+ </svg>
253
+ <div style={{ fontSize: 62, fontWeight: 600, color: '#2c2c33' }}>List</div>
254
+ </div>
255
+ <div style={{ display: 'flex', alignItems: 'center', gap: 26 }}>
256
+ <svg width={56} height={56} viewBox="0 0 40 40">
257
+ <rect x={5} y={7} width={12} height={26} rx={3} fill="none" stroke="#3a3a42" strokeWidth={3} />
258
+ <rect x={23} y={7} width={12} height={18} rx={3} fill="none" stroke="#3a3a42" strokeWidth={3} />
259
+ </svg>
260
+ <div style={{ fontSize: 62, fontWeight: 500, color: '#2c2c33' }}>Board</div>
261
+ </div>
262
+ <div style={{ fontSize: 56, color: '#9a9aa4', marginLeft: -40 }}>11</div>
263
+ </div>
264
+ <div style={{ position: 'absolute', left: 900, top: 620, width: 1500, height: 3, background: '#e4e4ea' }} />
265
+ {/* IN PROGRESS chip */}
266
+ <div style={{
267
+ position: 'absolute', left: 240, top: 850, background: '#fce4f5', color: '#c93bb0',
268
+ fontSize: 46, fontWeight: 650, letterSpacing: '0.06em', padding: '14px 30px', borderRadius: 14,
269
+ }}>IN PROGRESS</div>
270
+ <div style={{ position: 'absolute', left: 244, top: 1030, fontSize: 44, fontWeight: 600, color: '#8f8f98', letterSpacing: '0.08em' }}>SHOT NAME</div>
271
+ {/* 任务行 */}
272
+ {[['Crash zoom opener', '#3a3a42'], ['Steep tilt glide', '#55555e'], ['Beat-synced cuts', '#83838d'], ['Logo sting', '#b3b3bc']].map(([name, col], i) => (
273
+ <div key={name as string} style={{ position: 'absolute', left: 280, top: 1180 + i * 210, display: 'flex', alignItems: 'center', gap: 56 }}>
274
+ <div style={{ width: 42, height: 42, borderRadius: 12, background: '#e33bc6' }} />
275
+ <div style={{ fontSize: 64, fontWeight: 550, color: col as string, whiteSpace: 'nowrap' }}>{name}</div>
276
+ </div>
277
+ ))}
278
+ </div>
279
+ {/* 亮度:面板内黑罩(随进度揭亮) */}
280
+ <div style={{ position: 'absolute', inset: 0, background: '#050409', opacity: shade }} />
281
+ {/* 左缘额外阴影(起始更暗,随亮度一同退去) */}
282
+ <div style={{
283
+ position: 'absolute', inset: 0,
284
+ background: 'linear-gradient(90deg, rgba(5,4,9,0.9), rgba(5,4,9,0) 42%)',
285
+ opacity: Math.min(1, shade * 1.6),
286
+ }} />
287
+ </div>
288
+ );
289
+
290
+ /* 固定镜头 + 页面沿自身平面横向滑移。
291
+ * 镜头常数(对照原片密帧校准):perspective 1150、origin 24% 62%、
292
+ * rotateY(-38°)(右缘近、左缘远,顶缘向右上扬)+ rotateZ(-2°)。
293
+ * lx = 页面局部 X 平移(页面自己的横面方向),全程唯一动的量 */
294
+ // v7(批次 16):用户意见"改成60度吧"——rotY -53 → -60(精确定值)
295
+ const CAM = { persp: 1100, origin: '30% 58%', rotY: -60, rotZ: -2, left: '40%', top: '15%', scale: 0.62 };
296
+
297
+ const PanelLayer: React.FC<{ lx: number; shade: number; opacity: number; t: number }> = ({ lx, shade, opacity, t }) => (
298
+ <AbsoluteFill style={{ opacity }}>
299
+ <AbsoluteFill style={{ perspective: CAM.persp, perspectiveOrigin: CAM.origin }}>
300
+ <div style={{
301
+ position: 'absolute', left: CAM.left, top: CAM.top,
302
+ transform: `rotateY(${CAM.rotY}deg) rotateZ(${CAM.rotZ}deg)`, transformOrigin: 'left top',
303
+ }}>
304
+ {/* 页面自身在其 3D 平面内横移(局部 X 轴) */}
305
+ <div style={{ transform: `scale(${CAM.scale}) translateX(${lx}px)`, transformOrigin: 'left top' }}>
306
+ <Panel shade={shade} t={t} />
307
+ </div>
308
+ </div>
309
+ </AbsoluteFill>
310
+ </AbsoluteFill>
311
+ );
312
+
313
+ export const STEEP_TILT_GLIDE_DURATION = 120; // 4s 单镜(滑移曲线按 0–120f 标定)
314
+
315
+ export const SteepTiltGlide: React.FC = () => {
316
+ const frame = useCurrentFrame();
317
+
318
+ // 页面滑移(物动镜不动):局部 X 从 +140 → -2680,起步柔和后近匀速,
319
+ // 全程不安定停死(bezier 尾段斜率不归零)
320
+ const glide = Easing.bezier(0.3, 0.12, 0.72, 0.9);
321
+ const lxAt = (f: number) => {
322
+ const p = interpolate(f, [0, 120], [0, 1], { easing: glide, extrapolateLeft: 'clamp', extrapolateRight: 'clamp' });
323
+ return interpolate(p, [0, 1], [60, -4100]);
324
+ };
325
+
326
+ const lx = lxAt(frame);
327
+ // 面板黑罩:起始暗 → 约 1.4s 全亮(对齐原片节奏)
328
+ const shade = interpolate(frame, [0, 18, 44], [0.7, 0.4, 0], { extrapolateRight: 'clamp' });
329
+ // 重影强度 ∝ 滑移速度(拖尾=过去时刻的局部位置,同一固定镜头下重投影)
330
+ const speed = Math.abs(lxAt(frame - 1) - lxAt(frame + 1)) / 2;
331
+ // 三层更密的拖尾(权重递减),叠出连续拖影而非离散双影
332
+ const g1 = Math.min(0.3, speed * 0.021);
333
+ const g2 = Math.min(0.2, speed * 0.014);
334
+ const g3 = Math.min(0.11, speed * 0.008);
335
+ // 文字悬空贴落进程(v4 保留)
336
+ const drop = interpolate(frame, [4, 100], [0, 1], { extrapolateLeft: 'clamp', extrapolateRight: 'clamp' });
337
+ // 紫晕随亮度浮现
338
+ const glow = interpolate(frame, [14, 70], [0.15, 1], { extrapolateLeft: 'clamp', extrapolateRight: 'clamp' });
339
+
340
+ return (
341
+ <AbsoluteFill style={{ background: '#060409' }}>
342
+ {/* 左侧紫晕 */}
343
+ <AbsoluteFill style={{
344
+ opacity: glow,
345
+ background: 'radial-gradient(ellipse 40% 50% at 20% 66%, rgba(118,58,190,0.30), transparent 70%)',
346
+ }} />
347
+ {/* 重影(先画,垫在本体后面;位置=过去时刻的页面局部位移) */}
348
+ {g3 > 0.02 && <PanelLayer lx={lxAt(frame - 4.8)} shade={shade} opacity={g3} t={drop} />}
349
+ {g2 > 0.02 && <PanelLayer lx={lxAt(frame - 3.2)} shade={shade} opacity={g2} t={drop} />}
350
+ {g1 > 0.02 && <PanelLayer lx={lxAt(frame - 1.6)} shade={shade} opacity={g1} t={drop} />}
351
+ {/* 本体 */}
352
+ <PanelLayer lx={lx} shade={shade} opacity={1} t={drop} />
353
+ {/* 景深雾(屏幕空间):斜墙远端(画面左侧)沉进暗场,近端保持亮 */}
354
+ <AbsoluteFill style={{
355
+ background: 'linear-gradient(100deg, rgba(6,4,10,0.62) 0%, rgba(6,4,10,0.28) 18%, rgba(6,4,10,0) 40%)',
356
+ pointerEvents: 'none',
357
+ }} />
358
+ {/* 暗角 */}
359
+ <AbsoluteFill style={{
360
+ background: 'radial-gradient(ellipse 105% 95% at 55% 42%, transparent 60%, rgba(3,2,8,0.25) 85%, rgba(2,1,6,0.5) 100%)',
361
+ pointerEvents: 'none',
362
+ }} />
363
+ <Grain opacity={0.07} blend="soft-light" />
364
+ </AbsoluteFill>
365
+ );
366
+ };
@@ -0,0 +1,279 @@
1
+ // 子弹时间冻结环绕(bullet-time-freeze-orbit)——The Matrix bullet time:时间停住,相机却在动。
2
+ //
3
+ // 第二轮重设计(midnight · 深蓝夜 + 电光蓝):
4
+ // - 主体是一块悬在暗场里的玻璃数据面板(1180×640):7 根柱子按周错峰生长,每根柱顶向上喷出一串
5
+ // "数据火花"(确定性粒子 ×140,带真实 z 深度 -300…+600px),右上角 120px 的六位滚轮计数器跟着冲。
6
+ // - 双时钟(命门):内容全部吃 eff(内容时钟),相机吃真实帧。eff 不是硬停,而是 8f 的速度坡道
7
+ // "急刹"进冻结(40–48f)、冻结 52 帧、再 8f 坡道恢复(100–108f)——像升格摄影的变速。
8
+ // 冻结期:柱子停在半途的波浪形、火花悬在半空并保留拖尾(拖尾长度按内容时钟的速度算,所以冻住的是
9
+ // "运动中的瞬间"而不是静止画面)、计数器低位的滚动模糊也一起冻住。
10
+ // - 环绕:真实 3D 场景(preserve-3d)——面板、火花、透视网格地面、远处点阵墙各在自己的深度。
11
+ // 相机 rotateY 0→-52°(26f,smooth)→ 顶点慢漂 12f → 回 0(22f,swift),同时 rotateX 抬 6°、
12
+ // 推近 160px。火花与面板、地面与背墙之间的视差把"相机在绕"讲清楚。
13
+ // - 恢复:柱子长完、火花散尽、柱顶数值标签逐个弹出,主角柱(周日)电光蓝 + 泛光,其余石板蓝。
14
+ //
15
+ // 时间表(30fps,共 170f):
16
+ // 0–40 正常时间:柱子错峰生长(每根晚 5f)、火花上喷、计数器冲刺
17
+ // 40–48 速度坡道刹停(eff 速度 1→0)
18
+ // 48–100 冻结:相机 46–72 绕到 -52°,72–84 顶点慢漂,84–106 回正(推近 / 抬升同步)
19
+ // 100–108 速度坡道恢复
20
+ // 108–140 余波:柱子长完、火花散尽、数值标签弹出(eff 驱动)
21
+ // 140–170 hold:光的极缓呼吸,海报落定
22
+ import React from 'react';
23
+ import { AbsoluteFill, useCurrentFrame } from 'remotion';
24
+ import { EASE, FONT, mix, ramp } from '../../_fixtures/Polish';
25
+ import { LOOKS, Stage, alpha, springAt, type } from '../../_fixtures/Look';
26
+ import { ShotcraftMark } from '../../_fixtures/Brand';
27
+
28
+ export const BULLET_TIME_FREEZE_ORBIT_DURATION = 170;
29
+
30
+ const L = LOOKS.midnight;
31
+ const PANEL = { w: 1180, h: 640 };
32
+ const CH = { x: 90, y: 250, w: 1000, h: 300 }; // 图表区(面板内坐标)
33
+ const BARS = [0.46, 0.58, 0.52, 0.7, 0.64, 0.82, 1.0];
34
+ const DAYS = ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'];
35
+ const BAR_W = 96;
36
+ const BAR_GAP = (CH.w - BARS.length * BAR_W) / (BARS.length - 1);
37
+ const GROW = 40; // 每根柱子的生长时长(内容时钟)
38
+ const startOf = (i: number) => 2 + i * 5; // 冻结时(eff≈40)柱顶正好是一道由高到低的波浪
39
+ const TOTAL = 184920;
40
+
41
+ const hash = (n: number) => {
42
+ const x = Math.sin(n * 127.1 + 311.7) * 43758.5453;
43
+ return x - Math.floor(x);
44
+ };
45
+
46
+ // —— 内容时钟:速度坡道进出冻结 ——
47
+ const speedAt = (f: number) =>
48
+ f < 40 ? 1 : f < 48 ? 1 - EASE.smooth((f - 40) / 8) : f < 100 ? 0 : f < 108 ? EASE.smooth((f - 100) / 8) : 1;
49
+ const EFF: number[] = (() => {
50
+ const out = [0];
51
+ let e = 0;
52
+ for (let f = 0; f < 200; f++) {
53
+ for (let s = 0; s < 4; s++) e += speedAt(f + (s + 0.5) / 4) / 4;
54
+ out.push(e);
55
+ }
56
+ return out;
57
+ })();
58
+ const effAt = (f: number) => {
59
+ const i = Math.max(0, Math.min(EFF.length - 2, Math.floor(f)));
60
+ return mix(EFF[i], EFF[i + 1], f - i);
61
+ };
62
+
63
+ const growth = (i: number, e: number) => ramp(e, startOf(i), GROW, EASE.swift);
64
+ const barTop = (i: number, e: number) => CH.y + CH.h - CH.h * BARS[i] * growth(i, e); // 面板内 y
65
+ const barCx = (i: number) => CH.x + i * (BAR_W + BAR_GAP) + BAR_W / 2;
66
+
67
+ // —— 火花:每根柱 12 颗,出生于柱顶(出生时刻的柱顶),向上减速飞散,带 z 深度 ——
68
+ const SPARKS = BARS.flatMap((_, i) =>
69
+ Array.from({ length: 20 }, (_, k) => {
70
+ const r = (n: number) => hash(i * 97.1 + k * 13.7 + n);
71
+ return {
72
+ bar: i, born: startOf(i) + 1 + k * 1.9 + r(1) * 2,
73
+ dx: (r(2) - 0.5) * BAR_W * 1.1, vx: (r(3) - 0.5) * 5,
74
+ v0: 12 + r(4) * 14, tau: 8 + r(5) * 9, z: (r(6) - 0.35) * 900,
75
+ size: 4 + r(7) * 7, life: 30 + r(8) * 22, hot: r(9) < 0.35,
76
+ };
77
+ }),
78
+ );
79
+
80
+ // —— 滚轮计数器:每位一条数字带,按内容时钟的转速竖向模糊 ——
81
+ const valueAt = (e: number) => TOTAL * ramp(e, 4, 68, EASE.out);
82
+ const digitPos = (v: number, k: number) => {
83
+ const p10 = Math.pow(10, k);
84
+ if (k === 0) return v % 10;
85
+ const d = Math.floor(v / p10) % 10;
86
+ const lower = v % p10;
87
+ return d + Math.min(1, Math.max(0, lower - (p10 - 1)));
88
+ };
89
+ const STRIP = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '0'];
90
+
91
+ const Odometer: React.FC<{ e: number }> = ({ e }) => {
92
+ const v = valueAt(e);
93
+ const v2 = valueAt(e + 0.5);
94
+ const v1 = valueAt(e - 0.5);
95
+ const cols = 6;
96
+ return (
97
+ <div style={{ display: 'flex', ...type(112, 700), letterSpacing: 0, color: L.ink, lineHeight: 1 }}>
98
+ {Array.from({ length: cols }, (_, ci) => {
99
+ const k = cols - 1 - ci;
100
+ const pos = digitPos(v, k);
101
+ const speed = Math.abs(digitPos(v2, k) - digitPos(v1, k));
102
+ const sp = speed > 5 ? 10 - speed : speed; // 跨 9→0 回绕时修正
103
+ const blur = Math.min(9, sp * 112 * 0.1);
104
+ const lit = v >= Math.pow(10, k) || k === 0;
105
+ return (
106
+ <React.Fragment key={ci}>
107
+ {ci === 3 && <span style={{ width: '0.28em', textAlign: 'center', color: lit ? L.ink2 : L.ink3 }}>,</span>}
108
+ <div style={{
109
+ position: 'relative', width: '0.62em', height: '1.24em', margin: '-0.12em 0', overflow: 'hidden',
110
+ // 滚轮窗口上下渐隐:冻住的模糊数字带不留硬边
111
+ WebkitMaskImage: 'linear-gradient(180deg, transparent 0%, #000 16%, #000 84%, transparent 100%)',
112
+ maskImage: 'linear-gradient(180deg, transparent 0%, #000 16%, #000 84%, transparent 100%)',
113
+ }}>
114
+ <div style={{
115
+ position: 'absolute', left: 0, top: '0.12em', width: '100%', transform: `translateY(${(-pos).toFixed(4)}em)`,
116
+ filter: blur > 0.3 ? `blur(${(blur * 0.35).toFixed(2)}px)` : undefined,
117
+ color: lit ? L.ink : L.ink3,
118
+ }}>
119
+ {STRIP.map((c, i) => (
120
+ <div key={i} style={{ height: '1em', textAlign: 'center', opacity: blur > 0.3 ? 1 - Math.min(0.45, blur / 30) : 1 }}>{c}</div>
121
+ ))}
122
+ </div>
123
+ </div>
124
+ </React.Fragment>
125
+ );
126
+ })}
127
+ </div>
128
+ );
129
+ };
130
+
131
+ export const BulletTimeFreezeOrbit: React.FC = () => {
132
+ const frame = useCurrentFrame();
133
+ const e = effAt(frame);
134
+ const frozen = 1 - speedAt(frame);
135
+
136
+ // —— 相机(真实时钟)——
137
+ const out = ramp(frame, 46, 26, EASE.smooth);
138
+ const back = ramp(frame, 84, 22, EASE.swift);
139
+ const drift = ramp(frame, 72, 12, EASE.linear);
140
+ const orbit = out * (1 - back); // 0→1→0
141
+ const ry = -52 * out * (1 - back) - 3 * drift * (1 - back);
142
+ const rx = -3 - 6 * orbit;
143
+ const dolly = 160 * orbit;
144
+ const breathe = 1 + 0.05 * Math.sin(frame / 26);
145
+
146
+ // 冻结时的空气:冷光微微加亮、四周收拢
147
+ const chill = ramp(frame, 40, 10, EASE.out) * (1 - ramp(frame, 98, 12, EASE.smooth));
148
+
149
+ return (
150
+ <AbsoluteFill style={{ overflow: 'hidden', fontFamily: FONT.sans }}>
151
+ <Stage look={L} keyLight={{ x: 0.5, y: 0.04 }} fill={{ x: 0.5, y: 1.0 }} breathe={0.5} intensity={1 + 0.25 * chill} />
152
+
153
+ <AbsoluteFill style={{ perspective: 1800, perspectiveOrigin: '50% 46%' }}>
154
+ <div style={{
155
+ position: 'absolute', left: 960, top: 520, width: 0, height: 0, transformStyle: 'preserve-3d',
156
+ transform: `translateZ(${dolly.toFixed(2)}px) rotateX(${rx.toFixed(3)}deg) rotateY(${ry.toFixed(3)}deg)`,
157
+ }}>
158
+ {/* 远处点阵墙 */}
159
+ <div style={{
160
+ position: 'absolute', left: -2600, top: -1500, width: 5200, height: 3000,
161
+ transform: 'translateZ(-1200px)',
162
+ backgroundImage: `radial-gradient(circle at 3px 3px, ${alpha(L.accent, 0.35)} 2px, transparent 3px)`,
163
+ backgroundSize: '64px 64px',
164
+ WebkitMaskImage: 'radial-gradient(ellipse 40% 42% at 50% 50%, #000 0%, transparent 100%)',
165
+ maskImage: 'radial-gradient(ellipse 40% 42% at 50% 50%, #000 0%, transparent 100%)',
166
+ opacity: 0.55,
167
+ }} />
168
+ {/* 透视网格地面(面板下沿下方 70px) */}
169
+ <div style={{
170
+ position: 'absolute', left: -1800, top: PANEL.h / 2 + 70 - 1800, width: 3600, height: 3600,
171
+ transform: 'rotateX(90deg)',
172
+ backgroundImage:
173
+ `radial-gradient(ellipse 22% 14% at 50% 50%, ${alpha(L.accent, 0.32)} 0%, transparent 100%),` +
174
+ `linear-gradient(${alpha(L.accent, 0.22)} 2px, transparent 2px), linear-gradient(90deg, ${alpha(L.accent, 0.22)} 2px, transparent 2px)`,
175
+ backgroundSize: '100% 100%, 120px 120px, 120px 120px',
176
+ backgroundPosition: '0 0, -1px -1px, -1px -1px',
177
+ WebkitMaskImage: 'radial-gradient(circle at 50% 50%, #000 0%, transparent 46%)',
178
+ maskImage: 'radial-gradient(circle at 50% 50%, #000 0%, transparent 46%)',
179
+ }} />
180
+
181
+ {/* 面板 */}
182
+ <div style={{
183
+ position: 'absolute', left: -PANEL.w / 2, top: -PANEL.h / 2, width: PANEL.w, height: PANEL.h, boxSizing: 'border-box',
184
+ borderRadius: 32, overflow: 'hidden',
185
+ background: `linear-gradient(180deg, ${alpha('#1a2440', 0.94)} 0%, ${alpha(L.surface, 0.96)} 100%)`,
186
+ border: `1.5px solid ${alpha('#a0beff', 0.18)}`,
187
+ boxShadow: `inset 0 1.5px 0 ${alpha('#ffffff', 0.12)}, 0 50px 120px -30px ${alpha('#000208', 0.9)}`,
188
+ }}>
189
+ {/* 头部:video-shotcraft 渲染面板(标志 + 眉题 + 指标名) */}
190
+ <div style={{ position: 'absolute', left: 64, top: 52 }}>
191
+ <div style={{ display: 'flex', alignItems: 'center', gap: 12 }}>
192
+ <ShotcraftMark size={40} tone="dark" style={{ margin: '-6px -2px -6px -5px' }} />
193
+ <div style={{ ...type(26, 650, { caps: true }), letterSpacing: '0.2em', color: L.accent }}>Render farm · promo</div>
194
+ </div>
195
+ <div style={{ ...type(52, 700), color: L.ink, marginTop: 14 }}>Frames rendered</div>
196
+ </div>
197
+ <div style={{ position: 'absolute', right: 64, top: 46 }}><Odometer e={e} /></div>
198
+
199
+ {/* 刻度线 */}
200
+ {[0, 1, 2, 3].map((g) => (
201
+ <div key={g} style={{ position: 'absolute', left: CH.x, width: CH.w, top: CH.y + (CH.h / 3) * g, height: 1, background: g === 3 ? alpha(L.ink, 0.25) : L.line }} />
202
+ ))}
203
+ {/* 柱子 */}
204
+ {BARS.map((b, i) => {
205
+ const top = barTop(i, e);
206
+ const hgt = CH.y + CH.h - top;
207
+ const hero = i === BARS.length - 1;
208
+ const lk = springAt(e, startOf(i) + GROW - 2, { damping: 15, stiffness: 200 });
209
+ return (
210
+ <React.Fragment key={i}>
211
+ <div style={{
212
+ position: 'absolute', left: barCx(i) - BAR_W / 2, top, width: BAR_W, height: hgt, borderRadius: '14px 14px 4px 4px',
213
+ background: hero
214
+ ? `linear-gradient(180deg, #8fb0ff 0%, ${L.accent} 30%, #2f55d8 100%)`
215
+ : `linear-gradient(180deg, #3a4b74 0%, #253252 100%)`,
216
+ boxShadow: hero
217
+ ? `inset 0 2px 0 rgba(255,255,255,0.5), 0 0 40px ${alpha(L.accent, 0.55)}`
218
+ : `inset 0 2px 0 rgba(255,255,255,0.18)`,
219
+ }} />
220
+ {/* 柱顶亮边(生长中的"刀口") */}
221
+ {growth(i, e) < 1 && growth(i, e) > 0 && (
222
+ <div style={{ position: 'absolute', left: barCx(i) - BAR_W / 2 - 6, top: top - 3, width: BAR_W + 12, height: 6, borderRadius: 3, background: '#dfe8ff', boxShadow: `0 0 18px ${alpha(L.accent, 0.9)}` }} />
223
+ )}
224
+ <div style={{
225
+ position: 'absolute', left: barCx(i) - 80, width: 160, top: CH.y + CH.h - CH.h * b - 54, textAlign: 'center',
226
+ ...type(36, 700), color: hero ? '#bcd0ff' : L.ink2, opacity: Math.min(1, lk * 1.4),
227
+ transform: `translateY(${((1 - lk) * 14).toFixed(2)}px) scale(${(0.8 + 0.2 * lk).toFixed(3)})`,
228
+ }}>
229
+ {Math.round(b * 31.4)}k
230
+ </div>
231
+ <div style={{ position: 'absolute', left: barCx(i) - 80, width: 160, top: CH.y + CH.h + 18, textAlign: 'center', ...type(26, 550), color: hero ? L.ink : L.ink3 }}>
232
+ {DAYS[i]}
233
+ </div>
234
+ </React.Fragment>
235
+ );
236
+ })}
237
+ {/* 冻结时面板表面的冷光(裁进圆角,跟相机角度横移) */}
238
+ <div style={{
239
+ position: 'absolute', inset: 0, pointerEvents: 'none', opacity: 0.5 * orbit,
240
+ background: `linear-gradient(105deg, transparent ${(30 + 50 * orbit).toFixed(1)}%, ${alpha('#cfdcff', 0.16)} ${(45 + 50 * orbit).toFixed(1)}%, transparent ${(60 + 50 * orbit).toFixed(1)}%)`,
241
+ }} />
242
+ </div>
243
+
244
+ {/* 火花(真实 z 深度,冻结时悬停并保留拖尾) */}
245
+ {SPARKS.map((s, idx) => {
246
+ const age = e - s.born;
247
+ if (age < 0 || age > s.life) return null;
248
+ const birthTop = barTop(s.bar, s.born);
249
+ const k = 1 - Math.exp(-age / s.tau);
250
+ const x = barCx(s.bar) + s.dx + s.vx * age - PANEL.w / 2;
251
+ const y = birthTop - s.v0 * s.tau * k - PANEL.h / 2;
252
+ const z = s.z * k;
253
+ const v = s.v0 * Math.exp(-age / s.tau); // 内容时钟下的速度
254
+ const len = s.size + v * 3.2;
255
+ const fade = Math.min(1, age / 3) * (1 - Math.pow(age / s.life, 2));
256
+ const c = s.hot ? '#ffffff' : '#9cb8ff';
257
+ return (
258
+ <div key={idx} style={{
259
+ position: 'absolute', left: x - s.size / 2, top: y, width: s.size, height: len, borderRadius: s.size,
260
+ transform: `translateZ(${z.toFixed(1)}px)`,
261
+ background: `linear-gradient(180deg, ${c} 0%, ${alpha(c, 0)} 100%)`,
262
+ boxShadow: `0 0 ${(s.size * 2).toFixed(1)}px ${alpha(L.accent, 0.8)}`,
263
+ opacity: fade * (0.85 + 0.15 * breathe),
264
+ }} />
265
+ );
266
+ })}
267
+ </div>
268
+ </AbsoluteFill>
269
+
270
+ {/* 冻结期暗角收拢(屏幕空间) */}
271
+ {frozen > 0.001 || chill > 0.001 ? (
272
+ <AbsoluteFill style={{
273
+ pointerEvents: 'none', opacity: chill,
274
+ background: `radial-gradient(ellipse 64% 64% at 50% 48%, ${alpha('#050a1c', 0)} 50%, ${alpha('#050a1c', 0.55)} 100%)`,
275
+ }} />
276
+ ) : null}
277
+ </AbsoluteFill>
278
+ );
279
+ };