@autoaiai/aicut 0.1.11 → 0.1.13

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 (1063) hide show
  1. package/MANUAL.md +94 -94
  2. package/package.json +1 -1
  3. package/skills/aicut-motion/SKILL.md +69 -3
  4. package/skills/aicut-motion/THIRD_PARTY_NOTICES.md +14 -0
  5. package/skills/aicut-motion/assets/atlas/lib/harness.js +116 -0
  6. package/skills/aicut-motion/assets/atlas/lib/sound.js +274 -0
  7. package/skills/aicut-motion/assets/atlas/styles/001-flat-vector-science/code.js +937 -0
  8. package/skills/aicut-motion/assets/atlas/styles/001-flat-vector-science/poster.jpg +0 -0
  9. package/skills/aicut-motion/assets/atlas/styles/001-flat-vector-science/style.json +13 -0
  10. package/skills/aicut-motion/assets/atlas/styles/002-watercolor-wash/code.js +909 -0
  11. package/skills/aicut-motion/assets/atlas/styles/002-watercolor-wash/poster.jpg +0 -0
  12. package/skills/aicut-motion/assets/atlas/styles/002-watercolor-wash/style.json +13 -0
  13. package/skills/aicut-motion/assets/atlas/styles/003-shadow-puppet-theatre/code.js +881 -0
  14. package/skills/aicut-motion/assets/atlas/styles/003-shadow-puppet-theatre/poster.jpg +0 -0
  15. package/skills/aicut-motion/assets/atlas/styles/003-shadow-puppet-theatre/style.json +13 -0
  16. package/skills/aicut-motion/assets/atlas/styles/004-whiteboard-explainer/code.js +897 -0
  17. package/skills/aicut-motion/assets/atlas/styles/004-whiteboard-explainer/poster.jpg +0 -0
  18. package/skills/aicut-motion/assets/atlas/styles/004-whiteboard-explainer/style.json +13 -0
  19. package/skills/aicut-motion/assets/atlas/styles/005-psychedelic-poster/code.js +814 -0
  20. package/skills/aicut-motion/assets/atlas/styles/005-psychedelic-poster/poster.jpg +0 -0
  21. package/skills/aicut-motion/assets/atlas/styles/005-psychedelic-poster/style.json +13 -0
  22. package/skills/aicut-motion/assets/atlas/styles/006-tech-glow-explainer/code.js +990 -0
  23. package/skills/aicut-motion/assets/atlas/styles/006-tech-glow-explainer/poster.jpg +0 -0
  24. package/skills/aicut-motion/assets/atlas/styles/006-tech-glow-explainer/style.json +13 -0
  25. package/skills/aicut-motion/assets/atlas/styles/007-papercraft-models/code.js +994 -0
  26. package/skills/aicut-motion/assets/atlas/styles/007-papercraft-models/poster.jpg +0 -0
  27. package/skills/aicut-motion/assets/atlas/styles/007-papercraft-models/style.json +13 -0
  28. package/skills/aicut-motion/assets/atlas/styles/008-1940s-film-noir/code.js +792 -0
  29. package/skills/aicut-motion/assets/atlas/styles/008-1940s-film-noir/poster.jpg +0 -0
  30. package/skills/aicut-motion/assets/atlas/styles/008-1940s-film-noir/style.json +13 -0
  31. package/skills/aicut-motion/assets/atlas/styles/009-manim-style-math/code.js +840 -0
  32. package/skills/aicut-motion/assets/atlas/styles/009-manim-style-math/poster.jpg +0 -0
  33. package/skills/aicut-motion/assets/atlas/styles/009-manim-style-math/style.json +13 -0
  34. package/skills/aicut-motion/assets/atlas/styles/010-illuminated-manuscript/code.js +1126 -0
  35. package/skills/aicut-motion/assets/atlas/styles/010-illuminated-manuscript/poster.jpg +0 -0
  36. package/skills/aicut-motion/assets/atlas/styles/010-illuminated-manuscript/style.json +13 -0
  37. package/skills/aicut-motion/assets/atlas/styles/011-editorial-essay-collage/code.js +854 -0
  38. package/skills/aicut-motion/assets/atlas/styles/011-editorial-essay-collage/poster.jpg +0 -0
  39. package/skills/aicut-motion/assets/atlas/styles/011-editorial-essay-collage/style.json +13 -0
  40. package/skills/aicut-motion/assets/atlas/styles/012-bioluminescent-deep-sea/code.js +1124 -0
  41. package/skills/aicut-motion/assets/atlas/styles/012-bioluminescent-deep-sea/poster.jpg +0 -0
  42. package/skills/aicut-motion/assets/atlas/styles/012-bioluminescent-deep-sea/style.json +13 -0
  43. package/skills/aicut-motion/assets/atlas/styles/013-product-launch-reveal/code.js +728 -0
  44. package/skills/aicut-motion/assets/atlas/styles/013-product-launch-reveal/poster.jpg +0 -0
  45. package/skills/aicut-motion/assets/atlas/styles/013-product-launch-reveal/style.json +13 -0
  46. package/skills/aicut-motion/assets/atlas/styles/014-halftone-pop-panel/code.js +664 -0
  47. package/skills/aicut-motion/assets/atlas/styles/014-halftone-pop-panel/poster.jpg +0 -0
  48. package/skills/aicut-motion/assets/atlas/styles/014-halftone-pop-panel/style.json +13 -0
  49. package/skills/aicut-motion/assets/atlas/styles/015-isometric-pastel/code.js +991 -0
  50. package/skills/aicut-motion/assets/atlas/styles/015-isometric-pastel/poster.jpg +0 -0
  51. package/skills/aicut-motion/assets/atlas/styles/015-isometric-pastel/style.json +13 -0
  52. package/skills/aicut-motion/assets/atlas/styles/016-oscilloscope-vector-art/code.js +801 -0
  53. package/skills/aicut-motion/assets/atlas/styles/016-oscilloscope-vector-art/poster.jpg +0 -0
  54. package/skills/aicut-motion/assets/atlas/styles/016-oscilloscope-vector-art/style.json +13 -0
  55. package/skills/aicut-motion/assets/atlas/styles/017-risograph-zine/code.js +692 -0
  56. package/skills/aicut-motion/assets/atlas/styles/017-risograph-zine/poster.jpg +0 -0
  57. package/skills/aicut-motion/assets/atlas/styles/017-risograph-zine/style.json +13 -0
  58. package/skills/aicut-motion/assets/atlas/styles/018-claymation-set/code.js +756 -0
  59. package/skills/aicut-motion/assets/atlas/styles/018-claymation-set/poster.jpg +0 -0
  60. package/skills/aicut-motion/assets/atlas/styles/018-claymation-set/style.json +13 -0
  61. package/skills/aicut-motion/assets/atlas/styles/019-neon-sign-at-night/code.js +922 -0
  62. package/skills/aicut-motion/assets/atlas/styles/019-neon-sign-at-night/poster.jpg +0 -0
  63. package/skills/aicut-motion/assets/atlas/styles/019-neon-sign-at-night/style.json +13 -0
  64. package/skills/aicut-motion/assets/atlas/styles/020-kawaii-anime/code.js +852 -0
  65. package/skills/aicut-motion/assets/atlas/styles/020-kawaii-anime/poster.jpg +0 -0
  66. package/skills/aicut-motion/assets/atlas/styles/020-kawaii-anime/style.json +13 -0
  67. package/skills/aicut-motion/assets/atlas/styles/021-ukiyo-e-woodblock/code.js +724 -0
  68. package/skills/aicut-motion/assets/atlas/styles/021-ukiyo-e-woodblock/poster.jpg +0 -0
  69. package/skills/aicut-motion/assets/atlas/styles/021-ukiyo-e-woodblock/style.json +13 -0
  70. package/skills/aicut-motion/assets/atlas/styles/022-16-bit-pixel-odyssey/code.js +793 -0
  71. package/skills/aicut-motion/assets/atlas/styles/022-16-bit-pixel-odyssey/poster.jpg +0 -0
  72. package/skills/aicut-motion/assets/atlas/styles/022-16-bit-pixel-odyssey/style.json +13 -0
  73. package/skills/aicut-motion/assets/atlas/styles/023-chalkboard-lesson/code.js +846 -0
  74. package/skills/aicut-motion/assets/atlas/styles/023-chalkboard-lesson/poster.jpg +0 -0
  75. package/skills/aicut-motion/assets/atlas/styles/023-chalkboard-lesson/style.json +13 -0
  76. package/skills/aicut-motion/assets/atlas/styles/024-cut-paper-diorama/code.js +1008 -0
  77. package/skills/aicut-motion/assets/atlas/styles/024-cut-paper-diorama/poster.jpg +0 -0
  78. package/skills/aicut-motion/assets/atlas/styles/024-cut-paper-diorama/style.json +13 -0
  79. package/skills/aicut-motion/assets/atlas/styles/025-cathedral-glass/code.js +680 -0
  80. package/skills/aicut-motion/assets/atlas/styles/025-cathedral-glass/poster.jpg +0 -0
  81. package/skills/aicut-motion/assets/atlas/styles/025-cathedral-glass/style.json +13 -0
  82. package/skills/aicut-motion/assets/atlas/styles/026-editorial-chart/code.js +633 -0
  83. package/skills/aicut-motion/assets/atlas/styles/026-editorial-chart/poster.jpg +0 -0
  84. package/skills/aicut-motion/assets/atlas/styles/026-editorial-chart/style.json +13 -0
  85. package/skills/aicut-motion/assets/atlas/styles/027-synthwave-outrun/code.js +757 -0
  86. package/skills/aicut-motion/assets/atlas/styles/027-synthwave-outrun/poster.jpg +0 -0
  87. package/skills/aicut-motion/assets/atlas/styles/027-synthwave-outrun/style.json +13 -0
  88. package/skills/aicut-motion/assets/atlas/styles/028-origami-studio/code.js +828 -0
  89. package/skills/aicut-motion/assets/atlas/styles/028-origami-studio/poster.jpg +0 -0
  90. package/skills/aicut-motion/assets/atlas/styles/028-origami-studio/style.json +13 -0
  91. package/skills/aicut-motion/assets/atlas/styles/029-linocut-relief-print/code.js +697 -0
  92. package/skills/aicut-motion/assets/atlas/styles/029-linocut-relief-print/poster.jpg +0 -0
  93. package/skills/aicut-motion/assets/atlas/styles/029-linocut-relief-print/style.json +13 -0
  94. package/skills/aicut-motion/assets/atlas/styles/030-holographic-foil-card/code.js +687 -0
  95. package/skills/aicut-motion/assets/atlas/styles/030-holographic-foil-card/poster.jpg +0 -0
  96. package/skills/aicut-motion/assets/atlas/styles/030-holographic-foil-card/style.json +13 -0
  97. package/skills/aicut-motion/assets/atlas/styles/031-voxel-diorama/code.js +727 -0
  98. package/skills/aicut-motion/assets/atlas/styles/031-voxel-diorama/poster.jpg +0 -0
  99. package/skills/aicut-motion/assets/atlas/styles/031-voxel-diorama/style.json +13 -0
  100. package/skills/aicut-motion/assets/atlas/styles/032-sumi-e-ink-wash/code.js +903 -0
  101. package/skills/aicut-motion/assets/atlas/styles/032-sumi-e-ink-wash/poster.jpg +0 -0
  102. package/skills/aicut-motion/assets/atlas/styles/032-sumi-e-ink-wash/style.json +13 -0
  103. package/skills/aicut-motion/assets/atlas/styles/033-etch-a-sketch-toy/code.js +662 -0
  104. package/skills/aicut-motion/assets/atlas/styles/033-etch-a-sketch-toy/poster.jpg +0 -0
  105. package/skills/aicut-motion/assets/atlas/styles/033-etch-a-sketch-toy/style.json +13 -0
  106. package/skills/aicut-motion/assets/atlas/styles/034-cosmic-star-chart/code.js +951 -0
  107. package/skills/aicut-motion/assets/atlas/styles/034-cosmic-star-chart/poster.jpg +0 -0
  108. package/skills/aicut-motion/assets/atlas/styles/034-cosmic-star-chart/style.json +13 -0
  109. package/skills/aicut-motion/assets/atlas/styles/035-punk-zine-collage/code.js +759 -0
  110. package/skills/aicut-motion/assets/atlas/styles/035-punk-zine-collage/poster.jpg +0 -0
  111. package/skills/aicut-motion/assets/atlas/styles/035-punk-zine-collage/style.json +13 -0
  112. package/skills/aicut-motion/assets/atlas/styles/036-thermal-camera/code.js +738 -0
  113. package/skills/aicut-motion/assets/atlas/styles/036-thermal-camera/poster.jpg +0 -0
  114. package/skills/aicut-motion/assets/atlas/styles/036-thermal-camera/style.json +13 -0
  115. package/skills/aicut-motion/assets/atlas/styles/037-engineering-blueprint/code.js +793 -0
  116. package/skills/aicut-motion/assets/atlas/styles/037-engineering-blueprint/poster.jpg +0 -0
  117. package/skills/aicut-motion/assets/atlas/styles/037-engineering-blueprint/style.json +13 -0
  118. package/skills/aicut-motion/assets/atlas/styles/038-impasto-night/code.js +673 -0
  119. package/skills/aicut-motion/assets/atlas/styles/038-impasto-night/poster.jpg +0 -0
  120. package/skills/aicut-motion/assets/atlas/styles/038-impasto-night/style.json +13 -0
  121. package/skills/aicut-motion/assets/atlas/styles/039-win95-desktop/code.js +907 -0
  122. package/skills/aicut-motion/assets/atlas/styles/039-win95-desktop/poster.jpg +0 -0
  123. package/skills/aicut-motion/assets/atlas/styles/039-win95-desktop/style.json +13 -0
  124. package/skills/aicut-motion/assets/atlas/styles/040-low-poly-faceted/code.js +833 -0
  125. package/skills/aicut-motion/assets/atlas/styles/040-low-poly-faceted/poster.jpg +0 -0
  126. package/skills/aicut-motion/assets/atlas/styles/040-low-poly-faceted/style.json +13 -0
  127. package/skills/aicut-motion/assets/atlas/styles/041-manga-page/code.js +845 -0
  128. package/skills/aicut-motion/assets/atlas/styles/041-manga-page/poster.jpg +0 -0
  129. package/skills/aicut-motion/assets/atlas/styles/041-manga-page/style.json +13 -0
  130. package/skills/aicut-motion/assets/atlas/styles/042-wood-type-letterpress/code.js +496 -0
  131. package/skills/aicut-motion/assets/atlas/styles/042-wood-type-letterpress/poster.jpg +0 -0
  132. package/skills/aicut-motion/assets/atlas/styles/042-wood-type-letterpress/style.json +13 -0
  133. package/skills/aicut-motion/assets/atlas/styles/043-light-painting/code.js +635 -0
  134. package/skills/aicut-motion/assets/atlas/styles/043-light-painting/poster.jpg +0 -0
  135. package/skills/aicut-motion/assets/atlas/styles/043-light-painting/style.json +13 -0
  136. package/skills/aicut-motion/assets/atlas/styles/044-felt-patchwork/code.js +799 -0
  137. package/skills/aicut-motion/assets/atlas/styles/044-felt-patchwork/poster.jpg +0 -0
  138. package/skills/aicut-motion/assets/atlas/styles/044-felt-patchwork/style.json +13 -0
  139. package/skills/aicut-motion/assets/atlas/styles/045-phosphor-terminal/code.js +547 -0
  140. package/skills/aicut-motion/assets/atlas/styles/045-phosphor-terminal/poster.jpg +0 -0
  141. package/skills/aicut-motion/assets/atlas/styles/045-phosphor-terminal/style.json +13 -0
  142. package/skills/aicut-motion/assets/atlas/styles/046-glassmorphism-ui/code.js +592 -0
  143. package/skills/aicut-motion/assets/atlas/styles/046-glassmorphism-ui/poster.jpg +0 -0
  144. package/skills/aicut-motion/assets/atlas/styles/046-glassmorphism-ui/style.json +13 -0
  145. package/skills/aicut-motion/assets/atlas/styles/047-tarot-card/code.js +768 -0
  146. package/skills/aicut-motion/assets/atlas/styles/047-tarot-card/poster.jpg +0 -0
  147. package/skills/aicut-motion/assets/atlas/styles/047-tarot-card/style.json +13 -0
  148. package/skills/aicut-motion/assets/atlas/styles/048-transit-map/code.js +666 -0
  149. package/skills/aicut-motion/assets/atlas/styles/048-transit-map/poster.jpg +0 -0
  150. package/skills/aicut-motion/assets/atlas/styles/048-transit-map/style.json +13 -0
  151. package/skills/aicut-motion/assets/atlas/styles/049-gouache-travel-poster/code.js +559 -0
  152. package/skills/aicut-motion/assets/atlas/styles/049-gouache-travel-poster/poster.jpg +0 -0
  153. package/skills/aicut-motion/assets/atlas/styles/049-gouache-travel-poster/style.json +13 -0
  154. package/skills/aicut-motion/assets/atlas/styles/050-napkin-sketch/code.js +943 -0
  155. package/skills/aicut-motion/assets/atlas/styles/050-napkin-sketch/poster.jpg +0 -0
  156. package/skills/aicut-motion/assets/atlas/styles/050-napkin-sketch/style.json +13 -0
  157. package/skills/aicut-motion/assets/atlas/styles/051-art-deco-foil/code.js +606 -0
  158. package/skills/aicut-motion/assets/atlas/styles/051-art-deco-foil/poster.jpg +0 -0
  159. package/skills/aicut-motion/assets/atlas/styles/051-art-deco-foil/style.json +13 -0
  160. package/skills/aicut-motion/assets/atlas/styles/052-radiograph-on-lightbox/code.js +730 -0
  161. package/skills/aicut-motion/assets/atlas/styles/052-radiograph-on-lightbox/poster.jpg +0 -0
  162. package/skills/aicut-motion/assets/atlas/styles/052-radiograph-on-lightbox/style.json +13 -0
  163. package/skills/aicut-motion/assets/atlas/styles/053-vaporwave/code.js +782 -0
  164. package/skills/aicut-motion/assets/atlas/styles/053-vaporwave/poster.jpg +0 -0
  165. package/skills/aicut-motion/assets/atlas/styles/053-vaporwave/style.json +13 -0
  166. package/skills/aicut-motion/assets/atlas/styles/054-ebru-paper-marbling/code.js +504 -0
  167. package/skills/aicut-motion/assets/atlas/styles/054-ebru-paper-marbling/poster.jpg +0 -0
  168. package/skills/aicut-motion/assets/atlas/styles/054-ebru-paper-marbling/style.json +13 -0
  169. package/skills/aicut-motion/assets/atlas/styles/055-isotype-pictograms/code.js +517 -0
  170. package/skills/aicut-motion/assets/atlas/styles/055-isotype-pictograms/poster.jpg +0 -0
  171. package/skills/aicut-motion/assets/atlas/styles/055-isotype-pictograms/style.json +13 -0
  172. package/skills/aicut-motion/assets/atlas/styles/056-soft-3d-clay/code.js +713 -0
  173. package/skills/aicut-motion/assets/atlas/styles/056-soft-3d-clay/poster.jpg +0 -0
  174. package/skills/aicut-motion/assets/atlas/styles/056-soft-3d-clay/style.json +13 -0
  175. package/skills/aicut-motion/assets/atlas/styles/057-cross-stitch-sampler/code.js +717 -0
  176. package/skills/aicut-motion/assets/atlas/styles/057-cross-stitch-sampler/poster.jpg +0 -0
  177. package/skills/aicut-motion/assets/atlas/styles/057-cross-stitch-sampler/style.json +13 -0
  178. package/skills/aicut-motion/assets/atlas/styles/058-constructivist-propaganda/code.js +540 -0
  179. package/skills/aicut-motion/assets/atlas/styles/058-constructivist-propaganda/poster.jpg +0 -0
  180. package/skills/aicut-motion/assets/atlas/styles/058-constructivist-propaganda/style.json +13 -0
  181. package/skills/aicut-motion/assets/atlas/styles/059-pocket-monochrome/code.js +524 -0
  182. package/skills/aicut-motion/assets/atlas/styles/059-pocket-monochrome/poster.jpg +0 -0
  183. package/skills/aicut-motion/assets/atlas/styles/059-pocket-monochrome/style.json +13 -0
  184. package/skills/aicut-motion/assets/atlas/styles/060-botanical-plate/code.js +934 -0
  185. package/skills/aicut-motion/assets/atlas/styles/060-botanical-plate/poster.jpg +0 -0
  186. package/skills/aicut-motion/assets/atlas/styles/060-botanical-plate/style.json +13 -0
  187. package/skills/aicut-motion/assets/atlas/styles/061-kinetic-type/code.js +690 -0
  188. package/skills/aicut-motion/assets/atlas/styles/061-kinetic-type/poster.jpg +0 -0
  189. package/skills/aicut-motion/assets/atlas/styles/061-kinetic-type/style.json +13 -0
  190. package/skills/aicut-motion/assets/atlas/styles/062-byzantine-mosaic/code.js +612 -0
  191. package/skills/aicut-motion/assets/atlas/styles/062-byzantine-mosaic/poster.jpg +0 -0
  192. package/skills/aicut-motion/assets/atlas/styles/062-byzantine-mosaic/style.json +13 -0
  193. package/skills/aicut-motion/assets/atlas/styles/063-y2k-liquid-chrome/code.js +666 -0
  194. package/skills/aicut-motion/assets/atlas/styles/063-y2k-liquid-chrome/poster.jpg +0 -0
  195. package/skills/aicut-motion/assets/atlas/styles/063-y2k-liquid-chrome/style.json +13 -0
  196. package/skills/aicut-motion/assets/atlas/styles/064-sticky-note-wall/code.js +651 -0
  197. package/skills/aicut-motion/assets/atlas/styles/064-sticky-note-wall/poster.jpg +0 -0
  198. package/skills/aicut-motion/assets/atlas/styles/064-sticky-note-wall/style.json +13 -0
  199. package/skills/aicut-motion/assets/atlas/styles/065-vintage-newsprint/code.js +656 -0
  200. package/skills/aicut-motion/assets/atlas/styles/065-vintage-newsprint/poster.jpg +0 -0
  201. package/skills/aicut-motion/assets/atlas/styles/065-vintage-newsprint/style.json +13 -0
  202. package/skills/aicut-motion/assets/atlas/styles/066-hidden-line-wireframe/code.js +672 -0
  203. package/skills/aicut-motion/assets/atlas/styles/066-hidden-line-wireframe/poster.jpg +0 -0
  204. package/skills/aicut-motion/assets/atlas/styles/066-hidden-line-wireframe/style.json +13 -0
  205. package/skills/aicut-motion/assets/atlas/styles/067-memphis-group/code.js +548 -0
  206. package/skills/aicut-motion/assets/atlas/styles/067-memphis-group/poster.jpg +0 -0
  207. package/skills/aicut-motion/assets/atlas/styles/067-memphis-group/style.json +13 -0
  208. package/skills/aicut-motion/assets/atlas/styles/068-ballpoint-notebook/code.js +989 -0
  209. package/skills/aicut-motion/assets/atlas/styles/068-ballpoint-notebook/poster.jpg +0 -0
  210. package/skills/aicut-motion/assets/atlas/styles/068-ballpoint-notebook/style.json +13 -0
  211. package/skills/aicut-motion/assets/atlas/styles/069-op-art-sphere/code.js +440 -0
  212. package/skills/aicut-motion/assets/atlas/styles/069-op-art-sphere/poster.jpg +0 -0
  213. package/skills/aicut-motion/assets/atlas/styles/069-op-art-sphere/style.json +13 -0
  214. package/skills/aicut-motion/assets/atlas/styles/070-topographic-survey/code.js +895 -0
  215. package/skills/aicut-motion/assets/atlas/styles/070-topographic-survey/poster.jpg +0 -0
  216. package/skills/aicut-motion/assets/atlas/styles/070-topographic-survey/style.json +13 -0
  217. package/skills/aicut-motion/assets/atlas/styles/071-pointillist-afternoon/code.js +563 -0
  218. package/skills/aicut-motion/assets/atlas/styles/071-pointillist-afternoon/poster.jpg +0 -0
  219. package/skills/aicut-motion/assets/atlas/styles/071-pointillist-afternoon/style.json +13 -0
  220. package/skills/aicut-motion/assets/atlas/styles/072-vector-arcade-1980/code.js +627 -0
  221. package/skills/aicut-motion/assets/atlas/styles/072-vector-arcade-1980/poster.jpg +0 -0
  222. package/skills/aicut-motion/assets/atlas/styles/072-vector-arcade-1980/style.json +13 -0
  223. package/skills/aicut-motion/assets/atlas/styles/073-patent-drawing/code.js +1096 -0
  224. package/skills/aicut-motion/assets/atlas/styles/073-patent-drawing/poster.jpg +0 -0
  225. package/skills/aicut-motion/assets/atlas/styles/073-patent-drawing/style.json +13 -0
  226. package/skills/aicut-motion/assets/atlas/styles/074-bauhaus-poster/code.js +595 -0
  227. package/skills/aicut-motion/assets/atlas/styles/074-bauhaus-poster/poster.jpg +0 -0
  228. package/skills/aicut-motion/assets/atlas/styles/074-bauhaus-poster/style.json +13 -0
  229. package/skills/aicut-motion/assets/atlas/styles/075-bitmap-paint-doodle/code.js +665 -0
  230. package/skills/aicut-motion/assets/atlas/styles/075-bitmap-paint-doodle/poster.jpg +0 -0
  231. package/skills/aicut-motion/assets/atlas/styles/075-bitmap-paint-doodle/style.json +13 -0
  232. package/skills/aicut-motion/assets/atlas/styles/076-nail-thread-string-art/code.js +645 -0
  233. package/skills/aicut-motion/assets/atlas/styles/076-nail-thread-string-art/poster.jpg +0 -0
  234. package/skills/aicut-motion/assets/atlas/styles/076-nail-thread-string-art/style.json +13 -0
  235. package/skills/aicut-motion/assets/atlas/styles/077-ridgeline/code.js +436 -0
  236. package/skills/aicut-motion/assets/atlas/styles/077-ridgeline/poster.jpg +0 -0
  237. package/skills/aicut-motion/assets/atlas/styles/077-ridgeline/style.json +13 -0
  238. package/skills/aicut-motion/assets/atlas/styles/078-sketchbook-graphite/code.js +1237 -0
  239. package/skills/aicut-motion/assets/atlas/styles/078-sketchbook-graphite/poster.jpg +0 -0
  240. package/skills/aicut-motion/assets/atlas/styles/078-sketchbook-graphite/style.json +13 -0
  241. package/skills/aicut-motion/assets/atlas/styles/079-teletext-page/code.js +622 -0
  242. package/skills/aicut-motion/assets/atlas/styles/079-teletext-page/poster.jpg +0 -0
  243. package/skills/aicut-motion/assets/atlas/styles/079-teletext-page/style.json +13 -0
  244. package/skills/aicut-motion/assets/atlas/styles/080-silkscreen-grid/code.js +524 -0
  245. package/skills/aicut-motion/assets/atlas/styles/080-silkscreen-grid/poster.jpg +0 -0
  246. package/skills/aicut-motion/assets/atlas/styles/080-silkscreen-grid/style.json +13 -0
  247. package/skills/aicut-motion/assets/atlas/styles/081-guilloch-security-print/code.js +689 -0
  248. package/skills/aicut-motion/assets/atlas/styles/081-guilloch-security-print/poster.jpg +0 -0
  249. package/skills/aicut-motion/assets/atlas/styles/081-guilloch-security-print/style.json +13 -0
  250. package/skills/aicut-motion/assets/atlas/styles/082-ascii-demoscene/code.js +574 -0
  251. package/skills/aicut-motion/assets/atlas/styles/082-ascii-demoscene/poster.jpg +0 -0
  252. package/skills/aicut-motion/assets/atlas/styles/082-ascii-demoscene/style.json +13 -0
  253. package/skills/aicut-motion/assets/atlas/styles/083-international-typographic-style/code.js +469 -0
  254. package/skills/aicut-motion/assets/atlas/styles/083-international-typographic-style/poster.jpg +0 -0
  255. package/skills/aicut-motion/assets/atlas/styles/083-international-typographic-style/style.json +13 -0
  256. package/skills/aicut-motion/assets/atlas/styles/084-flow-field/code.js +531 -0
  257. package/skills/aicut-motion/assets/atlas/styles/084-flow-field/poster.jpg +0 -0
  258. package/skills/aicut-motion/assets/atlas/styles/084-flow-field/style.json +13 -0
  259. package/skills/aicut-motion/assets/atlas/styles/085-macpaint-1984/code.js +675 -0
  260. package/skills/aicut-motion/assets/atlas/styles/085-macpaint-1984/poster.jpg +0 -0
  261. package/skills/aicut-motion/assets/atlas/styles/085-macpaint-1984/style.json +13 -0
  262. package/skills/aicut-motion/assets/atlas/styles/086-multi-scale-truchet/code.js +609 -0
  263. package/skills/aicut-motion/assets/atlas/styles/086-multi-scale-truchet/poster.jpg +0 -0
  264. package/skills/aicut-motion/assets/atlas/styles/086-multi-scale-truchet/style.json +13 -0
  265. package/skills/aicut-motion/references/motion-delivery.md +55 -0
  266. package/skills/aicut-motion/references/style-index.json +690 -0
  267. package/skills/aicut-motion/references/style-research.md +73 -0
  268. package/skills/aicut-motion/references/style-selection.md +71 -0
  269. package/skills/aicut-motion/scripts/atlas-viewer.html +195 -0
  270. package/skills/aicut-motion/scripts/atlas.mjs +109 -0
  271. package/studio/server/fetch-github.mjs +14 -3
  272. package/studio/server/server.mjs +40 -3
  273. package/studio/server/skill-summaries.mjs +60 -0
  274. package/studio/server/skills.mjs +121 -7
  275. package/studio/server/styles-store.mjs +235 -0
  276. package/studio/server/template-posters.mjs +2 -2
  277. package/studio/server/templates-page.mjs +93 -93
  278. package/studio/server/templates.mjs +32 -7
  279. package/studio/ui/dist/assets/ExportCenter-DasulhAv.js +1 -0
  280. package/studio/ui/dist/assets/SettingsModal-BZw0Hz2_.js +2 -0
  281. package/studio/ui/dist/assets/es-C8XPZARI.js +1 -0
  282. package/studio/ui/dist/assets/index-BjJVmBzB.js +1623 -0
  283. package/studio/ui/dist/assets/index-C3BfKZFO.css +1 -0
  284. package/studio/ui/dist/assets/ja-BeNkdaEj.js +1 -0
  285. package/studio/ui/dist/assets/ko-DcTVhdzK.js +1 -0
  286. package/studio/ui/dist/assets/zh-CN-Cg51ctbL.js +1 -0
  287. package/studio/ui/dist/index.html +2 -2
  288. package/skills/30x-web-to-video/SKILL.md +0 -421
  289. package/skills/30x-web-to-video/examples/INDEX.md +0 -26
  290. package/skills/30x-web-to-video/references/animations.md +0 -539
  291. package/skills/30x-web-to-video/references/audio.md +0 -256
  292. package/skills/30x-web-to-video/references/components.md +0 -340
  293. package/skills/30x-web-to-video/references/lottie.md +0 -174
  294. package/skills/30x-web-to-video/references/visual-effects.md +0 -157
  295. package/skills/30x-web-to-video/remotion-best-practices/rules/audio.md +0 -169
  296. package/skills/30x-web-to-video/remotion-best-practices/rules/calculate-metadata.md +0 -134
  297. package/skills/30x-web-to-video/remotion-best-practices/rules/charts.md +0 -120
  298. package/skills/30x-web-to-video/remotion-best-practices/rules/compositions.md +0 -154
  299. package/skills/30x-web-to-video/remotion-best-practices/rules/ffmpeg.md +0 -38
  300. package/skills/30x-web-to-video/remotion-best-practices/rules/fonts.md +0 -152
  301. package/skills/3d-asset-generation/SKILL.md +0 -142
  302. package/skills/action-fight-prompt/SKILL.md +0 -136
  303. package/skills/action-fight-prompt/references/camera-and-impact.md +0 -64
  304. package/skills/action-fight-prompt/references/example-15s-duel.md +0 -59
  305. package/skills/action-fight-prompt/references/scene-patterns.md +0 -80
  306. package/skills/ad-creative-video/SKILL.md +0 -205
  307. package/skills/ad-creative-video/references/batch-ad-pipeline.md +0 -289
  308. package/skills/ad-creative-video/references/platform-specs.md +0 -72
  309. package/skills/after-effects/SKILL.md +0 -123
  310. package/skills/after-effects/references/export-recipes.md +0 -168
  311. package/skills/after-effects/references/expression-library.md +0 -184
  312. package/skills/after-effects/references/expressions.md +0 -134
  313. package/skills/after-effects/references/performance-triage.md +0 -138
  314. package/skills/after-effects/references/project-hygiene.md +0 -188
  315. package/skills/ai-media-quality-review/SKILL.md +0 -72
  316. package/skills/ai-product-video/SKILL.md +0 -296
  317. package/skills/ai-product-video/references/aesthetic-rules.md +0 -177
  318. package/skills/ai-product-video/references/final-review.md +0 -110
  319. package/skills/ai-product-video/references/guided-free-creation.md +0 -194
  320. package/skills/ai-product-video/references/music-beat-sync.md +0 -219
  321. package/skills/ai-product-video/references/pipeline.md +0 -392
  322. package/skills/ai-product-video/references/sequences/promo-energy-arc.md +0 -50
  323. package/skills/ai-product-video/references/shots/ATTRIBUTION.md +0 -65
  324. package/skills/ai-product-video/references/shots/camera/basic-3d-scene.md +0 -37
  325. package/skills/ai-product-video/references/shots/camera/crash-zoom-punch.md +0 -39
  326. package/skills/ai-product-video/references/shots/camera/cursor-flyover.md +0 -38
  327. package/skills/ai-product-video/references/shots/camera/depth-layer-moves.md +0 -40
  328. package/skills/ai-product-video/references/shots/camera/graze-face-tour.md +0 -57
  329. package/skills/anidoodle/SKILL.md +0 -185
  330. package/skills/anidoodle/references/anatomy.md +0 -91
  331. package/skills/anidoodle/references/backends-and-adapters.md +0 -82
  332. package/skills/anidoodle/references/camera.md +0 -148
  333. package/skills/anidoodle/references/craft-bar.md +0 -72
  334. package/skills/anidoodle/references/determinism-and-contract.md +0 -46
  335. package/skills/anidoodle/references/formats.md +0 -121
  336. package/skills/anidoodle/references/motion-grammar.md +0 -234
  337. package/skills/anidoodle/references/music/compose.md +0 -388
  338. package/skills/anidoodle/references/music/sound-design.md +0 -245
  339. package/skills/anidoodle/references/music/sounds-licenses.md +0 -69
  340. package/skills/anidoodle/references/music/styles/lofi-electronic.md +0 -112
  341. package/skills/anidoodle/references/music/styles/music-box.md +0 -57
  342. package/skills/animated-component-libraries/SKILL.md +0 -820
  343. package/skills/animated-component-libraries/references/customization_guide.md +0 -699
  344. package/skills/animated-component-libraries/references/magic_ui_components.md +0 -422
  345. package/skills/animated-component-libraries/references/react_bits_components.md +0 -587
  346. package/skills/animated-infographic/SKILL.md +0 -211
  347. package/skills/animated-infographic/references/sequenced-infographic.md +0 -286
  348. package/skills/appshot-core/SKILL.md +0 -872
  349. package/skills/article-highlights/SKILL.md +0 -151
  350. package/skills/avatar-mix/SKILL.md +0 -301
  351. package/skills/bang-motion/SKILL.md +0 -583
  352. package/skills/bang-motion/references/ae-bridge-higgsfield.md +0 -160
  353. package/skills/bang-motion/references/anti-ppt.md +0 -110
  354. package/skills/bang-motion/references/architecture.md +0 -188
  355. package/skills/bang-motion/references/explainer.md +0 -579
  356. package/skills/bang-motion/references/kartun-panggung.md +0 -221
  357. package/skills/bang-motion/references/opener-konsep.md +0 -817
  358. package/skills/bang-motion/references/roadmap.md +0 -85
  359. package/skills/bang-motion/references/techniques.md +0 -690
  360. package/skills/beat-sync-edit/SKILL.md +0 -148
  361. package/skills/book-video-factory/SKILL.md +0 -139
  362. package/skills/book-video-factory/references/first-run.md +0 -50
  363. package/skills/book-video-factory/references/paper-collage-explainer.md +0 -127
  364. package/skills/book-video-factory/references/quality-gates.md +0 -87
  365. package/skills/book-video-production/SKILL.md +0 -211
  366. package/skills/brag/SKILL.md +0 -195
  367. package/skills/brag/references/audio.md +0 -312
  368. package/skills/brag/references/step-1-inspect.md +0 -125
  369. package/skills/brag/references/step-2-plan.md +0 -234
  370. package/skills/brag/references/step-3-compose.md +0 -199
  371. package/skills/brag/references/step-4-deliver.md +0 -141
  372. package/skills/brag/references/tones.md +0 -231
  373. package/skills/brand-setup/SKILL.md +0 -228
  374. package/skills/brewreel/SKILL.md +0 -491
  375. package/skills/brewreel/docs/broll.en.md +0 -252
  376. package/skills/brewreel/docs/broll.md +0 -252
  377. package/skills/brewreel/docs/custom-shot.en.md +0 -66
  378. package/skills/brewreel/docs/custom-shot.md +0 -103
  379. package/skills/brewreel/docs/faq.en.md +0 -90
  380. package/skills/brewreel/docs/faq.md +0 -90
  381. package/skills/brewreel/docs/features.en.md +0 -157
  382. package/skills/brewreel/docs/features.md +0 -157
  383. package/skills/brewreel/docs/gallery.en.md +0 -44
  384. package/skills/brewreel/docs/gallery.md +0 -44
  385. package/skills/brewreel/docs/how-it-works.en.md +0 -64
  386. package/skills/brewreel/docs/how-it-works.md +0 -64
  387. package/skills/caption-animation/SKILL.md +0 -216
  388. package/skills/caption-animation/references/word-timed-captions.md +0 -254
  389. package/skills/cartcut-editing/SKILL.md +0 -615
  390. package/skills/cartcut-editing/references/html-typography.md +0 -277
  391. package/skills/cassette-video-edit/SKILL.md +0 -129
  392. package/skills/ccvideo/SKILL.md +0 -264
  393. package/skills/chekhov-dramaturgy/SKILL.md +0 -367
  394. package/skills/chekhov-dramaturgy/reference.md +0 -375
  395. package/skills/chengfeng-check-updates/SKILL.md +0 -283
  396. package/skills/cinematic-product-promo-skill/SKILL.md +0 -295
  397. package/skills/cinematic-product-promo-skill/references/aesthetic-rules.md +0 -187
  398. package/skills/cinematic-product-promo-skill/references/final-review.md +0 -116
  399. package/skills/cinematic-product-promo-skill/references/guided-free-creation.md +0 -199
  400. package/skills/cinematic-product-promo-skill/references/jianying-export.md +0 -183
  401. package/skills/cinematic-product-promo-skill/references/music-beat-sync.md +0 -257
  402. package/skills/cinematic-product-promo-skill/references/pipeline.md +0 -393
  403. package/skills/cinematic-product-promo-skill/references/sequences/promo-energy-arc.md +0 -50
  404. package/skills/cinematic-product-promo-skill/references/shots/ATTRIBUTION.md +0 -65
  405. package/skills/cinematic-product-promo-skill/references/shots/camera/basic-3d-scene.md +0 -37
  406. package/skills/cinematic-product-promo-skill/references/shots/camera/crash-zoom-punch.md +0 -39
  407. package/skills/cinematic-product-promo-skill/references/shots/camera/cursor-flyover.md +0 -38
  408. package/skills/cinematic-product-promo-skill/references/shots/camera/depth-layer-moves.md +0 -40
  409. package/skills/claude-gif/SKILL.md +0 -211
  410. package/skills/claude-gif/references/gif-optimization.md +0 -209
  411. package/skills/claude-gif/references/perfect-loops.md +0 -295
  412. package/skills/claude-gif/references/platform-specs.md +0 -138
  413. package/skills/claude-gif/references/prompt-engineering.md +0 -211
  414. package/skills/claude-gif/references/remotion-gif.md +0 -560
  415. package/skills/codex-video-pipeline/SKILL.md +0 -213
  416. package/skills/codex-video-pipeline/examples/ai-meeting-notes/INPUT.md +0 -10
  417. package/skills/codex-video-pipeline/examples/ai-meeting-notes/expected/action-list.md +0 -22
  418. package/skills/codex-video-pipeline/references/captions.md +0 -39
  419. package/skills/codex-video-pipeline/references/cover-system.md +0 -72
  420. package/skills/codex-video-pipeline/references/cross-platform.md +0 -77
  421. package/skills/codex-video-pipeline/references/example-run.md +0 -54
  422. package/skills/codex-video-pipeline/references/first-run.md +0 -130
  423. package/skills/codex-video-pipeline/references/project-contract.md +0 -54
  424. package/skills/codex-video-pipeline/references/quality-gates.md +0 -44
  425. package/skills/codex-video-pipeline/references/research-and-script.md +0 -50
  426. package/skills/collage-broll-explainers/SKILL.md +0 -429
  427. package/skills/create-onboarding-video/SKILL.md +0 -233
  428. package/skills/cs-shotcraft-skill/SKILL.md +0 -218
  429. package/skills/cs-shotcraft-skill/references/aesthetic-rules.md +0 -207
  430. package/skills/cs-shotcraft-skill/references/camera-table.md +0 -88
  431. package/skills/cs-shotcraft-skill/references/engineering.md +0 -132
  432. package/skills/cs-shotcraft-skill/references/final-review.md +0 -118
  433. package/skills/cs-shotcraft-skill/references/guided-free-creation.md +0 -199
  434. package/skills/cs-shotcraft-skill/references/jianying-export.md +0 -183
  435. package/skills/cs-shotcraft-skill/references/music-beat-sync.md +0 -257
  436. package/skills/cs-shotcraft-skill/references/pipeline.md +0 -408
  437. package/skills/cs-shotcraft-skill/references/product-machine.md +0 -56
  438. package/skills/cs-shotcraft-skill/references/sequences/promo-energy-arc.md +0 -50
  439. package/skills/cs-shotcraft-skill/references/shots/ATTRIBUTION.md +0 -65
  440. package/skills/cs-shotcraft-skill/references/shots/camera/basic-3d-scene.md +0 -37
  441. package/skills/cut-video/SKILL.md +0 -387
  442. package/skills/cyxj-hyperframes-overlay/SKILL.md +0 -75
  443. package/skills/cyxj-remotion-evolve/SKILL.md +0 -123
  444. package/skills/cyxj-remotion-evolve-vibe-motion/SKILL.md +0 -123
  445. package/skills/demo-video-creation-skill/SKILL.md +0 -152
  446. package/skills/demo-video-creation-skill/references/capture-workflow.md +0 -74
  447. package/skills/demo-video-creation-skill/references/qc-checklist.md +0 -61
  448. package/skills/demo-video-creation-skill/references/remotion-ffmpeg.md +0 -94
  449. package/skills/demo-video-creation-skill/references/storytelling.md +0 -86
  450. package/skills/demo-video-creation-skill/references/visual-system.md +0 -83
  451. package/skills/demoday/SKILL.md +0 -148
  452. package/skills/develop-premiere-pro-mcp/SKILL.md +0 -131
  453. package/skills/diagram-animation/SKILL.md +0 -200
  454. package/skills/diagram-animation/references/diagram-and-chart-recipes.md +0 -218
  455. package/skills/diagram-tour/SKILL.md +0 -287
  456. package/skills/diagram-tour/examples/agent-architecture/agent-architecture-tour.md +0 -78
  457. package/skills/docvideoer/SKILL.md +0 -139
  458. package/skills/draftcut/SKILL.md +0 -104
  459. package/skills/draftcut/docs/agent-bootstrap.md +0 -64
  460. package/skills/draftcut/docs/approvals.md +0 -45
  461. package/skills/draftcut/docs/audio-first-migration.md +0 -35
  462. package/skills/draftcut/docs/configuration.md +0 -54
  463. package/skills/draftcut/docs/getting-started.md +0 -63
  464. package/skills/draftcut/docs/harness-case-study.en.md +0 -23
  465. package/skills/draftcut/docs/harness-case-study.md +0 -47
  466. package/skills/draftcut/references/01-plan.md +0 -30
  467. package/skills/draftcut/references/03-deliver.md +0 -26
  468. package/skills/draftcut/references/04-reference-theme-prompt.md +0 -7
  469. package/skills/draftcut/references/05-social-loudness.md +0 -58
  470. package/skills/draftcut/references/06-modern-components.md +0 -72
  471. package/skills/easyedit/SKILL.md +0 -66
  472. package/skills/erduo-broll-loop-engineering/SKILL.md +0 -136
  473. package/skills/erduo-broll-loop-engineering/references/animation-craft.md +0 -208
  474. package/skills/erduo-broll-loop-engineering/references/first-run-onboarding.md +0 -107
  475. package/skills/erduo-broll-loop-engineering/references/handoff-template.md +0 -70
  476. package/skills/erduo-broll-loop-engineering/references/motion-layout-lint.md +0 -122
  477. package/skills/erduo-broll-loop-engineering/references/parent-review-checklist.md +0 -171
  478. package/skills/erduo-broll-loop-engineering/references/prompt-first-workflow.md +0 -322
  479. package/skills/erduo-broll-loop-engineering/references/remotion-backend.md +0 -334
  480. package/skills/erduo-broll-loop-engineering/references/runtime/remotion-hyperframes-map.md +0 -76
  481. package/skills/erduo-broll-loop-engineering/references/runtime/runtime-contract.md +0 -174
  482. package/skills/erduo-broll-loop-engineering/references/runtime/runtime-selection.md +0 -135
  483. package/skills/erduo-broll-loop-engineering/references/shotcraft/remotion-sources/SOURCE.md +0 -7
  484. package/skills/erduo-broll-loop-engineering/references/shotcraft/upstream-attribution.md +0 -65
  485. package/skills/explainer-assets/SKILL.md +0 -98
  486. package/skills/explainer-video/SKILL.md +0 -146
  487. package/skills/framewright/SKILL.md +0 -324
  488. package/skills/framewright/references/audio.md +0 -230
  489. package/skills/framewright/references/guide.md +0 -276
  490. package/skills/framewright/references/painting.md +0 -425
  491. package/skills/framewright/references/photo.md +0 -75
  492. package/skills/framewright/references/questionnaire.md +0 -115
  493. package/skills/framewright/references/styles.md +0 -388
  494. package/skills/framewright/references/troubleshooting.md +0 -119
  495. package/skills/framewright/references/world.md +0 -215
  496. package/skills/gbro-collage-broll/SKILL.md +0 -435
  497. package/skills/gbro-collage-info/SKILL.md +0 -135
  498. package/skills/gbro-collage-info/references/motion-grammar.md +0 -66
  499. package/skills/gbro-collage-info/references/production.md +0 -67
  500. package/skills/gbro-collage-info/references/style-system.md +0 -38
  501. package/skills/gemini-tts/SKILL.md +0 -208
  502. package/skills/gemini-tts/references/prompting-guide.md +0 -169
  503. package/skills/gen/SKILL.md +0 -282
  504. package/skills/ghost-editor/SKILL.md +0 -437
  505. package/skills/ghost-editor/docs/HOW-IT-WORKS.md +0 -82
  506. package/skills/ghost-editor/docs/PLAYBOOK.md +0 -139
  507. package/skills/ghost-editor/docs/THIRD_PARTY/audio.md +0 -17
  508. package/skills/ghost-editor/docs/THIRD_PARTY/audioqa.md +0 -13
  509. package/skills/ghost-editor/docs/THIRD_PARTY/captions.md +0 -20
  510. package/skills/ghost-editor/docs/THIRD_PARTY/fonts.md +0 -17
  511. package/skills/ghost-editor/docs/THIRD_PARTY/kinetic.md +0 -22
  512. package/skills/ghost-editor/docs/THIRD_PARTY/looks.md +0 -22
  513. package/skills/ghost-editor/docs/THIRD_PARTY/matte.md +0 -20
  514. package/skills/ghost-editor/docs/THIRD_PARTY/models.md +0 -11
  515. package/skills/ghost-editor/docs/THIRD_PARTY/runtime.md +0 -13
  516. package/skills/ghost-editor/docs/THIRD_PARTY/shaders.md +0 -15
  517. package/skills/git-story-film/SKILL.md +0 -220
  518. package/skills/git-story-film/examples/raven-story/FONTS.md +0 -8
  519. package/skills/git-story-film/examples/raven-story/OUTLINE.md +0 -93
  520. package/skills/git-story-film/references/craft.md +0 -148
  521. package/skills/git-story-film/references/directing.md +0 -185
  522. package/skills/git-story-film/references/forms.md +0 -150
  523. package/skills/git-story-film/references/production.md +0 -150
  524. package/skills/git-story-film/references/story.md +0 -137
  525. package/skills/git-story-film/references/text-and-fonts.md +0 -90
  526. package/skills/guizang-product-video-skill/SKILL.md +0 -96
  527. package/skills/guizang-product-video-skill/references/audio-and-qa.md +0 -113
  528. package/skills/guizang-product-video-skill/references/audio-sourcing.md +0 -80
  529. package/skills/guizang-product-video-skill/references/case-study.md +0 -63
  530. package/skills/guizang-product-video-skill/references/component-pipeline.md +0 -86
  531. package/skills/guizang-product-video-skill/references/cover.md +0 -43
  532. package/skills/guizang-product-video-skill/references/direction.md +0 -91
  533. package/skills/guizang-product-video-skill/references/onboarding.md +0 -98
  534. package/skills/guizang-product-video-skill/references/repo-and-style.md +0 -44
  535. package/skills/guizang-product-video-skill/references/review.md +0 -38
  536. package/skills/guizang-product-video-skill/references/starter.md +0 -168
  537. package/skills/guizang-product-video-skill/references/story-and-copy.md +0 -88
  538. package/skills/guizang-product-video-skill/references/visual-vocabulary.md +0 -78
  539. package/skills/guofeng-paper-video/SKILL.md +0 -159
  540. package/skills/guofeng-paper-video/style/design.md +0 -43
  541. package/skills/guofeng-paper-video/style/palette.md +0 -21
  542. package/skills/guofeng-paper-video/style/prompts/01-/345/210/206/351/225/234/350/241/250.md +0 -19
  543. package/skills/guofeng-paper-video/style/prompts/02-/347/224/237/346/210/220/347/272/270/347/211/207.md +0 -37
  544. package/skills/guofeng-paper-video/style/prompts/03-/351/205/215/351/237/263/350/204/232/346/234/254.md +0 -27
  545. package/skills/guofeng-paper-video/style//345/210/206/351/225/234/344/270/216/345/233/276/345/261/202/350/247/204/350/214/203.md +0 -67
  546. package/skills/guofeng-paper-video/style//347/272/270/347/211/207/347/264/240/346/235/220/350/247/204/350/214/203.md +0 -29
  547. package/skills/hand-drawn-explainer-video-nikola/SKILL.md +0 -113
  548. package/skills/hand-drawn-explainer-video-nikola/docs/ARCHITECTURE.md +0 -18
  549. package/skills/hand-drawn-explainer-video-nikola/docs/CONFIGURATION.md +0 -22
  550. package/skills/hand-drawn-explainer-video-nikola/docs/STYLES.md +0 -28
  551. package/skills/hand-drawn-explainer-video-nikola/docs/TROUBLESHOOTING.md +0 -35
  552. package/skills/hand-drawn-explainer-video-nikola/examples/program-animation/skill-demo/DESIGN.md +0 -24
  553. package/skills/hand-drawn-explainer-video-nikola/references/automation-workflow.md +0 -67
  554. package/skills/hand-drawn-explainer-video-nikola/references/output-example.md +0 -79
  555. package/skills/hand-drawn-explainer-video-nikola/references/preflight-and-recovery.md +0 -49
  556. package/skills/hand-drawn-explainer-video-nikola/references/style-guide.md +0 -82
  557. package/skills/hand-drawn-explainer-video-nikola/references/style-selection-and-updates.md +0 -39
  558. package/skills/hand-drawn-explainer-video-nikola/references/upstream-whiteboard-review.md +0 -30
  559. package/skills/hand-drawn-explainer-video-nikola/references/voiceover.md +0 -37
  560. package/skills/hbg-life-simulation/SKILL.md +0 -285
  561. package/skills/hbg-life-simulation/references/image-generation.md +0 -53
  562. package/skills/hbg-life-simulation/references/local-account-api.md +0 -112
  563. package/skills/hbg-life-simulation/references/opening-system.md +0 -45
  564. package/skills/hbg-life-simulation/references/project-spec.md +0 -62
  565. package/skills/hbg-life-simulation/references/render-and-qa.md +0 -107
  566. package/skills/hbg-life-simulation/references/storyboarding.md +0 -69
  567. package/skills/hbg-life-simulation/references/style-system.md +0 -80
  568. package/skills/hbg-life-simulation/references/visual-system.md +0 -44
  569. package/skills/heygen-avatar/SKILL.md +0 -489
  570. package/skills/heygen-avatar/references/asset-routing.md +0 -86
  571. package/skills/heygen-avatar/references/avatar-creation.md +0 -181
  572. package/skills/heygen-avatar/references/troubleshooting.md +0 -137
  573. package/skills/heytea-doodle-poster/SKILL.md +0 -132
  574. package/skills/heytea-doodle-poster/references/desktop-pet-character-modes.md +0 -103
  575. package/skills/heytea-doodle-poster/references/desktop-pet-environment.md +0 -122
  576. package/skills/heytea-doodle-poster/references/desktop-pet-pack.md +0 -106
  577. package/skills/heytea-doodle-poster/references/desktop-pet-workflow.md +0 -264
  578. package/skills/heytea-doodle-poster/references/evaluation.md +0 -246
  579. package/skills/heytea-doodle-poster/references/lettering-guide.md +0 -213
  580. package/skills/heytea-doodle-poster/references/mixed-media-style-guide.md +0 -101
  581. package/skills/heytea-doodle-poster/references/monster-poster-workflow.md +0 -56
  582. package/skills/heytea-doodle-poster/references/style-guide.md +0 -412
  583. package/skills/heytea-doodle-poster-hosted/SKILL.md +0 -132
  584. package/skills/heytea-doodle-poster-hosted/references/desktop-pet-character-modes.md +0 -103
  585. package/skills/heytea-doodle-poster-hosted/references/desktop-pet-environment.md +0 -122
  586. package/skills/heytea-doodle-poster-hosted/references/desktop-pet-pack.md +0 -106
  587. package/skills/heytea-doodle-poster-hosted/references/desktop-pet-workflow.md +0 -264
  588. package/skills/heytea-doodle-poster-hosted/references/evaluation.md +0 -246
  589. package/skills/heytea-doodle-poster-hosted/references/lettering-guide.md +0 -213
  590. package/skills/heytea-doodle-poster-hosted/references/mixed-media-style-guide.md +0 -101
  591. package/skills/heytea-doodle-poster-hosted/references/monster-poster-workflow.md +0 -56
  592. package/skills/heytea-doodle-poster-hosted/references/style-guide.md +0 -412
  593. package/skills/html2video/SKILL.md +0 -290
  594. package/skills/html2video/references/cjk-type.md +0 -173
  595. package/skills/html2video/references/editorial.md +0 -145
  596. package/skills/html2video/references/narration.md +0 -111
  597. package/skills/html2video/references/pitfalls.md +0 -238
  598. package/skills/html2video/references/shots.md +0 -198
  599. package/skills/html2video/references/storyboard.md +0 -323
  600. package/skills/hyperdirector/SKILL.md +0 -202
  601. package/skills/hyperdirector/docs/audio-workflow.md +0 -160
  602. package/skills/hyperdirector/docs/audio-workflow.zh-CN.md +0 -244
  603. package/skills/hyperdirector/docs/brand-kit-setup.md +0 -322
  604. package/skills/hyperdirector/docs/brand-kit-setup.zh-CN.md +0 -277
  605. package/skills/hyperdirector/docs/cursor-development-notes.md +0 -474
  606. package/skills/hyperdirector/docs/faq.md +0 -285
  607. package/skills/hyperdirector/docs/faq.zh-CN.md +0 -198
  608. package/skills/hyperdirector/docs/first-video.md +0 -320
  609. package/skills/hyperdirector/docs/first-video.zh-CN.md +0 -265
  610. package/skills/hyperdirector/docs/installation.md +0 -254
  611. package/skills/hyperdirector/docs/installation.zh-CN.md +0 -222
  612. package/skills/hyperdirector/docs/quickstart.md +0 -203
  613. package/skills/hyperframes/SKILL.md +0 -117
  614. package/skills/hyperframes/references/captions.md +0 -46
  615. package/skills/hyperframes/references/film.md +0 -48
  616. package/skills/hyperframes/references/format.md +0 -158
  617. package/skills/hyperframes/references/look.md +0 -69
  618. package/skills/hyperframes/references/motion.md +0 -95
  619. package/skills/hyperframes/references/overlays.md +0 -39
  620. package/skills/hyperframes/references/review.md +0 -51
  621. package/skills/hyperframes/references/runtimes.md +0 -69
  622. package/skills/hyperframes/references/skill-lifecycle.md +0 -49
  623. package/skills/hyperframes/references/sound.md +0 -43
  624. package/skills/hyperframes/references/spec.md +0 -76
  625. package/skills/hyperframes/references/story.md +0 -103
  626. package/skills/hyperframes-motion-director/SKILL.md +0 -920
  627. package/skills/hyperframes-motion-director/references/asset-choreography-and-render-qa.md +0 -185
  628. package/skills/hyperframes-motion-director/references/audio-sync.md +0 -83
  629. package/skills/hyperframes-motion-director/references/design-engineering.md +0 -156
  630. package/skills/hyperframes-motion-director/references/gsap-choreography.md +0 -202
  631. package/skills/hyperframes-motion-director/references/hyperframes-stability.md +0 -99
  632. package/skills/hyperframes-motion-director/references/imagegen-asset-pipeline.md +0 -227
  633. package/skills/hyperframes-motion-director/references/motion-background-system.md +0 -165
  634. package/skills/hyperframes-motion-director/references/motion-craft.md +0 -182
  635. package/skills/hyperframes-motion-director/references/premium-product-promo.md +0 -287
  636. package/skills/hyperframes-motion-director/references/text-over-background-layout.md +0 -221
  637. package/skills/hyperframes-motion-director/references/visual-standard.md +0 -174
  638. package/skills/hyperframes-motion-director/references/workflow.md +0 -320
  639. package/skills/hypit/SKILL.md +0 -367
  640. package/skills/hypit/references/creation/brief.md +0 -93
  641. package/skills/hypit/references/creation/script-and-time.md +0 -259
  642. package/skills/hypit/references/creation/transformations.md +0 -143
  643. package/skills/hypit/references/playbooks/craft/b-roll.md +0 -94
  644. package/skills/hypit/references/playbooks/craft/caption-tracking.md +0 -126
  645. package/skills/hypit/references/playbooks/craft/captions.md +0 -253
  646. package/skills/hypit/references/playbooks/craft/generated-dependencies.md +0 -38
  647. package/skills/hypit/references/playbooks/craft/graphic-compositions.md +0 -85
  648. package/skills/hypit/references/playbooks/craft/motion-graphics.md +0 -68
  649. package/skills/hypit/references/playbooks/craft/screen-demonstrations.md +0 -51
  650. package/skills/hypit/references/playbooks/craft/sound-mix.md +0 -70
  651. package/skills/hypit/references/playbooks/formats/narration-led-demo.md +0 -87
  652. package/skills/image/SKILL.md +0 -153
  653. package/skills/image/references/characters.md +0 -86
  654. package/skills/image/references/creative-direction.md +0 -137
  655. package/skills/image/references/de-slop.md +0 -95
  656. package/skills/image/references/dimensional.md +0 -88
  657. package/skills/image/references/editing.md +0 -112
  658. package/skills/image/references/golden-rules.md +0 -198
  659. package/skills/image/references/gpt-image.md +0 -228
  660. package/skills/image/references/models.md +0 -78
  661. package/skills/image/references/multi-panel.md +0 -354
  662. package/skills/image/references/nano-banana.md +0 -150
  663. package/skills/image/references/patterns/character-design.md +0 -150
  664. package/skills/image/references/patterns/ecommerce.md +0 -124
  665. package/skills/image-smixs/SKILL.md +0 -153
  666. package/skills/image-smixs/references/characters.md +0 -86
  667. package/skills/image-smixs/references/creative-direction.md +0 -137
  668. package/skills/image-smixs/references/de-slop.md +0 -95
  669. package/skills/image-smixs/references/dimensional.md +0 -88
  670. package/skills/image-smixs/references/editing.md +0 -112
  671. package/skills/image-smixs/references/golden-rules.md +0 -198
  672. package/skills/image-smixs/references/gpt-image.md +0 -228
  673. package/skills/image-smixs/references/models.md +0 -78
  674. package/skills/image-smixs/references/multi-panel.md +0 -354
  675. package/skills/image-smixs/references/nano-banana.md +0 -150
  676. package/skills/image-smixs/references/patterns/character-design.md +0 -150
  677. package/skills/image-smixs/references/patterns/ecommerce.md +0 -124
  678. package/skills/image-story-video-wizard/SKILL.md +0 -148
  679. package/skills/image-story-video-wizard/docs/ARTICLE_ALIGNMENT.md +0 -29
  680. package/skills/image-story-video-wizard/references/host-routing.md +0 -44
  681. package/skills/image-story-video-wizard/references/state-schema.md +0 -79
  682. package/skills/image-story-video-wizard/references/workflow.md +0 -203
  683. package/skills/image-story-video-wizard/references/writing-and-review.md +0 -60
  684. package/skills/ip-as-logo/SKILL.md +0 -151
  685. package/skills/ip-as-logo-s1dashu/SKILL.md +0 -151
  686. package/skills/jtxvideo-skill/SKILL.md +0 -337
  687. package/skills/kinetic-reel/SKILL.md +0 -140
  688. package/skills/kinetic-reel/examples/work-reel-26/STORYBOARD.md +0 -51
  689. package/skills/kinetic-reel/references/sound.md +0 -40
  690. package/skills/kinetic-reel/references/style-guide.md +0 -79
  691. package/skills/knowledge-explainer-skill/SKILL.md +0 -149
  692. package/skills/knowledge-explainer-skill/examples/ai_video_3steps.md +0 -61
  693. package/skills/knowledge-explainer-skill/examples/algorithm_bubble.md +0 -20
  694. package/skills/knowledge-explainer-skill/examples/before_after_demo.md +0 -38
  695. package/skills/knowledge-explainer-skill/examples/cta_outro.md +0 -11
  696. package/skills/knowledge-explainer-skill/examples/double_pendulum.md +0 -20
  697. package/skills/knowledge-explainer-skill/examples/paper_fold.md +0 -20
  698. package/skills/knowledge-explainer-skill/examples/script.md +0 -40
  699. package/skills/lanshu-create-ai-presenter-video/SKILL.md +0 -253
  700. package/skills/lanshu-create-ai-presenter-video/references/editing.md +0 -67
  701. package/skills/lanshu-create-ai-presenter-video/references/generation.md +0 -94
  702. package/skills/lanshu-create-ai-presenter-video/references/qa-recovery.md +0 -83
  703. package/skills/lanshu-create-ai-presenter-video/references/styled-explainer.md +0 -189
  704. package/skills/laoxu-video-script/SKILL.md +0 -117
  705. package/skills/laoxu-video-script/references/cases.md +0 -305
  706. package/skills/laoxu-video-script/references/de-ai.md +0 -32
  707. package/skills/laoxu-video-script/references/diagnostics.md +0 -67
  708. package/skills/laoxu-video-script/references/format.md +0 -62
  709. package/skills/laoxu-video-script/references/formulas.md +0 -43
  710. package/skills/laoxu-video-script/references/method.md +0 -115
  711. package/skills/laoxu-video-script/references/motifs-and-lines.md +0 -829
  712. package/skills/laoxu-video-script/references/persona.md +0 -38
  713. package/skills/laoxu-video-script/references/qihao-path.md +0 -35
  714. package/skills/laoxu-video-script/references/qihao-xinfa.md +0 -39
  715. package/skills/laoxu-video-script/references/redlines.md +0 -26
  716. package/skills/lemo-opuscar/SKILL.md +0 -67
  717. package/skills/lipnardo/SKILL.md +0 -308
  718. package/skills/lipnardo/examples/batch-personalized.md +0 -44
  719. package/skills/lipnardo/examples/photo-to-avatar-pipeline.md +0 -56
  720. package/skills/lipnardo/examples/single-video.md +0 -44
  721. package/skills/lipnardo/references/avatar-types.md +0 -42
  722. package/skills/lipnardo/references/credit-costs.md +0 -39
  723. package/skills/lipnardo/references/error-codes.md +0 -66
  724. package/skills/lipnardo/references/heygen-api-reference.md +0 -416
  725. package/skills/ll-video-decomposer/SKILL.md +0 -105
  726. package/skills/ll-video-decomposer/references/audiovisual-analysis-guide.md +0 -44
  727. package/skills/ll-video-decomposer/references/evidence-and-confidence-rules.md +0 -41
  728. package/skills/ll-video-decomposer/references/multi-video-comparison-template.md +0 -48
  729. package/skills/ll-video-decomposer/references/single-video-report-template.md +0 -47
  730. package/skills/ll-video-decomposer/references/tool-discovery-workflow.md +0 -30
  731. package/skills/ll-video-decomposer/references/transcription-routing.md +0 -65
  732. package/skills/ll-video-decomposer/references/video-acquisition-workflow.md +0 -30
  733. package/skills/ltx2-video/SKILL.md +0 -193
  734. package/skills/ltx2-video/references/mode_ux.md +0 -293
  735. package/skills/make-ai-short/SKILL.md +0 -130
  736. package/skills/make-blender-education-video/SKILL.md +0 -247
  737. package/skills/make-blender-education-video/references/evidence-and-explanation.md +0 -62
  738. package/skills/make-blender-education-video/references/github-workflow-discovery.md +0 -55
  739. package/skills/make-blender-education-video/references/production-workflow.md +0 -62
  740. package/skills/make-blender-education-video/references/story-patterns.md +0 -65
  741. package/skills/make-blender-education-video/references/visual-quality.md +0 -82
  742. package/skills/manage-storyboard-projects/SKILL.md +0 -128
  743. package/skills/manim-composer/SKILL.md +0 -176
  744. package/skills/manim-composer/references/narrative-patterns.md +0 -125
  745. package/skills/manim-composer/references/scene-examples.md +0 -216
  746. package/skills/manim-composer/references/visual-techniques.md +0 -223
  747. package/skills/manim-composer/templates/scenes-template.md +0 -147
  748. package/skills/monet-ai-editor-monet/SKILL.md +0 -367
  749. package/skills/motion-graphics/SKILL.md +0 -206
  750. package/skills/motion-graphics/references/craft.md +0 -136
  751. package/skills/motion-graphics/references/engine.md +0 -130
  752. package/skills/motion-graphics/references/export.md +0 -67
  753. package/skills/motion-graphics/references/physics.md +0 -100
  754. package/skills/motion-graphics/references/verify.md +0 -124
  755. package/skills/motion-video/SKILL.md +0 -133
  756. package/skills/motion-video/references/audio-and-beat-sync.md +0 -109
  757. package/skills/motion-video/references/composition-contract.md +0 -107
  758. package/skills/motion-video/references/production-pipeline.md +0 -147
  759. package/skills/motion-video/references/style-comic-spiderverse.md +0 -87
  760. package/skills/motion-video/references/style-glass-keynote.md +0 -69
  761. package/skills/motion-video-maker/SKILL.md +0 -1452
  762. package/skills/motion-video-maker/reference/components.md +0 -451
  763. package/skills/motion-video-maker/reference/workflow.md +0 -190
  764. package/skills/motioncraft/SKILL.md +0 -221
  765. package/skills/motioncraft/references/animation-system.md +0 -57
  766. package/skills/motioncraft/references/assets-and-licensing.md +0 -21
  767. package/skills/motioncraft/references/customization.md +0 -52
  768. package/skills/motioncraft/references/gpu-cloud-render.md +0 -15
  769. package/skills/motioncraft/references/music.md +0 -43
  770. package/skills/motioncraft/references/phase1-planning-and-preview.md +0 -74
  771. package/skills/motioncraft/references/phase2-timeline-audio.md +0 -33
  772. package/skills/motioncraft/references/phase3-pixel-review.md +0 -13
  773. package/skills/motioncraft/references/phase4-templates.md +0 -30
  774. package/skills/motioncraft/references/preflight.md +0 -27
  775. package/skills/motioncraft/references/qa.md +0 -53
  776. package/skills/motioncraft/references/reference-analysis.md +0 -37
  777. package/skills/narrator-ai-cli/SKILL.md +0 -256
  778. package/skills/narrator-ai-cli/references/magic-video.md +0 -205
  779. package/skills/narrator-ai-cli/references/operations.md +0 -230
  780. package/skills/narrator-ai-cli/references/resources.md +0 -126
  781. package/skills/narrator-ai-cli/references/workflows.md +0 -332
  782. package/skills/newcut-video-clipping/SKILL.md +0 -194
  783. package/skills/newcut-video-clipping/references/examples.md +0 -59
  784. package/skills/newcut-video-clipping/references/provider-config.md +0 -110
  785. package/skills/newcut-video-clipping/references/quality-check.md +0 -35
  786. package/skills/newcut-video-clipping/references/semantic-plan.md +0 -65
  787. package/skills/notes-to-video/SKILL.md +0 -476
  788. package/skills/openchatcut/SKILL.md +0 -100
  789. package/skills/openchatcut/references/editing-workflow.md +0 -54
  790. package/skills/openchatcut/references/getting-started.md +0 -106
  791. package/skills/openchatcut/references/known-errors.md +0 -62
  792. package/skills/openstoryline-install/SKILL.md +0 -228
  793. package/skills/orca-motion/SKILL.md +0 -100
  794. package/skills/orca-motion/references/api.md +0 -100
  795. package/skills/orca-motion/references/integration.md +0 -59
  796. package/skills/orca-motion/references/kinetic-type.md +0 -59
  797. package/skills/orca-motion/references/principles.md +0 -76
  798. package/skills/package-talking-head-video/SKILL.md +0 -90
  799. package/skills/package-talking-head-video/docs/EXAMPLES.md +0 -18
  800. package/skills/package-talking-head-video/docs/TROUBLESHOOTING.md +0 -29
  801. package/skills/package-talking-head-video/docs/USAGE.md +0 -83
  802. package/skills/package-talking-head-video/docs/superpowers/plans/2026-08-08-multicolor-center-speaker.md +0 -144
  803. package/skills/package-talking-head-video/docs/superpowers/plans/2026-08-08-semantic-template-system-v2.md +0 -1099
  804. package/skills/package-talking-head-video/docs/superpowers/specs/2026-08-08-multicolor-center-speaker-design.md +0 -154
  805. package/skills/package-talking-head-video/docs/superpowers/specs/2026-08-08-semantic-template-system-v2-design.md +0 -365
  806. package/skills/package-talking-head-video/examples/auto-editing-0/GATE_A.md +0 -56
  807. package/skills/package-talking-head-video/examples/auto-editing-0/GATE_D.md +0 -8
  808. package/skills/package-talking-head-video/examples/auto-editing-0/QA_REPORT.md +0 -34
  809. package/skills/package-talking-head-video/references/director-rules.md +0 -29
  810. package/skills/package-talking-head-video/references/motion-and-illustration.md +0 -25
  811. package/skills/paper-cut/SKILL.md +0 -164
  812. package/skills/paper-cut/references/asset-spec.md +0 -47
  813. package/skills/paper-cut/references/audio-and-chatcut.md +0 -26
  814. package/skills/paper-cut/references/hyperframes-assembly.md +0 -47
  815. package/skills/paper-cut/references/image-led-production.md +0 -65
  816. package/skills/paper-cut/references/storyboard-schema.md +0 -48
  817. package/skills/paper-cut/references/workflow.md +0 -39
  818. package/skills/personal-ip-brand-intro/SKILL.md +0 -216
  819. package/skills/personal-ip-brand-intro/references/intake-schema.md +0 -79
  820. package/skills/personal-ip-brand-intro/references/music-upload-workflow.md +0 -40
  821. package/skills/personal-ip-brand-intro/references/originality-rules.md +0 -42
  822. package/skills/personal-ip-brand-intro/references/qa-checklist.md +0 -60
  823. package/skills/personal-ip-brand-intro/references/rhythm-routing.md +0 -41
  824. package/skills/personal-ip-brand-intro/references/storyboard-contract.md +0 -42
  825. package/skills/pixel2motion/SKILL.md +0 -279
  826. package/skills/pixel2motion/references/html-delivery-template.md +0 -42
  827. package/skills/pixel2motion/references/motion-personality.md +0 -109
  828. package/skills/pixel2motion/references/reveal-patterns.md +0 -163
  829. package/skills/pixel2motion/references/ribbon-fitting.md +0 -90
  830. package/skills/pixel2motion/references/twelve-principles-for-logos.md +0 -116
  831. package/skills/premiere-batch-delivery/SKILL.md +0 -71
  832. package/skills/premiere-pro-mcp/SKILL.md +0 -161
  833. package/skills/promo-creator-skills/SKILL.md +0 -209
  834. package/skills/promo-creator-skills/references/mureka_prompt_guide.md +0 -251
  835. package/skills/promo-creator-skills/references/product_promo_bgm_prompting.md +0 -100
  836. package/skills/promo-video/SKILL.md +0 -408
  837. package/skills/qisi-video-remix/SKILL.md +0 -134
  838. package/skills/qisi-video-remix/examples/creative-plan.md +0 -133
  839. package/skills/qisi-video-remix/references/delivery-guide.md +0 -63
  840. package/skills/reel-video/SKILL.md +0 -237
  841. package/skills/remotion-ad-video/SKILL.md +0 -252
  842. package/skills/remotion-ad-video/references/ad-aesthetic-qa.md +0 -60
  843. package/skills/remotion-ad-video/references/ad-brief-contract.md +0 -235
  844. package/skills/remotion-ad-video/references/ad-exemplars.md +0 -186
  845. package/skills/remotion-ad-video/references/ad-intake.md +0 -54
  846. package/skills/remotion-ad-video/references/asset-harvest.md +0 -56
  847. package/skills/remotion-ad-video/references/audio-caption-system.md +0 -202
  848. package/skills/remotion-ad-video/references/concept-contract.md +0 -128
  849. package/skills/remotion-ad-video/references/creative-direction.md +0 -146
  850. package/skills/remotion-ad-video/references/fast-test-workflow.md +0 -86
  851. package/skills/remotion-ad-video/references/game-ad-patterns.md +0 -75
  852. package/skills/remotion-ad-video/references/hyperframes-output.md +0 -90
  853. package/skills/remotion-ad-video/references/industry-angle-library.md +0 -71
  854. package/skills/remotion-ads/SKILL.md +0 -278
  855. package/skills/remotion-ads/references/ad-copywriting.md +0 -229
  856. package/skills/remotion-ads/references/animations.md +0 -693
  857. package/skills/remotion-ads/references/brand-config-template.md +0 -355
  858. package/skills/remotion-ads/references/captions.md +0 -529
  859. package/skills/remotion-ads/references/carousels.md +0 -580
  860. package/skills/remotion-ads/references/components.md +0 -897
  861. package/skills/remotion-ads/references/copy-frameworks.md +0 -144
  862. package/skills/remotion-ads/references/formats.md +0 -436
  863. package/skills/remotion-ads/references/gemini-tts.md +0 -473
  864. package/skills/remotion-ads/references/html-in-canvas.md +0 -555
  865. package/skills/remotion-ads/references/local-assets.md +0 -543
  866. package/skills/remotion-ads/references/music.md +0 -656
  867. package/skills/remotion-code-motion-explainer/SKILL.md +0 -178
  868. package/skills/remotion-code-motion-explainer/references/code-motion-design.md +0 -86
  869. package/skills/remotion-code-motion-explainer/references/motion-production-patterns.md +0 -93
  870. package/skills/remotion-code-motion-explainer/references/production-and-qc.md +0 -99
  871. package/skills/remotion-code-motion-explainer/references/reference-reconstruction.md +0 -48
  872. package/skills/remotion-code-motion-explainer/references/ui-motion-shot-library.md +0 -62
  873. package/skills/remotion-motion-graphics/SKILL.md +0 -169
  874. package/skills/remotion-motion-graphics/references/patterns.md +0 -355
  875. package/skills/remotion-motion-graphics/references/polish.md +0 -102
  876. package/skills/remotion-motion-graphics/references/scaffold.md +0 -144
  877. package/skills/remotion-motion-graphics/references/traps.md +0 -152
  878. package/skills/remotion-resemble-ai/SKILL.md +0 -879
  879. package/skills/remotion-resemble-ai/rules/resemble-captions.md +0 -350
  880. package/skills/remotion-resemble-ai/rules/resemble-remotion-integration.md +0 -305
  881. package/skills/remotion-resemble-ai/rules/resemble-setup.md +0 -284
  882. package/skills/remotion-resemble-ai/rules/resemble-streaming-tts.md +0 -225
  883. package/skills/remotion-resemble-ai/rules/resemble-sync-tts.md +0 -239
  884. package/skills/remotion-resemble-ai/rules/resemble-voices.md +0 -213
  885. package/skills/remotion-resemble-ai/rules/visual-animations.md +0 -567
  886. package/skills/riffkit/SKILL.md +0 -196
  887. package/skills/riffkit/examples/any-look-styles.md +0 -11
  888. package/skills/riffkit/examples/faceless-and-auto.md +0 -16
  889. package/skills/riffkit/examples/localize-spanish.md +0 -18
  890. package/skills/riffkit/examples/tiktok-shop-product.md +0 -22
  891. package/skills/riffkit/references/anchor.md +0 -62
  892. package/skills/riffkit/references/api.md +0 -806
  893. package/skills/riffkit/references/details.md +0 -153
  894. package/skills/riffkit/references/errors.md +0 -69
  895. package/skills/riffkit/references/intents.md +0 -29
  896. package/skills/saas-motion-video/SKILL.md +0 -71
  897. package/skills/script-to-video/SKILL.md +0 -2627
  898. package/skills/shorts/SKILL.md +0 -372
  899. package/skills/shorts/references/caption-styles.md +0 -105
  900. package/skills/shorts/references/platform-specs.md +0 -149
  901. package/skills/shorts/references/remotion-patterns.md +0 -180
  902. package/skills/shorts/references/scoring-rubric.md +0 -106
  903. package/skills/smart-video-editor/SKILL.md +0 -327
  904. package/skills/smart-video-editor/docs/FONTS.md +0 -57
  905. package/skills/story-telling/SKILL.md +0 -222
  906. package/skills/story-telling/rules/composition.md +0 -130
  907. package/skills/story-telling/rules/images.md +0 -119
  908. package/skills/story-telling/rules/models.md +0 -98
  909. package/skills/story-telling/rules/narration.md +0 -87
  910. package/skills/story-telling/rules/pitfalls.md +0 -140
  911. package/skills/story-telling/rules/story-formats.md +0 -108
  912. package/skills/story-telling/rules/story-json.md +0 -143
  913. package/skills/story-telling/rules/voices.md +0 -114
  914. package/skills/story-telling/rules/workflow.md +0 -105
  915. package/skills/story-to-handdrawn-video/SKILL.md +0 -216
  916. package/skills/story-to-handdrawn-video/references/asset-workflow.md +0 -24
  917. package/skills/story-to-handdrawn-video/references/reference-style-workflow.md +0 -27
  918. package/skills/su-card-to-video/SKILL.md +0 -103
  919. package/skills/talking-head-video-pipeline/SKILL.md +0 -224
  920. package/skills/talking-head-video-pipeline/examples/prompts.md +0 -217
  921. package/skills/talking-head-video-pipeline/references/asr-adapters.md +0 -51
  922. package/skills/talking-head-video-pipeline/references/caption-workflow.md +0 -53
  923. package/skills/talking-head-video-pipeline/references/export-recipes.md +0 -78
  924. package/skills/talking-head-video-pipeline/references/layout-safety.md +0 -49
  925. package/skills/talking-head-video-pipeline/references/video-use-integration.md +0 -71
  926. package/skills/talking-head-video-pipeline/references/workflows/captions.md +0 -52
  927. package/skills/talking-head-video-pipeline/references/workflows/design.md +0 -77
  928. package/skills/talking-head-video-pipeline/references/workflows/doctor.md +0 -51
  929. package/skills/talking-head-video-pipeline/references/workflows/export.md +0 -50
  930. package/skills/talking-head-video-pipeline/references/workflows/init.md +0 -51
  931. package/skills/talking-head-video-pipeline/references/workflows/learn.md +0 -36
  932. package/skills/text-to-lottie/SKILL.md +0 -202
  933. package/skills/text-to-lottie/references/chapterization-transition-grammar.md +0 -132
  934. package/skills/text-to-lottie/references/design-taste.md +0 -292
  935. package/skills/text-to-lottie/references/lottie-spec-map.md +0 -82
  936. package/skills/text-to-lottie/references/motion-taste.md +0 -260
  937. package/skills/text-to-lottie/references/player-contract.md +0 -325
  938. package/skills/text-to-lottie/references/recipe-camera-scene-motion.md +0 -65
  939. package/skills/text-to-lottie/references/recipe-data-stats.md +0 -104
  940. package/skills/text-to-lottie/references/recipe-diagram-technical.md +0 -106
  941. package/skills/text-to-lottie/references/recipe-loaders-icons.md +0 -70
  942. package/skills/text-to-lottie/references/recipe-logo.md +0 -72
  943. package/skills/text-to-lottie/references/recipe-lower-thirds.md +0 -62
  944. package/skills/text-to-lottie/references/recipe-product-promo.md +0 -99
  945. package/skills/ultrademo/SKILL.md +0 -212
  946. package/skills/video-assemble/SKILL.md +0 -101
  947. package/skills/video-assemble-zenstory-ai/SKILL.md +0 -153
  948. package/skills/video-assemble-zenstory-ai/references/audio-modes.md +0 -63
  949. package/skills/video-assemble-zenstory-ai/references/explicit-audio-mix.md +0 -77
  950. package/skills/video-assemble-zenstory-ai/references/jianying/SOURCE.md +0 -14
  951. package/skills/video-assemble-zenstory-ai/references/narration-adoption.md +0 -103
  952. package/skills/video-assemble-zenstory-ai/references/packaging.md +0 -44
  953. package/skills/video-assemble-zenstory-ai/references/source-score.md +0 -146
  954. package/skills/video-assemble-zenstory-ai/references/subtitle-track.md +0 -202
  955. package/skills/video-editing/SKILL.md +0 -688
  956. package/skills/video-explainer/SKILL.md +0 -163
  957. package/skills/video-explainer/references/brief-to-script.md +0 -56
  958. package/skills/video-explainer/references/errors-and-privacy.md +0 -18
  959. package/skills/video-explainer/references/motion-storyboard.md +0 -82
  960. package/skills/video-explainer/references/render-and-verify.md +0 -62
  961. package/skills/video-explainer/references/review-gate.md +0 -82
  962. package/skills/video-explainer/references/setup-and-doctor.md +0 -33
  963. package/skills/video-script-builder/SKILL.md +0 -329
  964. package/skills/video-script-builder/examples/quick-start-transcript.md +0 -19
  965. package/skills/video-script-builder/references/audio-workflow.md +0 -84
  966. package/skills/video-script-builder/references/caption-components.md +0 -70
  967. package/skills/video-script-builder/references/common-pitfalls.md +0 -80
  968. package/skills/video-script-builder/references/component-catalog.md +0 -197
  969. package/skills/video-script-builder/references/component-recipes.md +0 -165
  970. package/skills/video-script-builder/references/gsap-patterns.md +0 -112
  971. package/skills/video-script-builder/references/pacing-rules.md +0 -78
  972. package/skills/video-script-builder/references/quality-checklist.md +0 -98
  973. package/skills/video-script-builder/references/remotion-patterns.md +0 -211
  974. package/skills/video-script-builder/references/shader-transitions.md +0 -115
  975. package/skills/video-script-builder/references/taste-principles.md +0 -160
  976. package/skills/video-scrub/SKILL.md +0 -216
  977. package/skills/video-scrub/references/profiles.md +0 -89
  978. package/skills/video-scrub/references/residue-map.md +0 -204
  979. package/skills/video-short-maker/SKILL.md +0 -182
  980. package/skills/video-shot-analysis-feishu/SKILL.md +0 -173
  981. package/skills/video-shotcraft/SKILL.md +0 -267
  982. package/skills/video-shotcraft/docs/deepseek-harness.md +0 -69
  983. package/skills/video-shotcraft/references/aesthetic-rules.md +0 -177
  984. package/skills/video-shotcraft/references/final-review.md +0 -112
  985. package/skills/video-shotcraft/references/guided-free-creation.md +0 -199
  986. package/skills/video-shotcraft/references/jianying-export.md +0 -182
  987. package/skills/video-shotcraft/references/music-beat-sync.md +0 -219
  988. package/skills/video-shotcraft/references/pipeline.md +0 -390
  989. package/skills/video-shotcraft/references/sequences/promo-energy-arc.md +0 -50
  990. package/skills/video-shotcraft/references/shots/ATTRIBUTION.md +0 -65
  991. package/skills/video-shotcraft/references/shots/camera/basic-3d-scene.md +0 -37
  992. package/skills/video-shotcraft/references/shots/camera/crash-zoom-punch.md +0 -39
  993. package/skills/video-shotcraft/references/shots/camera/cursor-flyover.md +0 -38
  994. package/skills/video-shotcraft-vincentwei10/SKILL.md +0 -316
  995. package/skills/video-shotcraft-vincentwei10/references/aesthetic-rules.md +0 -187
  996. package/skills/video-shotcraft-vincentwei10/references/final-review.md +0 -116
  997. package/skills/video-shotcraft-vincentwei10/references/guided-free-creation.md +0 -199
  998. package/skills/video-shotcraft-vincentwei10/references/jianying-export.md +0 -183
  999. package/skills/video-shotcraft-vincentwei10/references/music-beat-sync.md +0 -257
  1000. package/skills/video-shotcraft-vincentwei10/references/pipeline.md +0 -401
  1001. package/skills/video-shotcraft-vincentwei10/references/publish-upload-post.md +0 -111
  1002. package/skills/video-shotcraft-vincentwei10/references/sequences/promo-energy-arc.md +0 -50
  1003. package/skills/video-shotcraft-vincentwei10/references/shots/ATTRIBUTION.md +0 -62
  1004. package/skills/video-shotcraft-vincentwei10/references/shots/camera/basic-3d-scene.md +0 -41
  1005. package/skills/video-shotcraft-vincentwei10/references/shots/camera/crash-zoom-punch.md +0 -52
  1006. package/skills/video-shotcraft-vincentwei10/references/shots/camera/cursor-flyover.md +0 -39
  1007. package/skills/video-structure-analyzer/SKILL.md +0 -148
  1008. package/skills/video-structure-analyzer/examples/xhs-rook-time-spend/xhs-rook-time-spend_/346/213/211/347/211/207/346/213/206/350/247/243.md +0 -50
  1009. package/skills/video-structure-analyzer/examples/xhs-smelly-cat/xhs-smelly-cat_/346/213/211/347/211/207/346/213/206/350/247/243.md +0 -19
  1010. package/skills/video-toolkit/SKILL.md +0 -686
  1011. package/skills/videocut/SKILL.md +0 -159
  1012. package/skills/videodb/SKILL.md +0 -497
  1013. package/skills/videodb/reference/api-reference.md +0 -741
  1014. package/skills/videodb/reference/capture-reference.md +0 -399
  1015. package/skills/videodb/reference/capture.md +0 -110
  1016. package/skills/videodb/reference/editor-reference.md +0 -506
  1017. package/skills/videodb/reference/editor.md +0 -389
  1018. package/skills/videodb/reference/generative.md +0 -344
  1019. package/skills/videodb/reference/indexing-reference.md +0 -481
  1020. package/skills/videodb/reference/indexing.md +0 -537
  1021. package/skills/videodb/reference/legacy/index-reference.md +0 -223
  1022. package/skills/videodb/reference/legacy/index.md +0 -241
  1023. package/skills/videodb/reference/legacy/search.md +0 -249
  1024. package/skills/videodb/reference/migration.md +0 -113
  1025. package/skills/vlog-auto-edit/SKILL.md +0 -982
  1026. package/skills/vlog-auto-edit/examples/project_structure.md +0 -84
  1027. package/skills/vox-animated-ad-mcp/SKILL.md +0 -419
  1028. package/skills/vox-director/SKILL.md +0 -351
  1029. package/skills/vox-director/references/beat-layer.md +0 -143
  1030. package/skills/vox-director/references/host-mode.md +0 -120
  1031. package/skills/vox-director/references/local-engine.md +0 -73
  1032. package/skills/vox-director/references/models-and-gotchas.md +0 -91
  1033. package/skills/vox-director/references/prompt-guide.md +0 -275
  1034. package/skills/vox-director/references/voices.md +0 -59
  1035. package/skills/xingchen-vox-collage/SKILL.md +0 -251
  1036. package/skills/xingchen-vox-collage/references/asset-layer-contract.md +0 -98
  1037. package/skills/xingchen-vox-collage/references/creative-exploration.md +0 -19
  1038. package/skills/xingchen-vox-collage/references/learned-branches.md +0 -34
  1039. package/skills/xingchen-vox-collage/references/remotion-scene-contract.md +0 -77
  1040. package/skills/xingchen-vox-collage/references/visual-language.md +0 -74
  1041. package/skills/xingchen-vox-collage/references/visual-qa.md +0 -59
  1042. package/skills/youtube/SKILL.md +0 -147
  1043. package/skills/youtube/references/algorithm-guide.md +0 -59
  1044. package/skills/youtube/references/analytics-benchmarks.md +0 -67
  1045. package/skills/youtube/references/dataforseo-integration.md +0 -51
  1046. package/skills/youtube/references/monetization-guide.md +0 -62
  1047. package/skills/youtube/references/repurposing-guide.md +0 -54
  1048. package/skills/youtube/references/retention-scripting-guide.md +0 -75
  1049. package/skills/youtube/references/seo-playbook.md +0 -77
  1050. package/skills/youtube/references/shorts-playbook.md +0 -64
  1051. package/skills/youtube/references/thumbnail-ctr-guide.md +0 -73
  1052. package/skills/youtube-shorts-factory/SKILL.md +0 -358
  1053. package/skills/youtube-shorts-factory/resources/adaptation-guide.md +0 -133
  1054. package/skills/youtube-shorts-factory/resources/storyboard-template.md +0 -271
  1055. package/skills/youtube-shorts-factory/resources/workflow-steps.md +0 -139
  1056. package/studio/ui/dist/assets/ExportCenter-DEyy1vs_.js +0 -1
  1057. package/studio/ui/dist/assets/SettingsModal-CQmsA2A2.js +0 -2
  1058. package/studio/ui/dist/assets/es-AqUfIkAy.js +0 -1
  1059. package/studio/ui/dist/assets/index-C7moXjTY.css +0 -1
  1060. package/studio/ui/dist/assets/index-DdU5QNpY.js +0 -1623
  1061. package/studio/ui/dist/assets/ja-YwiCB4QQ.js +0 -1
  1062. package/studio/ui/dist/assets/ko-CKtBPDze.js +0 -1
  1063. package/studio/ui/dist/assets/zh-CN-DtNEwKWJ.js +0 -1
@@ -0,0 +1,937 @@
1
+ {
2
+ // ---------- Flat-vector science explainer: deep space gradients, chunky shaded balls, crescent shadows, glows ----------
3
+ const TAU = Math.PI * 2;
4
+ const cl = H.clamp, lerp = H.lerp;
5
+ const seg = (t, a, b) => cl((t - a) / (b - a));
6
+ const eo = H.ease.out, eio = H.ease.inOut;
7
+ // gentle overshoot
8
+ const back = (u, s = 1.5) => { if (u <= 0) return 0; if (u >= 1) return 1; return 1 + (s + 1) * Math.pow(u - 1, 3) + s * Math.pow(u - 1, 2); };
9
+ const FONT = '"Nunito", "Fredoka", sans-serif';
10
+ const F = (w, px) => `${w} ${px}px ${FONT}`;
11
+
12
+ const C = {
13
+ sky0: '#090b2c', sky1: '#18134f', sky2: '#3a1a6c',
14
+ ink: '#141846', visor: '#10164a',
15
+ teal: ['#a4fbef', '#3ccbdc', '#1d64b0'],
16
+ orange: ['#ffcc7a', '#ff8d3f', '#d24a2a'],
17
+ tan: ['#ffe9be', '#ecb676', '#b4723c'],
18
+ yellow: '#ffd23f', pink: '#ff5d8f', red: '#ff3b5c', green: '#38e08e', cyan: '#56e8ff', violet: '#8b5cff',
19
+ };
20
+
21
+ // ---------- timeline of the explainer (shared with explainerSound) ----------
22
+ const TL = {
23
+ title: 0.15, titleShrink: [1.8, 2.4], robotIn: [0.5, 1.4], robotMove: [1.9, 2.8],
24
+ arrow: [2.55, 3.1], count: [2.8, 5.6], travel: 1.5,
25
+ zoom: [4.55, 5.8], sweep: [5.95, 6.85],
26
+ catIn: [6.35, 6.95], guess: 6.95, bubble: 7.15, check: 7.6, wrong: 7.75,
27
+ err: [8.05, 8.6], adjust: 8.6, zoomIn: [8.65, 9.1], rewire: [8.75, 9.35], zoomBack: [9.45, 9.85],
28
+ guess2: 9.6, right: 9.75, toC: [10.3, 10.8], acc: [11.0, 12.55], hit: 12.55,
29
+ take: [13.0, 13.75], line1: 13.3, line2: 13.55, D: 15,
30
+ };
31
+ // creature spawn times on the data stream
32
+ const SPAWN = (() => { const a = []; let s = 2.75, i = 0; while (s < 5.3) { a.push(s); s += Math.max(0.18, 0.38 - i * 0.03); i++; } return a; })();
33
+ const KIND = (i) => ['cat', 'dog', 'cat', 'cat', 'dog', 'dog', 'cat', 'dog'][i % 8];
34
+
35
+ // ---------- small helpers ----------
36
+ function rr(x, X, Y, w, h, r) {
37
+ r = Math.min(r, w / 2, h / 2);
38
+ x.beginPath(); x.moveTo(X + r, Y); x.arcTo(X + w, Y, X + w, Y + h, r); x.arcTo(X + w, Y + h, X, Y + h, r);
39
+ x.arcTo(X, Y + h, X, Y, r); x.arcTo(X, Y, X + w, Y, r); x.closePath();
40
+ }
41
+ function glow(x, cx, cy, r, col, a) {
42
+ if (a <= 0 || r <= 0) return;
43
+ const g = x.createRadialGradient(cx, cy, 0, cx, cy, r);
44
+ g.addColorStop(0, H.rgba(col, a)); g.addColorStop(0.35, H.rgba(col, a * 0.4)); g.addColorStop(1, H.rgba(col, 0));
45
+ x.fillStyle = g; x.beginPath(); x.arc(cx, cy, r, 0, TAU); x.fill();
46
+ }
47
+ function spark(x, cx, cy, r, col, a) {
48
+ if (a <= 0 || r <= 0) return;
49
+ x.save(); x.globalAlpha *= a; x.fillStyle = col; x.beginPath();
50
+ x.moveTo(cx, cy - r); x.quadraticCurveTo(cx, cy, cx + r, cy); x.quadraticCurveTo(cx, cy, cx, cy + r);
51
+ x.quadraticCurveTo(cx, cy, cx - r, cy); x.quadraticCurveTo(cx, cy, cx, cy - r); x.fill(); x.restore();
52
+ }
53
+ // region of circle (cx,cy,r) NOT covered by the same circle shifted by (dx,dy)
54
+ function crescent(x, cx, cy, r, dx, dy, fill) {
55
+ x.save(); x.beginPath(); x.arc(cx, cy, r, 0, TAU); x.clip();
56
+ x.beginPath(); x.rect(cx - r - 2, cy - r - 2, 2 * r + 4, 2 * r + 4); x.arc(cx + dx, cy + dy, r * 1.02, 0, TAU);
57
+ x.fillStyle = fill; x.fill('evenodd'); x.restore();
58
+ }
59
+ // the core flat-vector ball: multi-stop gradient, two stepped flat shadow crescents, rim highlight
60
+ function ball(x, cx, cy, r, col, o = {}) {
61
+ if (r <= 0.3) return;
62
+ const la = o.la == null ? -2.25 : o.la, lx = Math.cos(la), ly = Math.sin(la);
63
+ const g = x.createLinearGradient(cx + lx * r, cy + ly * r, cx - lx * r, cy - ly * r);
64
+ g.addColorStop(0, col[0]); g.addColorStop(0.45, col[1]); g.addColorStop(1, H.rgba(H.mix(col[1], col[2], 0.6)));
65
+ x.fillStyle = g; x.beginPath(); x.arc(cx, cy, r, 0, TAU); x.fill();
66
+ if (o.inner) { x.save(); x.beginPath(); x.arc(cx, cy, r, 0, TAU); x.clip(); o.inner(); x.restore(); }
67
+ const sh = o.sh == null ? 0.3 : o.sh;
68
+ crescent(x, cx, cy, r, lx * r * sh, ly * r * sh, H.rgba(col[2], o.sha == null ? 0.5 : o.sha));
69
+ crescent(x, cx, cy, r, lx * r * sh * 2.2, ly * r * sh * 2.2, H.rgba(col[2], (o.sha == null ? 0.5 : o.sha) * 0.45));
70
+ crescent(x, cx, cy, r, -lx * r * 0.075, -ly * r * 0.075, H.rgba(o.rim || '#ffffff', o.rima == null ? 0.42 : o.rima));
71
+ }
72
+ const bez = (P, u) => { const v = 1 - u; return [v * v * v * P[0][0] + 3 * v * v * u * P[1][0] + 3 * v * u * u * P[2][0] + u * u * u * P[3][0], v * v * v * P[0][1] + 3 * v * v * u * P[1][1] + 3 * v * u * u * P[2][1] + u * u * u * P[3][1]]; };
73
+ // rounded dotted / solid arrow along a cubic, drawn on to `prog`
74
+ function arrow(x, P, prog, col, lw, o = {}) {
75
+ if (prog <= 0) return;
76
+ const n = 48, a = o.a == null ? 1 : o.a;
77
+ x.save(); x.globalAlpha *= a; x.strokeStyle = col; x.fillStyle = col; x.lineWidth = lw; x.lineCap = 'round'; x.lineJoin = 'round';
78
+ if (o.dots) x.setLineDash([0.01, lw * 1.9]);
79
+ x.beginPath(); const p0 = bez(P, o.from || 0); x.moveTo(p0[0], p0[1]);
80
+ for (let i = 1; i <= n; i++) { const u = (o.from || 0) + ((prog - (o.from || 0)) * i) / n; const p = bez(P, u); x.lineTo(p[0], p[1]); }
81
+ x.stroke(); x.setLineDash([]);
82
+ if (o.head !== false && prog > 0.08) {
83
+ const e = bez(P, prog), e0 = bez(P, prog - 0.02), ang = Math.atan2(e[1] - e0[1], e[0] - e0[0]), hs = lw * 1.5 * cl(prog * 5);
84
+ x.translate(e[0], e[1]); x.rotate(ang); x.beginPath(); x.moveTo(hs * 1.1, 0); x.lineTo(-hs * 0.8, hs); x.lineTo(-hs * 0.8, -hs); x.closePath();
85
+ x.lineWidth = lw * 0.7; x.fill(); x.stroke();
86
+ }
87
+ x.restore();
88
+ }
89
+ // flat text with a darker offset "long shadow"
90
+ function text(x, s, cx, cy, px, col, o = {}) {
91
+ x.save(); x.font = F(o.w || 900, px); x.textAlign = o.align || 'center'; x.textBaseline = 'middle';
92
+ x.globalAlpha *= o.a == null ? 1 : o.a;
93
+ x.fillStyle = o.shadow || 'rgba(10,8,46,0.55)'; x.fillText(s, cx + px * 0.03, cy + px * 0.07);
94
+ x.fillStyle = col; x.fillText(s, cx, cy); x.restore();
95
+ }
96
+ // rounded label pill, optional pointer below
97
+ function pill(x, cx, cy, s, px, o = {}) {
98
+ const sc = o.s == null ? 1 : o.s, a = o.a == null ? 1 : o.a;
99
+ if (sc <= 0.01 || a <= 0.01) return;
100
+ x.save(); x.font = F(o.w || 900, px);
101
+ const tw = x.measureText(s).width, w = tw + px * 1.15, h = px * 1.6;
102
+ x.translate(cx, cy); x.scale(sc, sc); x.globalAlpha *= a;
103
+ x.fillStyle = 'rgba(10,8,46,0.4)'; rr(x, -w / 2, -h / 2 + px * 0.2, w, h, h / 2); x.fill();
104
+ x.fillStyle = o.bg || '#ffffff';
105
+ if (o.ptr) { x.beginPath(); x.moveTo(-px * 0.35, h / 2 - 2); x.lineTo(0, h / 2 + px * 0.45); x.lineTo(px * 0.35, h / 2 - 2); x.fill(); }
106
+ rr(x, -w / 2, -h / 2, w, h, h / 2); x.fill();
107
+ x.fillStyle = 'rgba(255,255,255,0.35)'; rr(x, -w / 2 + h * 0.25, -h / 2 + h * 0.12, w - h * 0.5, h * 0.16, h * 0.08); x.fill();
108
+ x.fillStyle = o.fg || C.ink; x.textAlign = 'center'; x.textBaseline = 'middle'; x.fillText(s, 0, px * 0.06);
109
+ x.restore();
110
+ return w;
111
+ }
112
+
113
+ // ---------- sky: gradient, nebula glows, parallax stars and sparkles ----------
114
+ let STARS = null;
115
+ function stars() {
116
+ if (STARS) return STARS;
117
+ const r = H.rng(77), a = [], sp = [];
118
+ for (let i = 0; i < 620; i++) a.push({ x: r.range(0, 1680), y: r.range(0, 1120), d: r.pick([0.15, 0.3, 0.3, 0.55, 1]), s: r.range(0.6, 2.0), ph: r.range(0, TAU), sp: r.range(0.8, 2.6), c: r.pick(['#ffffff', '#cfe4ff', '#ffe9c7', '#dccbff']) });
119
+ for (let i = 0; i < 16; i++) sp.push({ x: r.range(0, 1680), y: r.range(0, 1120), d: r.range(0.3, 0.9), s: r.range(6, 13), ph: r.range(0, TAU) });
120
+ STARS = { a, sp }; return STARS;
121
+ }
122
+ function sky(x, W, H_, t, cam = {}) {
123
+ const px = cam.x || 0, py = cam.y || 0, lz = Math.log(cam.z || 1);
124
+ const g = x.createLinearGradient(0, 0, W * 0.3, H_);
125
+ g.addColorStop(0, C.sky0); g.addColorStop(0.5, C.sky1); g.addColorStop(1, C.sky2);
126
+ x.fillStyle = g; x.fillRect(0, 0, W, H_);
127
+ glow(x, W * 0.86, H_ * 0.12, 700, '#7b34c6', 0.34);
128
+ glow(x, W * 0.05, H_ * 1.0, 620, '#2448b4', 0.4);
129
+ glow(x, W * 0.45, H_ * 0.6, 520, '#4a2a9c', 0.16);
130
+ const S = stars();
131
+ const place = (s) => {
132
+ const k = Math.exp(lz * s.d * 0.6);
133
+ let sx = (((s.x - px * s.d) % 1680) + 1680) % 1680 - 200, sy = (((s.y - py * s.d) % 1120) + 1120) % 1120 - 200;
134
+ return [(sx - 640) * k + 640, (sy - 360) * k + 360];
135
+ };
136
+ for (const s of S.a) {
137
+ const [sx, sy] = place(s);
138
+ if (sx < -4 || sx > W + 4 || sy < -4 || sy > H_ + 4) continue;
139
+ x.globalAlpha = (0.55 + 0.45 * Math.sin(t * s.sp + s.ph)) * (0.45 + s.d * 0.55);
140
+ x.fillStyle = s.c; x.beginPath(); x.arc(sx, sy, s.s * (0.7 + 0.35 * s.d), 0, TAU); x.fill();
141
+ }
142
+ x.globalAlpha = 1;
143
+ for (const s of S.sp) {
144
+ const [sx, sy] = place(s); const tw = 0.6 + 0.4 * Math.sin(t * 1.7 + s.ph);
145
+ glow(x, sx, sy, s.s * 2.2, '#bfa8ff', 0.25 * tw);
146
+ spark(x, sx, sy, s.s * tw, '#ffffff', 0.9);
147
+ }
148
+ }
149
+
150
+ // ---------- planets ----------
151
+ function ring(x, cx, cy, R, half, a = 1) {
152
+ if (a <= 0) return;
153
+ x.save(); x.translate(cx, cy); x.rotate(R.tilt); x.globalAlpha *= a;
154
+ // clip to the back or front half, wide enough for the outermost band so the ring ends are never cut off
155
+ const m = Math.max(...R.bands.map((b) => b[1])) * 1.05;
156
+ x.beginPath(); if (half === 'back') x.rect(-R.rx * m, -R.ry * m, R.rx * m * 2, R.ry * m); else x.rect(-R.rx * m, 0, R.rx * m * 2, R.ry * m); x.clip();
157
+ for (const [f0, f1, col, al] of R.bands) {
158
+ x.beginPath(); x.ellipse(0, 0, R.rx * f1, R.ry * f1, 0, 0, TAU); x.ellipse(0, 0, R.rx * f0, R.ry * f0, 0, 0, TAU);
159
+ x.fillStyle = H.rgba(col, (al == null ? 1 : al) * (half === 'back' ? 0.75 : 1)); x.fill('evenodd');
160
+ }
161
+ x.restore();
162
+ }
163
+ function bands(x, r, B, tilt) {
164
+ x.save(); x.rotate(tilt || 0);
165
+ for (const [v0, v1, col, a] of B) {
166
+ x.beginPath();
167
+ for (let i = 0; i <= 20; i++) { const u = (i / 20) * 2 - 1; x.lineTo(u * r * 1.1, (v0 + 0.13 * (1 - u * u)) * r); }
168
+ for (let i = 20; i >= 0; i--) { const u = (i / 20) * 2 - 1; x.lineTo(u * r * 1.1, (v1 + 0.13 * (1 - u * u)) * r); }
169
+ x.fillStyle = H.rgba(col, a == null ? 1 : a); x.fill();
170
+ }
171
+ x.restore();
172
+ }
173
+ const PL = {
174
+ magenta: { c: ['#ffa0c4', '#de4b93', '#4e1670'], glow: '#ff5fa8', tilt: -0.18, atmo: [255, 214, 234],
175
+ bands: [[-0.62, -0.48, '#ffc1d8', 0.55], [-0.2, -0.02, '#b5307e', 0.6], [0.06, 0.14, '#ffd0e2', 0.4], [0.36, 0.58, '#9a2775', 0.55]],
176
+ ring: { rx: 1.75, ry: 0.5, tilt: -0.2, bands: [[1.18, 1.32, '#ffd27a', 0.95], [1.34, 1.5, '#ff9f5a', 0.9], [1.53, 1.6, '#ffe7b0', 0.8]] } },
177
+ coral: { c: ['#ffd29a', '#ff7a4a', '#7a1f4f'], glow: '#ff8a50', tilt: 0.1, atmo: [255, 226, 190],
178
+ bands: [[-0.7, -0.5, '#ffe2b8', 0.5], [-0.32, -0.12, '#e8553a', 0.6], [0.05, 0.22, '#ffb27a', 0.5], [0.4, 0.62, '#c43c46', 0.55]] },
179
+ teal: { c: ['#9ff3ff', '#3a9be0', '#1d2f86'], glow: '#4fc9ff', tilt: -0.12, atmo: [190, 245, 255],
180
+ bands: [[-0.5, -0.36, '#c6f8ff', 0.5], [-0.05, 0.1, '#2f74c9', 0.55], [0.32, 0.5, '#7fdcff', 0.4]] },
181
+ moon: { c: ['#e8e6ff', '#a7a2d8', '#4a3f8c'], craters: true },
182
+ };
183
+ function planet(x, cx, cy, r, pal, o = {}) {
184
+ if (r <= 0.5) return;
185
+ const ra = o.ringA == null ? 1 : o.ringA;
186
+ if (pal.glow) glow(x, cx, cy, r * 1.7, pal.glow, o.glowA == null ? 0.32 : o.glowA);
187
+ const R = pal.ring && { rx: pal.ring.rx * r, ry: pal.ring.ry * r, tilt: pal.ring.tilt, bands: pal.ring.bands };
188
+ if (R) ring(x, cx, cy, R, 'back', ra);
189
+ if (o.behind) o.behind(R);
190
+ ball(x, cx, cy, r, pal.c, {
191
+ sh: 0.34, sha: 0.55, rima: 0.35,
192
+ inner: () => {
193
+ x.save(); x.translate(cx, cy);
194
+ if (pal.bands) bands(x, r, pal.bands, pal.tilt);
195
+ if (pal.craters) { const q = H.rng(5); for (let i = 0; i < 5; i++) { const a = q.range(0, TAU), d = q.range(0.1, 0.65) * r, cr = q.range(0.1, 0.2) * r, qx = Math.cos(a) * d, qy = Math.sin(a) * d; x.fillStyle = 'rgba(80,66,150,0.38)'; x.beginPath(); x.arc(qx, qy, cr, 0, TAU); x.fill(); crescent(x, qx, qy, cr, -cr * 0.3, -cr * 0.3, 'rgba(255,255,255,0.3)'); } }
196
+ x.restore();
197
+ },
198
+ });
199
+ const atA = o.atmo == null ? 0.7 : o.atmo;
200
+ if (pal.atmo && atA > 0) { // thin bright atmosphere on the limb, strongest on the lit (upper-left) side
201
+ x.save(); x.lineCap = 'round'; const ga0 = x.globalAlpha;
202
+ const la = -2.25, ag = x.createLinearGradient(cx + Math.cos(la) * r, cy + Math.sin(la) * r, cx - Math.cos(la) * r, cy - Math.sin(la) * r);
203
+ ag.addColorStop(0, H.rgba(pal.atmo, 1)); ag.addColorStop(0.55, H.rgba(pal.atmo, 0.5)); ag.addColorStop(1, H.rgba(pal.atmo, 0.08));
204
+ x.strokeStyle = ag;
205
+ for (const [lw, a] of [[r * 0.05, 0.08], [r * 0.028, 0.16], [r * 0.014, 0.3], [Math.max(2, r * 0.006), 0.6]]) { x.globalAlpha = ga0 * a * atA; x.lineWidth = lw; x.beginPath(); x.arc(cx, cy, r + lw * 0.15, 0, TAU); x.stroke(); }
206
+ x.restore();
207
+ }
208
+ if (R) ring(x, cx, cy, R, 'front', ra);
209
+ if (o.front) o.front(R);
210
+ }
211
+
212
+ // ---------- print finish: fine animated grain + soft static mottling (overlay), kills gradient banding ----------
213
+ let GRAIN = null;
214
+ function grainTex() {
215
+ if (GRAIN) return GRAIN;
216
+ const S = 256, tile = H.layer(S, S), tc = tile.getContext('2d'), img = tc.createImageData(S, S), d = img.data, r = H.rng(4242);
217
+ for (let i = 0; i < d.length; i += 4) { const v = 128 + (r() + r() + r() - 1.5) * 92; d[i] = d[i + 1] = d[i + 2] = v; d[i + 3] = 255; }
218
+ tc.putImageData(img, 0, 0);
219
+ const MW = 320, MH = 180, mot = H.layer(MW, MH), mc = mot.getContext('2d'), mi = mc.createImageData(MW, MH), md = mi.data, nz = H.makeNoise(88);
220
+ for (let y = 0; y < MH; y++) for (let x = 0; x < MW; x++) { const v = 128 + nz.fbm2(x * 0.035, y * 0.035, 4) * 70 + nz.n2(x * 0.22, y * 0.22) * 14, k = (y * MW + x) * 4; md[k] = md[k + 1] = md[k + 2] = v; md[k + 3] = 255; }
221
+ mc.putImageData(mi, 0, 0);
222
+ GRAIN = { tile, mot };
223
+ return GRAIN;
224
+ }
225
+ function finish(x, W, H_, t) {
226
+ const G = grainTex(), f = Math.floor(t * 24);
227
+ x.save(); x.globalCompositeOperation = 'overlay';
228
+ x.globalAlpha = 0.12; x.imageSmoothingEnabled = true; x.drawImage(G.mot, 0, 0, W, H_);
229
+ const pat = x.createPattern(G.tile, 'repeat'); pat.setTransform(new DOMMatrix().translateSelf((f * 73) % 256, (f * 151) % 256));
230
+ x.globalAlpha = 0.09; x.fillStyle = pat; x.fillRect(0, 0, W, H_);
231
+ x.restore();
232
+ }
233
+
234
+ // ---------- eyes (big white, dark pupils) ----------
235
+ function eye(x, ex, ey, er, o) {
236
+ const look = o.look || [0, 0];
237
+ if ((o.happy || 0) > 0.5) {
238
+ x.save(); x.strokeStyle = '#ffffff'; x.lineWidth = er * 0.42; x.lineCap = 'round';
239
+ x.beginPath(); x.arc(ex, ey + er * 0.35, er * 0.62, Math.PI * 1.15, Math.PI * 1.85); x.stroke(); x.restore(); return;
240
+ }
241
+ const bl = 1 - 0.92 * (o.blink || 0);
242
+ x.save(); x.translate(ex, ey); x.scale(1, bl);
243
+ x.fillStyle = '#ffffff'; x.beginPath(); x.arc(0, 0, er, 0, TAU); x.fill();
244
+ const pr = er * (o.worry ? 0.5 : 0.56);
245
+ const px = look[0] * er * 0.36, py = look[1] * er * 0.36;
246
+ x.fillStyle = '#141638'; x.beginPath(); x.arc(px, py, pr, 0, TAU); x.fill();
247
+ x.fillStyle = '#ffffff'; x.beginPath(); x.arc(px - pr * 0.35, py - pr * 0.4, pr * 0.32, 0, TAU); x.fill();
248
+ x.beginPath(); x.arc(px + pr * 0.35, py + pr * 0.35, pr * 0.13, 0, TAU); x.fill();
249
+ x.restore();
250
+ }
251
+ const blinkAt = (t, ph) => { const u = (t + ph) % 3.3; return u < 0.14 ? Math.sin((u / 0.14) * Math.PI) : 0; };
252
+
253
+ // ---------- the AI: a chunky round robot with a glass brain dome ----------
254
+ const NET = (() => {
255
+ const r = H.rng(31), L = [[-0.6, [-0.42, 0.02, 0.44]], [0, [-0.58, -0.2, 0.2, 0.58]], [0.6, [-0.4, 0.04, 0.44]]];
256
+ const nodes = []; L.forEach(([lx, ys], li) => ys.forEach((y) => nodes.push({ x: lx, y: y - 0.05, l: li })));
257
+ const byL = (l) => nodes.map((n, i) => [n, i]).filter(([n]) => n.l === l).map(([, i]) => i);
258
+ const edges = [];
259
+ const l0 = byL(0), l1 = byL(1), l2 = byL(2);
260
+ l0.forEach((a, k) => { const tA = [l1[k], l1[k + 1]], tB = [l1[(k + 2) % 4], l1[k + 1]]; tA.forEach((b, j) => edges.push({ a, b, b2: tB[j], w: r.range(0.2, 0.5), w2: r.range(0.6, 1) })); });
261
+ l1.forEach((a, k) => { const tA = [l2[k % 3], l2[(k + 1) % 3]], tB = [l2[(k + 2) % 3], l2[(k + 1) % 3]]; tA.forEach((b, j) => edges.push({ a, b, b2: tB[j], w: r.range(0.2, 0.5), w2: r.range(0.6, 1) })); });
262
+ return { nodes, edges };
263
+ })();
264
+ function network(x, cx, cy, dr, o) {
265
+ const rw = o.rewire || 0, br = o.bright == null ? 0.5 : o.bright, err = o.err || 0, t = o.t || 0, s = dr * 0.82;
266
+ const P = (i) => [cx + NET.nodes[i].x * s, cy + NET.nodes[i].y * s];
267
+ x.save(); x.lineCap = 'round';
268
+ NET.edges.forEach((e, k) => {
269
+ const a = P(e.a), b0 = P(e.b), b1 = P(e.b2), m = eio(cl(rw * 1.25 - (k % 6) * 0.05));
270
+ const b = [lerp(b0[0], b1[0], m), lerp(b0[1], b1[1], m)], w = lerp(e.w, e.w2, m);
271
+ const col = H.mix(H.mix('#7a5cff', '#ffd23f', w * (0.4 + br * 0.6)), '#ff3b5c', err);
272
+ x.strokeStyle = H.rgba(col, 0.55 + 0.45 * w); x.lineWidth = dr * (0.025 + 0.05 * w);
273
+ const mx = (a[0] + b[0]) / 2, my = (a[1] + b[1]) / 2 - dr * 0.08;
274
+ x.beginPath(); x.moveTo(a[0], a[1]); x.quadraticCurveTo(mx, my, b[0], b[1]); x.stroke();
275
+ // a little signal dot running along
276
+ const u = (t * 0.9 + k * 0.137) % 1, v = 1 - u;
277
+ const qx = v * v * a[0] + 2 * v * u * mx + u * u * b[0], qy = v * v * a[1] + 2 * v * u * my + u * u * b[1];
278
+ x.fillStyle = H.rgba(err > 0.3 ? '#ffb0bf' : '#fff6c8', 0.8 * (0.4 + br * 0.6)); x.beginPath(); x.arc(qx, qy, dr * 0.035, 0, TAU); x.fill();
279
+ });
280
+ NET.nodes.forEach((n, i) => {
281
+ const [nx, ny] = P(i), pulse = 0.5 + 0.5 * Math.sin(t * 3 + i * 1.3);
282
+ const col = H.mix(H.mix('#9b7bff', '#ffe066', br), '#ff4a66', err);
283
+ glow(x, nx, ny, dr * (0.2 + 0.22 * br), col, 0.35 + 0.4 * br);
284
+ x.fillStyle = H.rgba(col); x.beginPath(); x.arc(nx, ny, dr * (0.085 + 0.03 * br), 0, TAU); x.fill();
285
+ x.fillStyle = 'rgba(255,255,255,0.75)'; x.beginPath(); x.arc(nx - dr * 0.025, ny - dr * 0.025, dr * 0.035, 0, TAU); x.fill();
286
+ });
287
+ x.restore();
288
+ }
289
+ function robot(x, cx, cy, R, o = {}) {
290
+ if (R < 1) return;
291
+ const t = o.t || 0, red = o.red || 0, happy = o.happy || 0, worry = o.worry || 0;
292
+ if (red > 0) glow(x, cx, cy - R * 0.4, R * 2.2, '#ff3b5c', 0.5 * red);
293
+ // thruster flame
294
+ const fl = 1 + 0.14 * Math.sin(t * 29) + 0.08 * Math.sin(t * 13.7);
295
+ glow(x, cx, cy + R * 1.25, R * 0.95, '#ff9a3d', 0.4);
296
+ x.fillStyle = '#ff8a3d'; x.beginPath(); x.moveTo(cx - R * 0.25, cy + R * 0.9);
297
+ x.quadraticCurveTo(cx - R * 0.2, cy + R * (1.25 + 0.2 * fl), cx, cy + R * (1.35 + 0.42 * fl)); x.quadraticCurveTo(cx + R * 0.2, cy + R * (1.25 + 0.2 * fl), cx + R * 0.25, cy + R * 0.9); x.fill();
298
+ x.fillStyle = '#ffd94a'; x.beginPath(); x.moveTo(cx - R * 0.13, cy + R * 0.92);
299
+ x.quadraticCurveTo(cx - R * 0.1, cy + R * (1.15 + 0.1 * fl), cx, cy + R * (1.2 + 0.22 * fl)); x.quadraticCurveTo(cx + R * 0.1, cy + R * (1.15 + 0.1 * fl), cx + R * 0.13, cy + R * 0.92); x.fill();
300
+ x.fillStyle = '#16307a'; rr(x, cx - R * 0.32, cy + R * 0.78, R * 0.64, R * 0.22, R * 0.08); x.fill();
301
+ // arms
302
+ for (const sd of [-1, 1]) {
303
+ const up = (o.armUp || 0) * (sd > 0 ? 1 : 0.6), ang = sd * (0.55 + 0.12 * Math.sin(t * 2.2 + sd)) - sd * up * 1.6;
304
+ const sx = cx + sd * R * 0.86, sy = cy + R * 0.12, ex = sx + Math.sin(ang) * R * 0.55, ey = sy + Math.cos(ang) * R * 0.55;
305
+ x.strokeStyle = '#1d5aa6'; x.lineWidth = R * 0.24; x.lineCap = 'round'; x.beginPath(); x.moveTo(sx, sy); x.lineTo(ex, ey); x.stroke();
306
+ ball(x, ex, ey, R * 0.17, C.teal, { sha: 0.4 });
307
+ }
308
+ // brain dome (glass) with the glowing network inside
309
+ const dr = R * 0.76, dx = cx, dy = cy - R * 1.02;
310
+ glow(x, dx, dy, dr * 2.0, red > 0.2 ? '#ff3b5c' : '#58e6ff', 0.22 + 0.25 * (o.brainGlow || 0) + 0.2 * red);
311
+ x.save(); x.beginPath(); x.arc(dx, dy, dr, 0, TAU); x.clip();
312
+ const dg = x.createRadialGradient(dx - dr * 0.3, dy - dr * 0.3, 0, dx, dy, dr * 1.1);
313
+ dg.addColorStop(0, '#2a3a9c'); dg.addColorStop(0.6, '#18206a'); dg.addColorStop(1, '#0d1146');
314
+ x.fillStyle = dg; x.fillRect(dx - dr, dy - dr, dr * 2, dr * 2);
315
+ if (red > 0) { x.fillStyle = H.rgba('#ff3b5c', 0.3 * red); x.fillRect(dx - dr, dy - dr, dr * 2, dr * 2); }
316
+ network(x, dx, dy - dr * 0.12, dr * 0.92, o);
317
+ x.restore();
318
+ crescent(x, dx, dy, dr, dr * 0.1, dr * 0.12, 'rgba(190,250,255,0.55)');
319
+ crescent(x, dx, dy, dr, -dr * 0.22, -dr * 0.2, 'rgba(8,10,50,0.28)');
320
+ x.save(); x.strokeStyle = 'rgba(255,255,255,0.6)'; x.lineWidth = dr * 0.09; x.lineCap = 'round';
321
+ x.beginPath(); x.arc(dx, dy, dr * 0.74, Math.PI * 1.08, Math.PI * 1.36); x.stroke();
322
+ x.fillStyle = 'rgba(255,255,255,0.6)'; x.beginPath(); x.arc(dx + dr * 0.74 * Math.cos(Math.PI * 1.5), dy - dr * 0.74, dr * 0.05, 0, TAU); x.fill(); x.restore();
323
+ // collar
324
+ x.fillStyle = '#1b4c9c'; rr(x, cx - R * 0.6, cy - R * 0.84, R * 1.2, R * 0.26, R * 0.13); x.fill();
325
+ x.fillStyle = 'rgba(160,240,255,0.5)'; rr(x, cx - R * 0.5, cy - R * 0.81, R * 0.7, R * 0.06, R * 0.03); x.fill();
326
+ // body
327
+ ball(x, cx, cy, R, C.teal, { sha: 0.5 });
328
+ // visor face
329
+ const vw = R * 1.36, vh = R * 0.78, vx = cx - vw / 2 + R * 0.02, vy = cy - R * 0.42;
330
+ x.fillStyle = '#0c1145'; rr(x, vx, vy + R * 0.05, vw, vh, R * 0.34); x.fill();
331
+ const vg = x.createLinearGradient(vx, vy, vx + vw, vy + vh); vg.addColorStop(0, '#26338e'); vg.addColorStop(0.5, '#151c5c'); vg.addColorStop(1, '#0d1246');
332
+ x.fillStyle = vg; rr(x, vx, vy, vw, vh, R * 0.34); x.fill();
333
+ x.fillStyle = 'rgba(160,240,255,0.22)'; rr(x, vx + R * 0.16, vy + R * 0.07, vw * 0.45, R * 0.07, R * 0.035); x.fill();
334
+ const ey = vy + vh * 0.48, er = R * 0.19, look = o.look || [0, 0];
335
+ for (const sd of [-1, 1]) eye(x, cx + sd * R * 0.3, ey, er, { look, blink: o.blink, happy, worry: worry > 0.5 });
336
+ // brows when worried
337
+ if (worry > 0.02) {
338
+ x.save(); x.globalAlpha *= cl(worry * 2); x.strokeStyle = '#9ff7ff'; x.lineWidth = R * 0.065; x.lineCap = 'round';
339
+ for (const sd of [-1, 1]) { x.beginPath(); x.moveTo(cx + sd * R * 0.46, ey - er * 1.05); x.lineTo(cx + sd * R * 0.16, ey - er * 1.5); x.stroke(); }
340
+ x.restore();
341
+ }
342
+ // mouth
343
+ x.save(); x.strokeStyle = '#9ff7ff'; x.lineWidth = R * 0.06; x.lineCap = 'round'; x.beginPath();
344
+ const my = vy + vh * 0.86;
345
+ if (worry > 0.5) { x.moveTo(cx - R * 0.12, my); x.quadraticCurveTo(cx - R * 0.06, my - R * 0.06, cx, my); x.quadraticCurveTo(cx + R * 0.06, my + R * 0.06, cx + R * 0.12, my); }
346
+ else if (happy > 0.5) { x.arc(cx, my - R * 0.06, R * 0.12, 0.15 * Math.PI, 0.85 * Math.PI); }
347
+ else { x.arc(cx, my - R * 0.1, R * 0.1, 0.3 * Math.PI, 0.7 * Math.PI); }
348
+ x.stroke(); x.restore();
349
+ // belly lights
350
+ ['#ffd23f', '#ff5d8f', '#56e8ff'].forEach((c, i) => { const bx = cx + (i - 1) * R * 0.2, by = cy + R * 0.58; glow(x, bx, by, R * 0.12, c, 0.5); x.fillStyle = c; x.beginPath(); x.arc(bx, by, R * 0.055, 0, TAU); x.fill(); });
351
+ // sweat drop
352
+ if (worry > 0.3) {
353
+ const sx = cx + R * 0.82, sy = cy - R * 0.38 + (t * 40 % (R * 0.3));
354
+ x.save(); x.globalAlpha *= cl((worry - 0.3) * 3); x.fillStyle = '#7fe6ff';
355
+ x.beginPath(); x.moveTo(sx, sy - R * 0.16); x.quadraticCurveTo(sx + R * 0.09, sy, sx, sy + R * 0.06); x.quadraticCurveTo(sx - R * 0.09, sy, sx, sy - R * 0.16); x.fill(); x.restore();
356
+ }
357
+ }
358
+
359
+ // ---------- creatures: little cat and dog (training data) ----------
360
+ function cat(x, cx, cy, r, o = {}) {
361
+ if (r < 1) return;
362
+ const t = o.t || 0;
363
+ x.save(); x.translate(cx, cy); x.rotate(o.rot || 0);
364
+ x.strokeStyle = C.orange[2]; x.lineWidth = r * 0.24; x.lineCap = 'round';
365
+ x.beginPath(); x.moveTo(r * 0.6, r * 0.55); x.quadraticCurveTo(r * 1.4, r * 0.55 + Math.sin(t * 3) * r * 0.12, r * 1.18, -r * 0.2); x.stroke();
366
+ for (const sd of [-1, 1]) {
367
+ x.fillStyle = sd < 0 ? C.orange[1] : '#e8693a'; x.strokeStyle = x.fillStyle; x.lineWidth = r * 0.16; x.lineJoin = 'round';
368
+ x.beginPath(); x.moveTo(sd * r * 0.82, -r * 0.3); x.lineTo(sd * r * 0.66, -r * 1.08); x.lineTo(sd * r * 0.14, -r * 0.8); x.closePath(); x.fill(); x.stroke();
369
+ x.fillStyle = '#ff9fb4'; x.beginPath(); x.moveTo(sd * r * 0.66, -r * 0.48); x.lineTo(sd * r * 0.62, -r * 0.9); x.lineTo(sd * r * 0.32, -r * 0.74); x.closePath(); x.fill();
370
+ }
371
+ ball(x, 0, 0, r, C.orange, { sha: 0.45, inner: () => {
372
+ x.fillStyle = 'rgba(200,70,40,0.55)';
373
+ for (const k of [-1, 0, 1]) { rr(x, k * r * 0.17 - r * 0.045, -r * 0.92, r * 0.09, r * 0.3, r * 0.045); x.fill(); }
374
+ x.fillStyle = 'rgba(255,240,220,0.9)'; x.beginPath(); x.ellipse(0, r * 0.42, r * 0.42, r * 0.3, 0, 0, TAU); x.fill();
375
+ } });
376
+ for (const sd of [-1, 1]) eye(x, sd * r * 0.36, -r * 0.08, r * 0.25, { look: o.look, blink: o.blink, happy: o.happy });
377
+ x.fillStyle = '#ff6f8e'; x.beginPath(); x.moveTo(-r * 0.09, r * 0.22); x.lineTo(r * 0.09, r * 0.22); x.lineTo(0, r * 0.33); x.closePath(); x.fill();
378
+ x.strokeStyle = '#7a2e2e'; x.lineWidth = r * 0.05; x.lineCap = 'round'; x.beginPath();
379
+ x.arc(-r * 0.08, r * 0.36, r * 0.08, 0.1 * Math.PI, 0.9 * Math.PI); x.moveTo(r * 0.16, r * 0.36 + r * 0.025); x.arc(r * 0.08, r * 0.36, r * 0.08, 0.1 * Math.PI, 0.9 * Math.PI); x.stroke();
380
+ x.restore();
381
+ }
382
+ function dog(x, cx, cy, r, o = {}) {
383
+ if (r < 1) return;
384
+ const t = o.t || 0;
385
+ x.save(); x.translate(cx, cy); x.rotate(o.rot || 0);
386
+ ball(x, 0, 0, r, C.tan, { sha: 0.45, inner: () => {
387
+ x.fillStyle = 'rgba(150,85,40,0.55)'; x.beginPath(); x.arc(r * 0.38, -r * 0.2, r * 0.36, 0, TAU); x.fill();
388
+ x.fillStyle = '#fff3dc'; x.beginPath(); x.ellipse(0, r * 0.36, r * 0.4, r * 0.3, 0, 0, TAU); x.fill();
389
+ } });
390
+ for (const sd of [-1, 1]) {
391
+ x.save(); x.translate(sd * r * 0.86, -r * 0.18); x.rotate(sd * (0.35 + 0.08 * Math.sin(t * 4 + sd)));
392
+ x.fillStyle = '#8b4f2c'; x.beginPath(); x.ellipse(0, r * 0.18, r * 0.27, r * 0.55, 0, 0, TAU); x.fill();
393
+ x.fillStyle = 'rgba(255,200,150,0.25)'; x.beginPath(); x.ellipse(-sd * r * 0.06, r * 0.05, r * 0.1, r * 0.3, 0, 0, TAU); x.fill();
394
+ x.restore();
395
+ }
396
+ for (const sd of [-1, 1]) eye(x, sd * r * 0.34, -r * 0.12, r * 0.23, { look: o.look, blink: o.blink, happy: o.happy });
397
+ x.fillStyle = '#2a1a2a'; x.beginPath(); x.ellipse(0, r * 0.22, r * 0.13, r * 0.09, 0, 0, TAU); x.fill();
398
+ x.fillStyle = 'rgba(255,255,255,0.6)'; x.beginPath(); x.arc(-r * 0.04, r * 0.19, r * 0.03, 0, TAU); x.fill();
399
+ x.fillStyle = '#ff6f8e'; rr(x, -r * 0.08, r * 0.38, r * 0.16, r * 0.17, r * 0.08); x.fill();
400
+ x.restore();
401
+ }
402
+ const creature = (x, kind, cx, cy, r, o) => (kind === 'cat' ? cat : dog)(x, cx, cy, r, o);
403
+
404
+ // speech bubble with a tail
405
+ function bubble(x, cx, cy, w, h, tx, ty, s, col) {
406
+ if (s <= 0.01) return;
407
+ x.save(); x.translate(cx, cy); x.scale(s, s);
408
+ x.fillStyle = 'rgba(10,8,46,0.4)'; rr(x, -w / 2, -h / 2 + 8, w, h, h / 2); x.fill();
409
+ x.fillStyle = col || '#ffffff';
410
+ x.beginPath(); x.moveTo(-w * 0.18, h * 0.3); x.lineTo((tx - cx) / s, (ty - cy) / s); x.lineTo(-w * 0.02, h * 0.42); x.fill();
411
+ rr(x, -w / 2, -h / 2, w, h, h / 2); x.fill();
412
+ x.restore();
413
+ }
414
+ function badge(x, cx, cy, r, ok, s) {
415
+ if (s <= 0.01) return;
416
+ x.save(); x.translate(cx, cy); x.scale(s, s);
417
+ glow(x, 0, 0, r * 2.4, ok ? C.green : C.red, 0.45);
418
+ ball(x, 0, 0, r, ok ? ['#9fffc8', C.green, '#178a5a'] : ['#ff9aa8', C.red, '#9c1638'], { sha: 0.4 });
419
+ x.strokeStyle = '#ffffff'; x.lineWidth = r * 0.26; x.lineCap = 'round'; x.lineJoin = 'round'; x.beginPath();
420
+ if (ok) { x.moveTo(-r * 0.42, 0); x.lineTo(-r * 0.1, r * 0.32); x.lineTo(r * 0.45, -r * 0.3); }
421
+ else { x.moveTo(-r * 0.34, -r * 0.34); x.lineTo(r * 0.34, r * 0.34); x.moveTo(r * 0.34, -r * 0.34); x.lineTo(-r * 0.34, r * 0.34); }
422
+ x.stroke(); x.restore();
423
+ }
424
+ function flare(x, cx, cy, k, t, seed) {
425
+ if (k <= 0) return;
426
+ glow(x, cx, cy, 420 * (0.6 + 0.4 * k), '#ffcf5a', 0.55 * k);
427
+ glow(x, cx, cy, 160, '#fff6d0', 0.6 * k);
428
+ x.save(); x.translate(cx, cy); x.rotate(t * 0.25); x.globalAlpha *= 0.32 * k; x.fillStyle = '#ffe28a';
429
+ for (let i = 0; i < 12; i++) { x.rotate(TAU / 12); x.beginPath(); x.moveTo(0, -12); x.lineTo(330 + 60 * (i % 2), 0); x.lineTo(0, 12); x.fill(); }
430
+ x.restore();
431
+ }
432
+ function burst(x, cx, cy, age, seed, spread) {
433
+ if (age < 0 || age > 1.4) return;
434
+ const r = H.rng(seed);
435
+ for (let i = 0; i < 18; i++) {
436
+ const a = r.range(0, TAU), d = (spread || 300) * r.range(0.45, 1) * eo(cl(age / 0.9)), sz = r.range(7, 16) * (1 - cl(age / 1.4));
437
+ spark(x, cx + Math.cos(a) * d, cy + Math.sin(a) * d * 0.8, sz, r.pick(['#ffffff', '#ffe28a', '#9ff7ff', '#ffb0d0']), 1);
438
+ }
439
+ }
440
+
441
+ // ---------- galaxy of examples (precomputed) ----------
442
+ let GAL = null;
443
+ function galaxyPts() {
444
+ if (GAL) return GAL;
445
+ const r = H.rng(901); GAL = [];
446
+ for (let i = 0; i < 2600; i++) {
447
+ const arm = i % 3, u = Math.pow(r(), 0.85), rr2 = 260 + 5300 * u;
448
+ const ang = arm * (TAU / 3) + rr2 * 0.00075 + r.gauss() * (0.16 + 0.25 * (1 - u));
449
+ GAL.push({ rr: rr2 * (1 + r.gauss() * 0.04), a: ang, s: r.range(1.2, 3.2), c: r.pick(['#ff9a4a', '#ffcc7a', '#ecb676', '#ffffff', '#9ff7ff', '#ff8fb8']) });
450
+ }
451
+ return GAL;
452
+ }
453
+ function galaxy(x, cx, cy, s, rot, a) {
454
+ if (a <= 0.01) return;
455
+ glow(x, cx, cy, 5600 * s * 0.55, '#8a5cff', 0.35 * a);
456
+ glow(x, cx, cy, 5600 * s * 0.22, '#ffcf7a', 0.4 * a);
457
+ x.save(); x.globalAlpha = a;
458
+ for (const p of galaxyPts()) {
459
+ const ang = p.a + rot, d = p.rr * s;
460
+ if (d < 14) continue;
461
+ const px = cx + Math.cos(ang) * d, py = cy + Math.sin(ang) * d * 0.52;
462
+ if (px < -5 || px > 1285 || py < -5 || py > 725) continue;
463
+ x.fillStyle = p.c; x.beginPath(); x.arc(px, py, p.s, 0, TAU); x.fill();
464
+ }
465
+ x.restore();
466
+ }
467
+
468
+ // ---------- header pill ----------
469
+ function header(x, a) { pill(x, 186, 44, 'How does AI learn?', 28, { a, bg: 'rgba(255,255,255,0.95)' }); }
470
+
471
+ // ================= EXPLAINER SCENES =================
472
+ const ROBOT_A0 = [640, 470], ROBOT_A1 = [930, 400];
473
+ const DOME_A1 = [ROBOT_A1[0], ROBOT_A1[1] - 1.02 * 100];
474
+ const STREAM = [[-140, 230], [330, 720], [560, 60], [DOME_A1[0] - 40, DOME_A1[1] - 10]];
475
+
476
+ function exA(x, W, H_, t) {
477
+ const zo = eio(seg(t, TL.zoom[0], TL.zoom[1]));
478
+ const s = Math.exp(lerp(0, Math.log(0.062), zo));
479
+ const mv = eio(seg(t, TL.robotMove[0], TL.robotMove[1]));
480
+ const RW = [lerp(ROBOT_A0[0], ROBOT_A1[0], mv), lerp(ROBOT_A0[1], ROBOT_A1[1], mv)];
481
+ const Cs = [lerp(RW[0], 680, zo), lerp(RW[1], 330, zo)];
482
+ const toS = (wx, wy) => [Cs[0] + (wx - RW[0]) * s, Cs[1] + (wy - RW[1]) * s];
483
+ const pull = 1 + 1.8 * (1 - eo(seg(t, 0, 1.4)));
484
+ sky(x, W, H_, t, { z: pull * Math.pow(s, 0.35), x: t * 14 + mv * 60, y: 0 });
485
+
486
+ // background planet (mid distance, drifts)
487
+ const bp = toS(1170 - t * 6, 690); planet(x, bp[0], bp[1], 165 * s * (0.9 + 0.1 * eo(seg(t, 0, 1.4))), PL.magenta, { glowA: 0.28 });
488
+ const mp = toS(1110 - t * 4, 140); planet(x, mp[0], mp[1], 34 * s, PL.moon);
489
+
490
+ // galaxy of examples
491
+ const ga = cl((0.75 - s) / 0.5);
492
+ galaxy(x, Cs[0], Cs[1], s, -0.5 + t * 0.22, ga);
493
+
494
+ // stream arrow
495
+ const ap = eio(seg(t, TL.arrow[0], TL.arrow[1]));
496
+ const SP = STREAM.map(([a, b]) => toS(a, b));
497
+ arrow(x, SP, ap, '#7ff0ff', Math.max(1.5, 9 * s), { dots: true, a: 0.75 * (1 - ga) });
498
+
499
+ // creatures flowing in along the stream
500
+ let absorb = 0;
501
+ SPAWN.forEach((ts, i) => {
502
+ const u = (t - ts) / TL.travel;
503
+ if (u > 0.98 && u < 1.25) absorb = Math.max(absorb, 1 - (u - 0.98) / 0.27);
504
+ if (u <= 0 || u >= 1) return;
505
+ const uu = 0.2 * eio(u) + 0.8 * u, p = bez(SP, uu), kind = KIND(i);
506
+ const bob = Math.sin(t * 3 + i) * 8 * s;
507
+ const r = 50 * s * back(cl(u / 0.12)) * (1 - 0.85 * H.smooth(0.82, 1, u));
508
+ creature(x, kind, p[0], p[1] + bob, r, { t: t + i, rot: Math.sin(t * 2 + i) * 0.12, look: [0.6, -0.2], blink: blinkAt(t, i * 0.7) });
509
+ if (s > 0.45) pill(x, p[0], p[1] + bob - r - 34 * s, kind, 26, { s: back(cl((u - 0.05) / 0.12)) * s, a: 1 - H.smooth(0.72, 0.86, u), ptr: true });
510
+ });
511
+
512
+ // the robot (the model)
513
+ const rin = back(seg(t, TL.robotIn[0], TL.robotIn[1]), 1.2);
514
+ const R = 100 * (0.88 + 0.12 * mv) * s * rin;
515
+ const rp = toS(RW[0], RW[1] + Math.sin(t * 1.8) * 9);
516
+ const lookA = t < 2.6 ? [0, -0.2] : [-0.7, -0.4];
517
+ robot(x, rp[0], rp[1], R, { t, look: lookA, blink: blinkAt(t, 0.3), bright: 0.35 + 0.4 * absorb + 0.3 * seg(t, 2.8, 5.6), brainGlow: absorb, rewire: 0 });
518
+ if (absorb > 0 && s > 0.3) burst(x, rp[0] - 10 * s, rp[1] - 120 * s, 1 - absorb, Math.floor(t * 4), 70 * s);
519
+ if (ga > 0.3) { glow(x, rp[0], rp[1], 120, '#fff2c0', 0.5 * ga); spark(x, rp[0], rp[1], 26 * ga, '#ffffff', ga); }
520
+ // "?" thought in the hook
521
+ const qa = seg(t, 1.25, 1.45) * (1 - seg(t, 2.2, 2.4));
522
+ if (qa > 0) { const qs = back(seg(t, 1.25, 1.55)); x.save(); x.globalAlpha = qa; ball(x, rp[0] + R * 1.05, rp[1] - R * 1.75, 34 * qs, ['#ffffff', '#e8e4ff', '#9a8fe0'], { sha: 0.3 }); text(x, '?', rp[0] + R * 1.05, rp[1] - R * 1.75, 46 * qs, C.violet, { shadow: 'rgba(0,0,0,0)' }); x.restore(); }
523
+ // "AI model" label lands under the robot
524
+ const la = back(seg(t, 2.95, 3.3));
525
+ pill(x, rp[0], rp[1] + Math.max(R * 1.95, 42), 'AI model', 28, { s: la, bg: C.yellow });
526
+ // "1 dot = 1 example" label in the galaxy
527
+ pill(x, 1010, 560, '1 dot = 1 example', 26, { s: back(seg(t, 5.15, 5.45)), bg: '#ffffff' });
528
+
529
+ // counter
530
+ if (t > TL.count[0] - 0.3) {
531
+ const ca = seg(t, TL.count[0] - 0.3, TL.count[0]);
532
+ const v = Math.round(1e6 * Math.pow(seg(t, TL.count[0], TL.count[1]), 2.3));
533
+ const land = seg(t, TL.count[1], TL.count[1] + 0.35), pop = 1 + 0.2 * Math.sin(land * Math.PI) * (land > 0 ? 1 : 0);
534
+ x.save(); x.translate(64, 650); x.scale(pop, pop); x.globalAlpha = ca;
535
+ x.font = F(900, 78); const nw = x.measureText(v.toLocaleString('en-US')).width;
536
+ text(x, v.toLocaleString('en-US'), 0, 0, 78, land > 0 ? C.yellow : '#ffffff', { align: 'left' });
537
+ text(x, 'examples', nw + 18, 8, 38, '#bfe9ff', { align: 'left', w: 800 });
538
+ x.restore();
539
+ if (land > 0) burst(x, 220, 640, land * 1.2, 77, 200);
540
+ }
541
+
542
+ // title (hook) and its shrink into the header
543
+ const tp = eio(seg(t, TL.titleShrink[0], TL.titleShrink[1]));
544
+ if (tp < 1) {
545
+ const words = ['How', 'does', 'AI', 'learn?'], px = 84; x.font = F(900, px);
546
+ const sp = x.measureText(' ').width, ws = words.map((w) => x.measureText(w).width), tot = ws.reduce((a, b) => a + b, 0) + sp * 3;
547
+ const hx = 186, hy = 44, hs = 28 / px;
548
+ const cx = lerp(640, hx, tp), cy = lerp(215, hy, tp), sc = lerp(1, hs, tp);
549
+ x.save(); x.translate(cx, cy); x.scale(sc, sc);
550
+ let wx = -tot / 2;
551
+ words.forEach((w, i) => {
552
+ const u = back(seg(t, TL.title + i * 0.13, TL.title + i * 0.13 + 0.4), 1.2);
553
+ x.save(); x.translate(wx + ws[i] / 2, (1 - u) * 40); x.scale(u, u);
554
+ text(x, w, 0, 0, px, i === 2 ? C.yellow : '#ffffff');
555
+ x.restore(); wx += ws[i] + sp;
556
+ });
557
+ x.restore();
558
+ }
559
+ if (tp > 0.75) header(x, seg(tp, 0.75, 1));
560
+ }
561
+
562
+ // ---- scene B: guess -> check -> adjust ----
563
+ const RB = [320, 470], RBR = 110, DOMEB = [RB[0], RB[1] - 1.02 * RBR];
564
+ const CATB = [985, 450], LOOP = [652, 520], LR = 118;
565
+ const LP = { guess: -Math.PI / 2, check: Math.PI / 6, adjust: (5 * Math.PI) / 6 };
566
+ function loopArc(x, a0, a1, prog, col, lw, alpha) {
567
+ if (prog <= 0) return;
568
+ const e = a0 + (a1 - a0) * prog;
569
+ x.save(); x.globalAlpha *= alpha; x.strokeStyle = col; x.fillStyle = col; x.lineWidth = lw; x.lineCap = 'round';
570
+ x.setLineDash([0.01, lw * 1.9]); x.beginPath(); x.ellipse(LOOP[0], LOOP[1], LR * 1.25, LR, 0, a0, e); x.stroke(); x.setLineDash([]);
571
+ const hx = LOOP[0] + Math.cos(e) * LR * 1.25, hy = LOOP[1] + Math.sin(e) * LR, ang = Math.atan2(Math.cos(e) * LR, -Math.sin(e) * LR * 1.25);
572
+ x.translate(hx, hy); x.rotate(ang); const hs = lw * 1.5; x.beginPath(); x.moveTo(hs * 1.1, 0); x.lineTo(-hs * 0.8, hs); x.lineTo(-hs * 0.8, -hs); x.closePath(); x.fill();
573
+ x.restore();
574
+ }
575
+ function exB(x, W, H_, t) {
576
+ const zA = eio(seg(t, TL.zoomIn[0], TL.zoomIn[1])) - eio(seg(t, TL.zoomBack[0], TL.zoomBack[1]));
577
+ const zC = Math.exp(Math.log(16) * H.ease.in(seg(t, TL.toC[0], TL.toC[1])));
578
+ const z = (1 + 0.32 * zA) * zC;
579
+ sky(x, W, H_, t, { x: 300 + t * 22, y: 40, z: z });
580
+ x.save(); x.translate(DOMEB[0], DOMEB[1]); x.scale(z, z); x.translate(-DOMEB[0], -DOMEB[1]);
581
+ // background planet behind the cat
582
+ planet(x, 1180 - (t - 6) * 10, 830, 250, PL.magenta, { glowA: 0.3 });
583
+ planet(x, 150 - (t - 6) * 5, 120, 30, PL.moon);
584
+
585
+ const wrong = seg(t, TL.wrong, TL.wrong + 0.1) * (1 - seg(t, TL.right - 0.2, TL.right));
586
+ const worry = cl(seg(t, TL.wrong, TL.wrong + 0.15) - seg(t, TL.guess2, TL.guess2 + 0.15));
587
+ const happy = t > TL.right + 0.05 ? 1 : 0;
588
+ const redPulse = Math.max(0, 1 - Math.abs(t - (TL.wrong + 0.15)) / 0.35) + 0.6 * seg(t, TL.err[0] + 0.3, TL.err[1]) * (1 - seg(t, TL.rewire[0], TL.rewire[0] + 0.4));
589
+ const rw = eio(seg(t, TL.rewire[0], TL.rewire[1]));
590
+ const bright = 0.35 + 0.65 * rw;
591
+
592
+ // loop diagram: Guess -> Check -> Adjust
593
+ const la = seg(t, 6.6, 6.9);
594
+ const act = t < TL.check ? 'guess' : t < TL.adjust ? 'check' : t < TL.guess2 ? 'adjust' : 'guess';
595
+ loopArc(x, LP.guess + 0.42, LP.check - 0.42, eio(seg(t, 6.7, 7.0)), '#9ff7ff', 7, la * 0.8);
596
+ loopArc(x, LP.check + 0.42, LP.adjust - 0.42, eio(seg(t, 6.8, 7.1)), t > TL.err[0] && t < TL.right ? C.red : '#9ff7ff', 7, la * 0.8);
597
+ loopArc(x, LP.adjust + 0.42, LP.guess + TAU - 0.42, eio(seg(t, 6.9, 7.2)), '#9ff7ff', 7, la * 0.8);
598
+ // error pulse travelling check -> adjust -> into the brain
599
+ const ep = seg(t, TL.err[0], TL.err[0] + 0.3);
600
+ if (ep > 0 && ep < 1) { const a = lerp(LP.check, LP.adjust, eio(ep)); const ex = LOOP[0] + Math.cos(a) * LR * 1.25, ey = LOOP[1] + Math.sin(a) * LR; glow(x, ex, ey, 46, C.red, 0.8); x.fillStyle = '#ffd0d8'; x.beginPath(); x.arc(ex, ey, 9, 0, TAU); x.fill(); }
601
+ const EP = [[LOOP[0] + Math.cos(LP.adjust) * LR * 1.25 - 40, LOOP[1] + Math.sin(LP.adjust) * LR - 10], [470, 520], [470, 400], [DOMEB[0] + 0.74 * RBR + 8, DOMEB[1] + 6]];
602
+ const ea = eio(seg(t, TL.err[0] + 0.25, TL.err[1])), eaA = 1 - seg(t, TL.right, TL.right + 0.3);
603
+ arrow(x, EP, ea, C.red, 8, { dots: true, a: eaA });
604
+ if (ea > 0 && ea < 1) { const p = bez(EP, ea); glow(x, p[0], p[1], 40, C.red, 0.8); }
605
+ for (const [k, lab] of [['guess', 'Guess'], ['check', 'Check'], ['adjust', 'Adjust']]) {
606
+ const a = LP[k], px = LOOP[0] + Math.cos(a) * LR * 1.25, py = LOOP[1] + Math.sin(a) * LR;
607
+ const on = act === k && t > TL.guess - 0.05;
608
+ const bg = !on ? 'rgba(235,240,255,0.9)' : k === 'guess' ? (t > TL.guess2 ? C.green : C.yellow) : k === 'check' ? C.red : C.cyan;
609
+ const sIn = back(seg(t, 6.55 + (k === 'check' ? 0.1 : k === 'adjust' ? 0.2 : 0), 6.9 + (k === 'check' ? 0.1 : k === 'adjust' ? 0.2 : 0)));
610
+ const switchT = k === 'guess' ? (t > TL.guess2 ? TL.guess2 : TL.guess) : k === 'check' ? TL.check : TL.adjust;
611
+ const bump = 1 + 0.18 * Math.sin(seg(t, switchT, switchT + 0.3) * Math.PI);
612
+ if (on) glow(x, px, py, 90, bg, 0.35);
613
+ pill(x, px, py, lab, 30, { s: sIn * (on ? bump * 1.08 : 0.92), bg, fg: on && k === 'check' ? '#ffffff' : C.ink });
614
+ }
615
+
616
+ // the cat (new example) floats in from the right
617
+ const ci = eo(seg(t, TL.catIn[0], TL.catIn[1]));
618
+ const cxp = lerp(1450, CATB[0], back(seg(t, TL.catIn[0], TL.catIn[1]), 1.1)), cyp = CATB[1] + Math.sin(t * 2.1) * 10;
619
+ cat(x, cxp, cyp, 92, { t, rot: Math.sin(t * 1.6) * 0.08 + (1 - ci) * 0.4, look: [-0.8, -0.1], blink: blinkAt(t, 1.1), happy: t > TL.right + 0.1 ? 1 : 0 });
620
+ // its tag: "?" until checked, then "cat" drops on
621
+ const tagDrop = back(seg(t, TL.check, TL.check + 0.3), 2);
622
+ if (t < TL.check + 0.05) pill(x, cxp, cyp - 155, '?', 30, { s: back(seg(t, 6.8, 7.1)) * (1 - seg(t, TL.check - 0.05, TL.check + 0.05)), bg: '#d9dcff', ptr: true });
623
+ pill(x, cxp, cyp - 155 - (1 - tagDrop) * 60, 'cat', 34, { s: tagDrop, a: seg(t, TL.check, TL.check + 0.08), bg: C.green, ptr: true });
624
+ if (t > TL.check) burst(x, cxp, cyp - 160, (t - TL.check) * 1.4, 12, 120);
625
+
626
+ // the robot (model)
627
+ const shake = wrong > 0 ? Math.sin(t * 60) * 6 * Math.max(0, 1 - (t - TL.wrong) / 0.4) : 0;
628
+ const by = RB[1] + Math.sin(t * 1.8) * 8;
629
+ const look = t < 6.9 ? [0.4, -0.2] : t < TL.wrong ? [1, -0.1] : t < TL.adjust ? [0.9, 0.3] : t < TL.guess2 ? [-0.2, -1] : [1, -0.2];
630
+ robot(x, RB[0] + shake, by, RBR, { t, look, blink: blinkAt(t, 0.9), worry, happy, red: cl(redPulse) * 0.8, err: cl(redPulse) * (1 - rw), rewire: rw, bright, brainGlow: 0.5 * rw + 0.6 * Math.max(0, 1 - Math.abs(t - TL.rewire[1]) / 0.4), armUp: happy ? 1 : 0 });
631
+ // "weights" label on the dome during the adjust
632
+ const wl = back(seg(t, TL.adjust, TL.adjust + 0.3)) * (1 - seg(t, TL.toC[0] - 0.2, TL.toC[0]));
633
+ pill(x, DOMEB[0] - 150, DOMEB[1] - 60, 'weights', 26, { s: wl, bg: C.cyan });
634
+ if (wl > 0) arrow(x, [[DOMEB[0] - 150, DOMEB[1] - 36], [DOMEB[0] - 140, DOMEB[1] + 10], [DOMEB[0] - 100, DOMEB[1] + 10], [DOMEB[0] - 70, DOMEB[1] + 4]], eio(seg(t, TL.adjust + 0.1, TL.adjust + 0.4)), C.cyan, 5, { a: wl });
635
+ if (t > TL.rewire[1] - 0.1) burst(x, DOMEB[0], DOMEB[1], (t - TL.rewire[1] + 0.1) * 1.3, 33, 120);
636
+
637
+ // speech bubble: "dog?" then "cat"
638
+ const b1 = back(seg(t, TL.bubble, TL.bubble + 0.3)), b2 = seg(t, TL.guess2 - 0.12, TL.guess2) , b2s = back(seg(t, TL.guess2, TL.guess2 + 0.3));
639
+ const BX = 568 + (wrong > 0 ? Math.sin(t * 70) * 5 * Math.max(0, 1 - (t - TL.wrong) / 0.35) : 0), BY = 205;
640
+ if (t < TL.guess2) {
641
+ bubble(x, BX, BY, 230, 112, 420, 350, b1 * (1 - b2), wrong > 0.5 ? '#ffd9df' : '#ffffff');
642
+ x.save(); x.translate(BX, BY); x.scale(b1 * (1 - b2), b1 * (1 - b2)); text(x, 'dog?', 0, 0, 58, wrong > 0.5 ? C.red : C.ink, { shadow: 'rgba(0,0,0,0)' }); x.restore();
643
+ badge(x, BX + 118, BY - 52, 34, false, back(seg(t, TL.wrong, TL.wrong + 0.3), 2.2) * (1 - b2));
644
+ } else {
645
+ bubble(x, BX, BY, 230, 112, 420, 350, b2s, '#e3ffef');
646
+ x.save(); x.translate(BX, BY); x.scale(b2s, b2s); text(x, 'cat', 0, 0, 58, '#12925a', { shadow: 'rgba(0,0,0,0)' }); x.restore();
647
+ badge(x, BX + 118, BY - 52, 34, true, back(seg(t, TL.right, TL.right + 0.3), 2.2));
648
+ burst(x, BX + 118, BY - 52, (t - TL.right) * 1.2, 21, 160);
649
+ }
650
+ x.restore();
651
+ // red flash on the wrong guess
652
+ const fl = Math.max(0, 1 - Math.abs(t - (TL.wrong + 0.1)) / 0.3);
653
+ if (fl > 0) { const g = x.createRadialGradient(640, 360, 200, 640, 360, 760); g.addColorStop(0, 'rgba(255,59,92,0)'); g.addColorStop(1, H.rgba(C.red, 0.55 * fl)); x.fillStyle = g; x.fillRect(0, 0, W, H_); }
654
+ }
655
+
656
+ // ---- scene C: accuracy ring + takeaway ----
657
+ const PC = [430, 395], PCR = 182;
658
+ const accAt = (t) => lerp(61, 97, eio(seg(t, TL.acc[0], TL.acc[1])));
659
+ function exC(x, W, H_, t) {
660
+ const em = 1 + 1.3 * (1 - eo(seg(t, TL.toC[1], TL.toC[1] + 0.7)));
661
+ const tk = eio(seg(t, TL.take[0], TL.take[1]));
662
+ sky(x, W, H_, t, { x: 700 + t * 18, y: 80 - tk * 260, z: em });
663
+ x.save(); x.translate(PC[0], PC[1]); x.scale(em, em); x.translate(-PC[0], -PC[1]);
664
+ const acc = accAt(t), hitK = Math.max(0, 1 - Math.abs(t - TL.hit - 0.15) / 0.75) * (t > TL.hit ? 1 : 0);
665
+ const pcx = lerp(PC[0], 640, tk), pcy = lerp(PC[1], 1160, tk), pr = lerp(PCR, 780, tk);
666
+ const ringA = 1 - seg(t, TL.take[0], TL.take[0] + 0.35);
667
+ const frac = acc / 100, a0 = Math.PI * 0.5;
668
+ const head = a0 + frac * TAU;
669
+ const R = { rx: 1.78 * pr, ry: 0.4 * pr, tilt: -0.16 };
670
+ const ringBar = (half) => {
671
+ x.save(); x.translate(pcx, pcy); x.rotate(R.tilt); x.globalAlpha *= ringA;
672
+ x.beginPath(); if (half === 'back') x.rect(-R.rx * 1.3, -R.ry * 1.6, R.rx * 2.6, R.ry * 1.6); else x.rect(-R.rx * 1.3, 0, R.rx * 2.6, R.ry * 1.6); x.clip();
673
+ // track
674
+ x.beginPath(); x.ellipse(0, 0, R.rx, R.ry, 0, 0, TAU); x.ellipse(0, 0, R.rx * 0.8, R.ry * 0.8, 0, 0, TAU); x.fillStyle = half === 'back' ? 'rgba(120,110,210,0.32)' : 'rgba(150,140,240,0.4)'; x.fill('evenodd');
675
+ // fill
676
+ const g = x.createLinearGradient(-R.rx, 0, R.rx, 0); g.addColorStop(0, '#ff8d3f'); g.addColorStop(0.5, '#ffd23f'); g.addColorStop(1, '#fff1a8');
677
+ x.beginPath(); x.ellipse(0, 0, R.rx * 0.98, R.ry * 0.98, 0, a0, head); x.ellipse(0, 0, R.rx * 0.82, R.ry * 0.82, 0, head, a0, true); x.closePath();
678
+ x.fillStyle = g; x.globalAlpha *= half === 'back' ? 0.8 : 1; x.fill();
679
+ if (hitK > 0) { x.globalAlpha = 0.55 * hitK * ringA; x.fillStyle = '#ffffff'; x.fill(); }
680
+ x.restore();
681
+ };
682
+ // the head of the bar (a tiny robot riding the ring)
683
+ const hx0 = Math.cos(head) * R.rx * 0.9, hy0 = Math.sin(head) * R.ry * 0.9;
684
+ const hx = pcx + hx0 * Math.cos(R.tilt) - hy0 * Math.sin(R.tilt), hy = pcy + hx0 * Math.sin(R.tilt) + hy0 * Math.cos(R.tilt);
685
+ const rider = () => { if (ringA > 0.05) { glow(x, hx, hy, 60, '#ffe066', 0.6 * ringA); x.save(); x.globalAlpha *= ringA; robot(x, hx, hy - 26, 22, { t, look: [0.5, 0], happy: t > TL.hit ? 1 : 0, bright: 1 }); x.restore(); } };
686
+ const headBack = Math.sin(head) < 0;
687
+ glow(x, pcx, pcy, pr * 1.8, '#4fc9ff', 0.3);
688
+ ringBar('back'); if (headBack) rider();
689
+ // takeaway horizon: at this scale only the polar cap is in view, so add cap latitude bands as the camera tilts up
690
+ const pal = tk > 0 ? { ...PL.teal, bands: [...PL.teal.bands, [-0.99, -0.93, '#c6f8ff', 0.38 * tk], [-0.86, -0.79, '#2f74c9', 0.42 * tk], [-0.72, -0.68, '#7fdcff', 0.32 * tk], [-0.62, -0.54, '#2f74c9', 0.3 * tk]] } : PL.teal;
691
+ planet(x, pcx, pcy, pr, pal, { glowA: 0, atmo: 1 });
692
+ ringBar('front'); if (!headBack) rider();
693
+ x.restore();
694
+
695
+ // accuracy number + training-round bars (slide up and out for the takeaway)
696
+ const out = seg(t, TL.take[0], TL.take[0] + 0.35), oy = -260 * eio(out);
697
+ x.save(); x.globalAlpha = 1 - out; x.translate(0, oy);
698
+ const inA = seg(t, TL.toC[1], TL.toC[1] + 0.3);
699
+ flare(x, 985, 380, hitK, t);
700
+ text(x, 'Accuracy', 985, 238, 48, '#bfe9ff', { a: inA, w: 900 });
701
+ const pop = t > TL.hit ? 1 + 0.22 * Math.sin(seg(t, TL.hit, TL.hit + 0.35) * Math.PI) : 1;
702
+ x.save(); x.translate(985, 372); x.scale(pop, pop); text(x, Math.round(acc) + '%', 0, 0, 150, t > TL.hit ? C.yellow : '#ffffff', { a: inA }); x.restore();
703
+ // bars
704
+ const nb = 10, bx0 = 850, bw = 22, gap = 7, base = 600, pr2 = seg(t, TL.acc[0], TL.acc[1]);
705
+ for (let i = 0; i < nb; i++) {
706
+ const u = cl(pr2 * nb - i); if (u <= 0) continue;
707
+ const v = 61 + 36 * (1 - Math.exp(-i * 0.42)) / (1 - Math.exp(-9 * 0.42));
708
+ const h = (v - 48) * 2.3 * back(u);
709
+ const g = x.createLinearGradient(0, base - h, 0, base); g.addColorStop(0, '#ffe680'); g.addColorStop(1, '#ff8d3f');
710
+ x.fillStyle = 'rgba(10,8,46,0.4)'; rr(x, bx0 + i * (bw + gap) + 3, base - h + 5, bw, h, bw / 2); x.fill();
711
+ x.fillStyle = g; rr(x, bx0 + i * (bw + gap), base - h, bw, h, bw / 2); x.fill();
712
+ }
713
+ text(x, 'training rounds', 985, 632, 26, '#bfe9ff', { a: seg(t, TL.acc[0], TL.acc[0] + 0.3), w: 800 });
714
+ text(x, 'from 61%', 985, 470, 28, '#ffb0c8', { a: seg(t, TL.toC[1], TL.toC[1] + 0.3) * (1 - seg(t, TL.hit - 0.4, TL.hit)), w: 800 });
715
+ burst(x, 985, 372, (t - TL.hit) * 1.0, 97, 340);
716
+ x.restore();
717
+
718
+ // takeaway: horizon planet, characters, line
719
+ if (t > TL.take[0] + 0.2) {
720
+ const tb = t - TL.take[0];
721
+ const rs = back(seg(t, 13.35, 13.75)), cs = back(seg(t, 13.5, 13.9)), ds = back(seg(t, 13.6, 14.0));
722
+ robot(x, 640, 380 + Math.sin(t * 2) * 6 + (1 - rs) * 90, 74 * rs, { t, happy: 1, bright: 1, rewire: 1, armUp: 1 });
723
+ cat(x, 395, 382 + Math.sin(t * 2.4) * 6 + (1 - cs) * 80, 50 * cs, { t, happy: 1, rot: -0.1 });
724
+ dog(x, 885, 382 + Math.sin(t * 2.2 + 1) * 6 + (1 - ds) * 80, 50 * ds, { t, happy: 1, rot: 0.1 });
725
+ const l1 = back(seg(t, TL.line1, TL.line1 + 0.4)), l2 = back(seg(t, TL.line2, TL.line2 + 0.4));
726
+ x.save(); x.translate(640, 92); x.scale(l1, l1); text(x, 'More examples', 0, 0, 68, '#ffffff'); x.restore();
727
+ x.save(); x.translate(640, 176); x.scale(l2, l2);
728
+ x.font = F(900, 68); const w2 = x.measureText('better guesses').width;
729
+ text(x, 'better guesses', 34, 0, 68, C.yellow);
730
+ // rounded flat arrow before the line
731
+ const ax = -w2 / 2 + 34 - 70;
732
+ x.fillStyle = 'rgba(10,8,46,0.55)'; x.save(); x.translate(2, 5); drawArrowGlyph(x, ax, 0); x.restore();
733
+ x.fillStyle = C.cyan; drawArrowGlyph(x, ax, 0);
734
+ x.restore();
735
+ if (tb > 0.5) for (let i = 0; i < 7; i++) { const q = H.rng(400 + i); spark(x, q.range(120, 1160), q.range(60, 300), q.range(8, 15) * (0.5 + 0.5 * Math.sin(t * 3 + i)), '#ffffff', seg(t, TL.line2, TL.line2 + 0.4)); }
736
+ }
737
+ }
738
+ function drawArrowGlyph(x, cx, cy) {
739
+ x.beginPath(); rr(x, cx - 42, cy - 9, 56, 18, 9); x.fill();
740
+ x.beginPath(); x.moveTo(cx + 4, cy - 26); x.lineTo(cx + 40, cy); x.lineTo(cx + 4, cy + 26); x.closePath();
741
+ x.lineJoin = 'round'; x.lineWidth = 10; x.strokeStyle = x.fillStyle; x.fill(); x.stroke();
742
+ }
743
+
744
+ // ================= STILL / CLIP =================
745
+ function scene(x, W, H_, t, build) {
746
+ const B = (a, b) => (build ? seg(t, a, b) : 1);
747
+ const zin = build ? 1 + 1.6 * (1 - eo(seg(t, 0, 1.3))) : 1;
748
+ sky(x, W, H_, t, { z: zin, x: t * 12 });
749
+ // big ringed planet, lower right
750
+ const pIn = eo(B(0.0, 1.3));
751
+ const pcx = lerp(1500, 1070, pIn) - t * 4, pcy = lerp(820, 575, pIn);
752
+ planet(x, pcx, pcy, 215 * (0.7 + 0.3 * pIn), PL.magenta, { glowA: 0.32 });
753
+ planet(x, 1180 - t * 3, 120, 30 * back(B(0.6, 1.1)), PL.moon);
754
+ planet(x, 70 + t * 2, 330, 36 * back(B(0.25, 0.8)), PL.coral, { glowA: 0.25 });
755
+
756
+ // stream of creatures into the dome
757
+ const RX = 640, RY = 420 + Math.sin(t * 1.8) * 8, R = 106 * back(B(0.35, 1.25), 1.2);
758
+ const P = [[120, 760], [150, 420], [380, 250], [RX - 60, RY - 1.02 * 106 - 20]];
759
+ arrow(x, P, eio(B(1.4, 2.1)), '#7ff0ff', 9, { dots: true, a: 0.8 });
760
+ // data dots flowing along
761
+ if (!build || t > 2.1) for (let i = 0; i < 6; i++) { const u = ((t * 0.32 + i / 6) % 1); const p = bez(P, u); glow(x, p[0], p[1], 18, '#9ff7ff', 0.6); x.fillStyle = '#e8fdff'; x.beginPath(); x.arc(p[0], p[1], 4, 0, TAU); x.fill(); }
762
+ const crit = [['dog', 0.18, 46, 1.5], ['cat', 0.43, 42, 1.7], ['cat', 0.68, 34, 1.9]];
763
+ crit.forEach(([k, u, r, at], i) => {
764
+ const p = bez(P, u), s = back(B(at, at + 0.4)), bob = Math.sin(t * 2.4 + i * 2) * 7;
765
+ creature(x, k, p[0] + 20, p[1] + bob, r * s, { t: t + i, rot: Math.sin(t * 1.5 + i) * 0.12, look: [0.7, -0.3], blink: blinkAt(t, i * 1.3) });
766
+ pill(x, p[0] + 20, p[1] + bob - r - 34, k, 26, { s: back(B(at + 0.2, at + 0.5)) * (r / 46 + 0.15), ptr: true });
767
+ });
768
+
769
+ // the robot with its glowing brain
770
+ const nb = build ? cl((t - 1.0) / 0.7) : 1;
771
+ robot(x, RX, RY, R, { t, look: [-0.5, -0.5], blink: blinkAt(t, 0.4), bright: 0.3 + 0.7 * nb, brainGlow: 0.6 * nb, rewire: 0.6, armUp: 0.5 });
772
+ pill(x, RX, RY + R * 1.95, 'AI model', 28, { s: back(B(1.8, 2.2)), bg: C.yellow });
773
+
774
+ // guess bubble
775
+ const bs = back(B(2.55, 2.85));
776
+ bubble(x, 878, 228, 200, 100, 735, 330, bs, '#ffffff');
777
+ x.save(); x.translate(878, 228); x.scale(bs, bs); text(x, 'cat!', 0, 0, 54, C.ink, { shadow: 'rgba(0,0,0,0)' }); x.restore();
778
+ badge(x, 975, 182, 28, true, back(B(2.95, 3.25), 2.2));
779
+
780
+ // title, top-left
781
+ const words = [['How', '#ffffff'], ['Machines', '#ffffff'], ['Learn', C.yellow]];
782
+ x.font = F(900, 74);
783
+ let wx = 64;
784
+ words.forEach(([w, c], i) => {
785
+ const u = back(B(2.1 + i * 0.16, 2.55 + i * 0.16), 1.4), ww = x.measureText(w).width;
786
+ const line = i < 2 ? 0 : 1, lx = i === 2 ? 64 : wx;
787
+ x.save(); x.translate(lx + ww / 2, 112 + line * 80 + (1 - u) * 40); x.scale(u, u); text(x, w, 0, 0, 74, c); x.restore();
788
+ if (i < 2) wx += ww + 20;
789
+ });
790
+ pill(x, 128, 48, 'EPISODE 7', 22, { s: back(B(2.0, 2.3)), bg: C.pink, fg: '#ffffff' });
791
+ if (build && t > 2.95) burst(x, 975, 182, (t - 2.95) * 1.2, 5, 120);
792
+ }
793
+
794
+ registerStyle({
795
+ id: 'flat-space',
796
+ name: 'Flat-Vector Science',
797
+ category: 'Popular Explainer Looks',
798
+ description: 'Flat-vector science-explainer illustration: deep navy-to-violet space gradients, chunky outline-free shapes with rich multi-stop gradients, flat crescent shadows and rim highlights, soft radial glows, sparkly star fields, banded ringed planets and cute big-eyed round characters.',
799
+ motion: 'Smooth eased motion with gentle overshoot: the camera pulls back through scales, planets drift with parallax, characters bob and pop in, glows pulse.',
800
+ fonts: ['900 64px "Nunito"', '800 32px "Nunito"', '700 28px "Nunito"'],
801
+ duration: 5,
802
+ frameT: 4.6,
803
+ readsPixels: false,
804
+ draw(ctx, W, H_, t) { scene(ctx, W, H_, t, true); finish(ctx, W, H_, t); },
805
+
806
+ explainerDuration: TL.D,
807
+ explainerNote: 'Big smooth camera moves through scale: the model pulls back until a million examples become a spiral galaxy, a foreground planet sweeps across as the wipe, and the camera dives into the glowing brain dome to emerge at a planet whose ring is the accuracy bar; arrows are chunky dotted rounded curves, numbers are big rounded Nunito.',
808
+ explainer(ctx, W, H_, t) {
809
+ const x = ctx;
810
+ const sw = eio(seg(t, TL.sweep[0], TL.sweep[1])), spx = lerp(W + 980, -980, sw);
811
+ if (t < TL.sweep[0] || spx > 640) exA(x, W, H_, t);
812
+ else if (t < TL.toC[1]) exB(x, W, H_, t);
813
+ else exC(x, W, H_, t);
814
+ // the foreground planet sweep (wipe)
815
+ if (sw > 0 && sw < 1) planet(x, spx, 380 + (sw - 0.5) * 120, 880, PL.coral, { glowA: 0.4 });
816
+ // dive into the brain: glow whiteout
817
+ const wo = seg(t, TL.toC[0] + 0.2, TL.toC[1]) * (1 - seg(t, TL.toC[1], TL.toC[1] + 0.4));
818
+ if (wo > 0) {
819
+ const g = x.createRadialGradient(640, 360, 0, 640, 360, 800);
820
+ g.addColorStop(0, H.rgba('#fff6d0', wo)); g.addColorStop(0.5, H.rgba('#8ff0ff', wo * 0.95)); g.addColorStop(1, H.rgba('#6a4cff', wo * 0.9));
821
+ x.fillStyle = g; x.fillRect(0, 0, W, H_);
822
+ }
823
+ if (t > TL.titleShrink[1]) header(x, 1);
824
+ finish(x, W, H_, t);
825
+ },
826
+
827
+ explainerSound(k) {
828
+ // Soft cinematic-science palette: marimba-ish plucks (low-mid, minor), airy whooshes for scale moves,
829
+ // a warm wonder-pad underneath, cute boops for the creatures. All times come from TL / SPAWN above.
830
+ const D = TL.D, hz = k.hz;
831
+ const pan = (px) => cl((px / 1280) * 2 - 1, -1, 1) * 0.6;
832
+ // first time an eased progress over [t0,t1] reaches u
833
+ const when = (t0, t1, ease, u) => { for (let i = 0; i <= 400; i++) { const tt = t0 + ((t1 - t0) * i) / 400; if (ease(i / 400) >= u - 1e-6) return tt; } return t1; };
834
+ const backPeak = (t0, t1) => when(t0, t1, (u) => back(u), 1); // when an overshoot pop first reaches full size
835
+ // marimba-like pluck: sine body, short 4th-partial knock, soft octave
836
+ const pluck = (t, n, g = 1, p = 0, minor = false) => {
837
+ const f = hz(n);
838
+ k.tone(t, { f, dur: 0.9, gain: 0.2 * g, a: 0.003, pan: p, verb: 0.25, minor });
839
+ k.tone(t, { f: f * 4, dur: 0.09, gain: 0.04 * g, a: 0.001, pan: p, minor });
840
+ k.tone(t, { f: f * 2, type: 'triangle', dur: 0.32, gain: 0.045 * g, a: 0.003, pan: p, minor });
841
+ };
842
+ // cute soft boop: a rounded sine that bends up
843
+ const boop = (t, f0, g = 1, p = 0, minor = true) => {
844
+ k.tone(t, { f: [[0, f0], [0.07, f0 * 1.45], [0.16, f0 * 1.3]], dur: 0.2, gain: 0.17 * g, a: 0.008, pan: p, verb: 0.15, minor });
845
+ k.tone(t, { f: [[0, f0 * 0.5], [0.08, f0 * 0.72]], type: 'triangle', dur: 0.14, gain: 0.06 * g, a: 0.006, pan: p, minor });
846
+ };
847
+ // airy whoosh: pink noise through a soft band that opens to `top` then closes
848
+ const air = (t, dur, top, g = 1, p = 0, peak = 0.55, minor = false) =>
849
+ k.noise(t, { dur, color: 'pink', filter: 'bandpass', f: [[0, 260], [dur * peak, top], [dur, 340]], q: 0.55, gain: 0.26 * g, a: dur * peak, pan: p, verb: 0.3, minor });
850
+ const chord = (t, notes, g = 1, dur = 2.2) => notes.forEach((n, i) => {
851
+ k.tone(t + i * 0.012, { f: n, type: 'triangle', dur, gain: 0.07 * g, a: 0.02, verb: 0.35, filter: 'lowpass', f2: 1800, pan: (i / (notes.length - 1) - 0.5) * 0.6 });
852
+ k.tone(t + i * 0.012, { f: hz(n) * 1.003, dur, gain: 0.06 * g, a: 0.03, verb: 0.35 });
853
+ });
854
+ const shimmer = (t, notes, g = 1, p = 0) => k.withMinor(() => notes.forEach((n, i) => k.tone(t + i * 0.055, { f: n, dur: 0.7, gain: 0.07 * g, a: 0.004, verb: 0.4, pan: p + (i % 2 ? 0.25 : -0.25) })));
855
+
856
+ // warm wonder-pad: Am7 -> Fmaj7 -> Dm7 -> Cmaj7 (resolves under the 97% and the takeaway)
857
+ k.music('pad', 0, D, { bpm: 64, gain: 0.45, chords: [['A3', 'C4', 'E4', 'G4'], ['F3', 'A3', 'C4', 'E4'], ['D3', 'F3', 'A3', 'C4'], ['C3', 'E3', 'G3', 'B3']] });
858
+
859
+ // ---- 1 HOOK: the camera pulls back through the stars, the title pops word by word
860
+ air(0, 1.4, 1500, 0.8, 0, 0.35);
861
+ ['A3', 'C4', 'E4', 'A4'].forEach((n, i) => pluck(TL.title + i * 0.13 + 0.06, n, 0.9, (i - 1.5) * 0.2, i < 3));
862
+ air(TL.robotIn[0], 0.9, 1100, 0.45, 0, 0.8, true); // robot flies in from far away
863
+ boop(backPeak(TL.robotIn[0], TL.robotIn[1]), 330, 1.1, 0, false); // ...and arrives
864
+ boop(1.3, 470, 0.8, 0.15); // "?" thought
865
+ k.noise(TL.titleShrink[0], { dur: 0.6, color: 'pink', filter: 'bandpass', f: [[0, 700], [0.6, 300]], q: 0.7, gain: 0.08, a: 0.2, pan: -0.3, minor: true }); // title glides to the corner
866
+
867
+ // ---- 2 DATA: dotted stream draws, creatures boop in, the counter ticks
868
+ const nearBoop = (tt) => SPAWN.some((ts) => Math.abs(ts + 0.05 - tt) < 0.045);
869
+ for (let i = 1; i <= 5; i++) if (!nearBoop(when(TL.arrow[0], TL.arrow[1], eio, i / 5))) k.play('tock', when(TL.arrow[0], TL.arrow[1], eio, i / 5), { f: 520 + i * 40, gain: 0.35, pan: pan(-100 + i * 200), minor: true });
870
+ pluck(backPeak(2.95, 3.3), 'E4', 0.9, pan(930)); // "AI model" label lands
871
+ SPAWN.forEach((ts, i) => boop(ts + 0.05, KIND(i) === 'cat' ? 520 : 400, i < 4 ? 0.9 : 0.6, -0.55, true));
872
+ // counter: v = 1e6 * seg^2.3 speeds up; ticks throttled under 12/s
873
+ for (let tt = TL.count[0] + 0.12; tt < TL.count[1] - 0.04;) { const u = seg(tt, TL.count[0], TL.count[1]); if (!nearBoop(tt) && Math.abs(tt - 3.12) > 0.06) k.play('tock', tt, { f: 760 + 160 * u, gain: 0.5 + 0.15 * u, pan: -0.5, minor: true }); tt += 0.22 - 0.135 * u; }
874
+ // zoom out to the galaxy: one long airy breath
875
+ air(TL.zoom[0], TL.zoom[1] - TL.zoom[0] + 0.3, 1900, 1.0, 0, 0.5);
876
+ pluck(backPeak(5.15, 5.45), 'C4', 0.8, pan(1010), true); // "1 dot = 1 example"
877
+ // 1,000,000 lands
878
+ pluck(TL.count[1], 'A3', 1.2, -0.4); pluck(TL.count[1] + 0.07, 'E4', 1.0, -0.3); pluck(TL.count[1] + 0.14, 'A4', 0.8, -0.2);
879
+
880
+ // ---- transition: a giant planet sweeps past the camera
881
+ air(TL.sweep[0], TL.sweep[1] - TL.sweep[0], 1300, 1.3, 0, 0.5);
882
+ k.noise(TL.sweep[0] + 0.1, { dur: 0.75, color: 'brown', filter: 'lowpass', f: 260, gain: 0.32, a: 0.35, verb: 0.2 });
883
+ k.tone(TL.sweep[0] + 0.1, { f: [[0, 70], [0.4, 58], [0.75, 46]], dur: 0.75, gain: 0.16, a: 0.3 });
884
+
885
+ // ---- 3 GUESS -> CHECK -> ADJUST
886
+ boop(backPeak(TL.catIn[0], TL.catIn[1]) || 6.8, 560, 0.9, pan(985)); // the cat arrives
887
+ ['A3', 'C4', 'E4'].forEach((n, i) => pluck(6.62 + i * 0.1, n, 0.55, pan([652, 790, 515][i]), true)); // loop pills
888
+ pluck(TL.guess, 'G4', 0.8, pan(652)); // Guess lights
889
+ boop(backPeak(TL.bubble, TL.bubble + 0.3), 420, 1.1, pan(568), false); // "dog?"
890
+ pluck(backPeak(TL.check, TL.check + 0.3), 'C4', 0.9, pan(985)); // "cat" tag drops on: Check
891
+ shimmer(TL.check + 0.05, ['C5', 'E5', 'G5'], 0.6, pan(985));
892
+ // the wrong guess: low two-note "nope" + soft thump
893
+ k.tone(TL.wrong, { f: 'E3', type: 'triangle', dur: 0.26, gain: 0.24, hold: 0.1, filter: 'lowpass', f2: 900, pan: pan(680) });
894
+ k.tone(TL.wrong, { f: 'E2', dur: 0.26, gain: 0.18, hold: 0.1 });
895
+ k.tone(TL.wrong + 0.2, { f: 'C3', type: 'triangle', dur: 0.5, gain: 0.24, hold: 0.18, filter: 'lowpass', f2: 800, pan: pan(680) });
896
+ k.tone(TL.wrong + 0.2, { f: 'C2', dur: 0.5, gain: 0.2, hold: 0.18 });
897
+ k.play('thud', TL.wrong, { f: 95, gain: 0.3, pan: pan(680) });
898
+ // error signal travels back to the brain (right -> left), low and soft
899
+ k.noise(TL.err[0], { dur: TL.err[1] - TL.err[0], color: 'pink', filter: 'bandpass', f: [[0, 900], [TL.err[1] - TL.err[0], 260]], q: 1.2, gain: 0.2, a: 0.15, pan: -0.1, verb: 0.2 });
900
+ k.tone(TL.err[0], { f: [[0, 220], [0.55, 110]], type: 'triangle', dur: 0.55, gain: 0.07, a: 0.1, filter: 'lowpass', f2: 700 });
901
+ pluck(backPeak(TL.adjust, TL.adjust + 0.3), 'D4', 0.9, pan(170)); // Adjust + "weights"
902
+ air(TL.zoomIn[0], 0.5, 1200, 0.5, pan(320), 0.6, true);
903
+ // rewiring: nodes brighten one after another
904
+ ['A3', 'C4', 'D4', 'E4', 'G4', 'A4'].forEach((n, i) => pluck(TL.rewire[0] + i * 0.1, n, 0.55, pan(320) + (i % 2 ? 0.1 : -0.1), true));
905
+ shimmer(TL.rewire[1] - 0.05, ['E5', 'A5'], 0.5, pan(320));
906
+ air(TL.zoomBack[0], 0.4, 1000, 0.4, 0, 0.5, true);
907
+ boop(backPeak(TL.guess2, TL.guess2 + 0.3), 520, 1.0, pan(568), false); // "cat"
908
+ // correct: warm rising pair + a little shimmer
909
+ pluck(TL.right, 'C4', 1.1, pan(680)); pluck(TL.right + 0.09, 'G4', 1.0, pan(690)); pluck(TL.right + 0.18, 'C5', 0.7, pan(700));
910
+
911
+ // ---- transition: dive into the glowing brain
912
+ air(TL.toC[0], TL.toC[1] - TL.toC[0] + 0.1, 2200, 1.2, pan(320), 0.9);
913
+ k.tone(TL.toC[0], { f: [[0, 110], [0.5, 330]], type: 'triangle', dur: 0.55, gain: 0.07, a: 0.45 });
914
+ chord(TL.toC[1], ['C3', 'G3', 'E4'], 0.6, 1.4); // bloom as we emerge
915
+
916
+ // ---- 4 ACCURACY: ring fills, number counts 61 -> 97
917
+ for (let tt = TL.acc[0], last = 61, lastT = -1; tt < TL.acc[1]; tt += 1 / 120) {
918
+ const v = Math.round(accAt(tt));
919
+ if (v !== last && tt - lastT >= 1 / 11) { k.play('tock', tt, { f: 560 + (v - 61) * 9, gain: 0.5, pan: pan(985), minor: true }); last = v; lastT = tt; }
920
+ }
921
+ // swell into the big moment
922
+ k.noise(TL.hit - 0.8, { dur: 0.85, color: 'pink', filter: 'bandpass', f: [[0, 250], [0.8, 1800]], q: 0.8, gain: 0.24, a: 0.78, verb: 0.3 });
923
+ k.tone(TL.hit - 0.8, { f: [[0, 110], [0.8, 220]], type: 'triangle', dur: 0.82, gain: 0.08, a: 0.75 });
924
+ // 97%: warm low boom + big chord + shimmer
925
+ k.play('impact', TL.hit, { gain: 0.75 });
926
+ chord(TL.hit, ['A2', 'E3', 'A3', 'C4', 'E4', 'B4'], 1.6, 2.4);
927
+ shimmer(TL.hit + 0.08, ['E5', 'A5', 'C6', 'E5', 'B5'], 0.8, 0.3);
928
+
929
+ // ---- 5 TAKEAWAY: camera tilts up to the horizon, everyone pops up, the line resolves
930
+ air(TL.take[0], TL.take[1] - TL.take[0], 1000, 0.6, 0, 0.5, true);
931
+ pluck(backPeak(TL.line1, TL.line1 + 0.4), 'E4', 0.8, 0);
932
+ boop(backPeak(13.35, 13.75), 400, 0.9, 0); boop(backPeak(13.5, 13.9), 540, 0.8, pan(395)); boop(backPeak(13.6, 14.0), 440, 0.8, pan(885));
933
+ chord(backPeak(TL.line2, TL.line2 + 0.4), ['C3', 'G3', 'C4', 'E4', 'G4', 'D5'], 1.1, 1.5);
934
+ pluck(backPeak(TL.line2, TL.line2 + 0.4), 'C4', 1.0, 0);
935
+ },
936
+ });
937
+ }