@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.
- package/MANUAL.md +94 -94
- package/package.json +1 -1
- package/skills/aicut-motion/SKILL.md +69 -3
- package/skills/aicut-motion/THIRD_PARTY_NOTICES.md +14 -0
- package/skills/aicut-motion/assets/atlas/lib/harness.js +116 -0
- package/skills/aicut-motion/assets/atlas/lib/sound.js +274 -0
- package/skills/aicut-motion/assets/atlas/styles/001-flat-vector-science/code.js +937 -0
- package/skills/aicut-motion/assets/atlas/styles/001-flat-vector-science/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/001-flat-vector-science/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/002-watercolor-wash/code.js +909 -0
- package/skills/aicut-motion/assets/atlas/styles/002-watercolor-wash/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/002-watercolor-wash/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/003-shadow-puppet-theatre/code.js +881 -0
- package/skills/aicut-motion/assets/atlas/styles/003-shadow-puppet-theatre/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/003-shadow-puppet-theatre/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/004-whiteboard-explainer/code.js +897 -0
- package/skills/aicut-motion/assets/atlas/styles/004-whiteboard-explainer/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/004-whiteboard-explainer/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/005-psychedelic-poster/code.js +814 -0
- package/skills/aicut-motion/assets/atlas/styles/005-psychedelic-poster/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/005-psychedelic-poster/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/006-tech-glow-explainer/code.js +990 -0
- package/skills/aicut-motion/assets/atlas/styles/006-tech-glow-explainer/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/006-tech-glow-explainer/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/007-papercraft-models/code.js +994 -0
- package/skills/aicut-motion/assets/atlas/styles/007-papercraft-models/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/007-papercraft-models/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/008-1940s-film-noir/code.js +792 -0
- package/skills/aicut-motion/assets/atlas/styles/008-1940s-film-noir/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/008-1940s-film-noir/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/009-manim-style-math/code.js +840 -0
- package/skills/aicut-motion/assets/atlas/styles/009-manim-style-math/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/009-manim-style-math/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/010-illuminated-manuscript/code.js +1126 -0
- package/skills/aicut-motion/assets/atlas/styles/010-illuminated-manuscript/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/010-illuminated-manuscript/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/011-editorial-essay-collage/code.js +854 -0
- package/skills/aicut-motion/assets/atlas/styles/011-editorial-essay-collage/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/011-editorial-essay-collage/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/012-bioluminescent-deep-sea/code.js +1124 -0
- package/skills/aicut-motion/assets/atlas/styles/012-bioluminescent-deep-sea/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/012-bioluminescent-deep-sea/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/013-product-launch-reveal/code.js +728 -0
- package/skills/aicut-motion/assets/atlas/styles/013-product-launch-reveal/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/013-product-launch-reveal/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/014-halftone-pop-panel/code.js +664 -0
- package/skills/aicut-motion/assets/atlas/styles/014-halftone-pop-panel/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/014-halftone-pop-panel/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/015-isometric-pastel/code.js +991 -0
- package/skills/aicut-motion/assets/atlas/styles/015-isometric-pastel/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/015-isometric-pastel/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/016-oscilloscope-vector-art/code.js +801 -0
- package/skills/aicut-motion/assets/atlas/styles/016-oscilloscope-vector-art/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/016-oscilloscope-vector-art/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/017-risograph-zine/code.js +692 -0
- package/skills/aicut-motion/assets/atlas/styles/017-risograph-zine/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/017-risograph-zine/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/018-claymation-set/code.js +756 -0
- package/skills/aicut-motion/assets/atlas/styles/018-claymation-set/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/018-claymation-set/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/019-neon-sign-at-night/code.js +922 -0
- package/skills/aicut-motion/assets/atlas/styles/019-neon-sign-at-night/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/019-neon-sign-at-night/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/020-kawaii-anime/code.js +852 -0
- package/skills/aicut-motion/assets/atlas/styles/020-kawaii-anime/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/020-kawaii-anime/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/021-ukiyo-e-woodblock/code.js +724 -0
- package/skills/aicut-motion/assets/atlas/styles/021-ukiyo-e-woodblock/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/021-ukiyo-e-woodblock/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/022-16-bit-pixel-odyssey/code.js +793 -0
- package/skills/aicut-motion/assets/atlas/styles/022-16-bit-pixel-odyssey/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/022-16-bit-pixel-odyssey/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/023-chalkboard-lesson/code.js +846 -0
- package/skills/aicut-motion/assets/atlas/styles/023-chalkboard-lesson/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/023-chalkboard-lesson/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/024-cut-paper-diorama/code.js +1008 -0
- package/skills/aicut-motion/assets/atlas/styles/024-cut-paper-diorama/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/024-cut-paper-diorama/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/025-cathedral-glass/code.js +680 -0
- package/skills/aicut-motion/assets/atlas/styles/025-cathedral-glass/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/025-cathedral-glass/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/026-editorial-chart/code.js +633 -0
- package/skills/aicut-motion/assets/atlas/styles/026-editorial-chart/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/026-editorial-chart/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/027-synthwave-outrun/code.js +757 -0
- package/skills/aicut-motion/assets/atlas/styles/027-synthwave-outrun/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/027-synthwave-outrun/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/028-origami-studio/code.js +828 -0
- package/skills/aicut-motion/assets/atlas/styles/028-origami-studio/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/028-origami-studio/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/029-linocut-relief-print/code.js +697 -0
- package/skills/aicut-motion/assets/atlas/styles/029-linocut-relief-print/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/029-linocut-relief-print/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/030-holographic-foil-card/code.js +687 -0
- package/skills/aicut-motion/assets/atlas/styles/030-holographic-foil-card/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/030-holographic-foil-card/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/031-voxel-diorama/code.js +727 -0
- package/skills/aicut-motion/assets/atlas/styles/031-voxel-diorama/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/031-voxel-diorama/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/032-sumi-e-ink-wash/code.js +903 -0
- package/skills/aicut-motion/assets/atlas/styles/032-sumi-e-ink-wash/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/032-sumi-e-ink-wash/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/033-etch-a-sketch-toy/code.js +662 -0
- package/skills/aicut-motion/assets/atlas/styles/033-etch-a-sketch-toy/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/033-etch-a-sketch-toy/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/034-cosmic-star-chart/code.js +951 -0
- package/skills/aicut-motion/assets/atlas/styles/034-cosmic-star-chart/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/034-cosmic-star-chart/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/035-punk-zine-collage/code.js +759 -0
- package/skills/aicut-motion/assets/atlas/styles/035-punk-zine-collage/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/035-punk-zine-collage/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/036-thermal-camera/code.js +738 -0
- package/skills/aicut-motion/assets/atlas/styles/036-thermal-camera/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/036-thermal-camera/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/037-engineering-blueprint/code.js +793 -0
- package/skills/aicut-motion/assets/atlas/styles/037-engineering-blueprint/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/037-engineering-blueprint/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/038-impasto-night/code.js +673 -0
- package/skills/aicut-motion/assets/atlas/styles/038-impasto-night/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/038-impasto-night/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/039-win95-desktop/code.js +907 -0
- package/skills/aicut-motion/assets/atlas/styles/039-win95-desktop/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/039-win95-desktop/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/040-low-poly-faceted/code.js +833 -0
- package/skills/aicut-motion/assets/atlas/styles/040-low-poly-faceted/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/040-low-poly-faceted/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/041-manga-page/code.js +845 -0
- package/skills/aicut-motion/assets/atlas/styles/041-manga-page/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/041-manga-page/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/042-wood-type-letterpress/code.js +496 -0
- package/skills/aicut-motion/assets/atlas/styles/042-wood-type-letterpress/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/042-wood-type-letterpress/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/043-light-painting/code.js +635 -0
- package/skills/aicut-motion/assets/atlas/styles/043-light-painting/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/043-light-painting/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/044-felt-patchwork/code.js +799 -0
- package/skills/aicut-motion/assets/atlas/styles/044-felt-patchwork/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/044-felt-patchwork/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/045-phosphor-terminal/code.js +547 -0
- package/skills/aicut-motion/assets/atlas/styles/045-phosphor-terminal/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/045-phosphor-terminal/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/046-glassmorphism-ui/code.js +592 -0
- package/skills/aicut-motion/assets/atlas/styles/046-glassmorphism-ui/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/046-glassmorphism-ui/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/047-tarot-card/code.js +768 -0
- package/skills/aicut-motion/assets/atlas/styles/047-tarot-card/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/047-tarot-card/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/048-transit-map/code.js +666 -0
- package/skills/aicut-motion/assets/atlas/styles/048-transit-map/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/048-transit-map/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/049-gouache-travel-poster/code.js +559 -0
- package/skills/aicut-motion/assets/atlas/styles/049-gouache-travel-poster/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/049-gouache-travel-poster/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/050-napkin-sketch/code.js +943 -0
- package/skills/aicut-motion/assets/atlas/styles/050-napkin-sketch/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/050-napkin-sketch/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/051-art-deco-foil/code.js +606 -0
- package/skills/aicut-motion/assets/atlas/styles/051-art-deco-foil/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/051-art-deco-foil/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/052-radiograph-on-lightbox/code.js +730 -0
- package/skills/aicut-motion/assets/atlas/styles/052-radiograph-on-lightbox/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/052-radiograph-on-lightbox/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/053-vaporwave/code.js +782 -0
- package/skills/aicut-motion/assets/atlas/styles/053-vaporwave/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/053-vaporwave/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/054-ebru-paper-marbling/code.js +504 -0
- package/skills/aicut-motion/assets/atlas/styles/054-ebru-paper-marbling/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/054-ebru-paper-marbling/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/055-isotype-pictograms/code.js +517 -0
- package/skills/aicut-motion/assets/atlas/styles/055-isotype-pictograms/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/055-isotype-pictograms/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/056-soft-3d-clay/code.js +713 -0
- package/skills/aicut-motion/assets/atlas/styles/056-soft-3d-clay/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/056-soft-3d-clay/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/057-cross-stitch-sampler/code.js +717 -0
- package/skills/aicut-motion/assets/atlas/styles/057-cross-stitch-sampler/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/057-cross-stitch-sampler/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/058-constructivist-propaganda/code.js +540 -0
- package/skills/aicut-motion/assets/atlas/styles/058-constructivist-propaganda/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/058-constructivist-propaganda/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/059-pocket-monochrome/code.js +524 -0
- package/skills/aicut-motion/assets/atlas/styles/059-pocket-monochrome/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/059-pocket-monochrome/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/060-botanical-plate/code.js +934 -0
- package/skills/aicut-motion/assets/atlas/styles/060-botanical-plate/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/060-botanical-plate/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/061-kinetic-type/code.js +690 -0
- package/skills/aicut-motion/assets/atlas/styles/061-kinetic-type/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/061-kinetic-type/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/062-byzantine-mosaic/code.js +612 -0
- package/skills/aicut-motion/assets/atlas/styles/062-byzantine-mosaic/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/062-byzantine-mosaic/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/063-y2k-liquid-chrome/code.js +666 -0
- package/skills/aicut-motion/assets/atlas/styles/063-y2k-liquid-chrome/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/063-y2k-liquid-chrome/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/064-sticky-note-wall/code.js +651 -0
- package/skills/aicut-motion/assets/atlas/styles/064-sticky-note-wall/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/064-sticky-note-wall/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/065-vintage-newsprint/code.js +656 -0
- package/skills/aicut-motion/assets/atlas/styles/065-vintage-newsprint/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/065-vintage-newsprint/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/066-hidden-line-wireframe/code.js +672 -0
- package/skills/aicut-motion/assets/atlas/styles/066-hidden-line-wireframe/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/066-hidden-line-wireframe/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/067-memphis-group/code.js +548 -0
- package/skills/aicut-motion/assets/atlas/styles/067-memphis-group/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/067-memphis-group/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/068-ballpoint-notebook/code.js +989 -0
- package/skills/aicut-motion/assets/atlas/styles/068-ballpoint-notebook/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/068-ballpoint-notebook/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/069-op-art-sphere/code.js +440 -0
- package/skills/aicut-motion/assets/atlas/styles/069-op-art-sphere/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/069-op-art-sphere/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/070-topographic-survey/code.js +895 -0
- package/skills/aicut-motion/assets/atlas/styles/070-topographic-survey/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/070-topographic-survey/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/071-pointillist-afternoon/code.js +563 -0
- package/skills/aicut-motion/assets/atlas/styles/071-pointillist-afternoon/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/071-pointillist-afternoon/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/072-vector-arcade-1980/code.js +627 -0
- package/skills/aicut-motion/assets/atlas/styles/072-vector-arcade-1980/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/072-vector-arcade-1980/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/073-patent-drawing/code.js +1096 -0
- package/skills/aicut-motion/assets/atlas/styles/073-patent-drawing/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/073-patent-drawing/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/074-bauhaus-poster/code.js +595 -0
- package/skills/aicut-motion/assets/atlas/styles/074-bauhaus-poster/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/074-bauhaus-poster/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/075-bitmap-paint-doodle/code.js +665 -0
- package/skills/aicut-motion/assets/atlas/styles/075-bitmap-paint-doodle/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/075-bitmap-paint-doodle/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/076-nail-thread-string-art/code.js +645 -0
- package/skills/aicut-motion/assets/atlas/styles/076-nail-thread-string-art/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/076-nail-thread-string-art/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/077-ridgeline/code.js +436 -0
- package/skills/aicut-motion/assets/atlas/styles/077-ridgeline/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/077-ridgeline/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/078-sketchbook-graphite/code.js +1237 -0
- package/skills/aicut-motion/assets/atlas/styles/078-sketchbook-graphite/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/078-sketchbook-graphite/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/079-teletext-page/code.js +622 -0
- package/skills/aicut-motion/assets/atlas/styles/079-teletext-page/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/079-teletext-page/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/080-silkscreen-grid/code.js +524 -0
- package/skills/aicut-motion/assets/atlas/styles/080-silkscreen-grid/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/080-silkscreen-grid/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/081-guilloch-security-print/code.js +689 -0
- package/skills/aicut-motion/assets/atlas/styles/081-guilloch-security-print/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/081-guilloch-security-print/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/082-ascii-demoscene/code.js +574 -0
- package/skills/aicut-motion/assets/atlas/styles/082-ascii-demoscene/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/082-ascii-demoscene/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/083-international-typographic-style/code.js +469 -0
- package/skills/aicut-motion/assets/atlas/styles/083-international-typographic-style/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/083-international-typographic-style/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/084-flow-field/code.js +531 -0
- package/skills/aicut-motion/assets/atlas/styles/084-flow-field/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/084-flow-field/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/085-macpaint-1984/code.js +675 -0
- package/skills/aicut-motion/assets/atlas/styles/085-macpaint-1984/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/085-macpaint-1984/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/086-multi-scale-truchet/code.js +609 -0
- package/skills/aicut-motion/assets/atlas/styles/086-multi-scale-truchet/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/086-multi-scale-truchet/style.json +13 -0
- package/skills/aicut-motion/references/motion-delivery.md +55 -0
- package/skills/aicut-motion/references/style-index.json +690 -0
- package/skills/aicut-motion/references/style-research.md +73 -0
- package/skills/aicut-motion/references/style-selection.md +71 -0
- package/skills/aicut-motion/scripts/atlas-viewer.html +195 -0
- package/skills/aicut-motion/scripts/atlas.mjs +109 -0
- package/studio/server/fetch-github.mjs +14 -3
- package/studio/server/server.mjs +40 -3
- package/studio/server/skill-summaries.mjs +60 -0
- package/studio/server/skills.mjs +121 -7
- package/studio/server/styles-store.mjs +235 -0
- package/studio/server/template-posters.mjs +2 -2
- package/studio/server/templates-page.mjs +93 -93
- package/studio/server/templates.mjs +32 -7
- package/studio/ui/dist/assets/ExportCenter-DasulhAv.js +1 -0
- package/studio/ui/dist/assets/SettingsModal-BZw0Hz2_.js +2 -0
- package/studio/ui/dist/assets/es-C8XPZARI.js +1 -0
- package/studio/ui/dist/assets/index-BjJVmBzB.js +1623 -0
- package/studio/ui/dist/assets/index-C3BfKZFO.css +1 -0
- package/studio/ui/dist/assets/ja-BeNkdaEj.js +1 -0
- package/studio/ui/dist/assets/ko-DcTVhdzK.js +1 -0
- package/studio/ui/dist/assets/zh-CN-Cg51ctbL.js +1 -0
- package/studio/ui/dist/index.html +2 -2
- package/skills/30x-web-to-video/SKILL.md +0 -421
- package/skills/30x-web-to-video/examples/INDEX.md +0 -26
- package/skills/30x-web-to-video/references/animations.md +0 -539
- package/skills/30x-web-to-video/references/audio.md +0 -256
- package/skills/30x-web-to-video/references/components.md +0 -340
- package/skills/30x-web-to-video/references/lottie.md +0 -174
- package/skills/30x-web-to-video/references/visual-effects.md +0 -157
- package/skills/30x-web-to-video/remotion-best-practices/rules/audio.md +0 -169
- package/skills/30x-web-to-video/remotion-best-practices/rules/calculate-metadata.md +0 -134
- package/skills/30x-web-to-video/remotion-best-practices/rules/charts.md +0 -120
- package/skills/30x-web-to-video/remotion-best-practices/rules/compositions.md +0 -154
- package/skills/30x-web-to-video/remotion-best-practices/rules/ffmpeg.md +0 -38
- package/skills/30x-web-to-video/remotion-best-practices/rules/fonts.md +0 -152
- package/skills/3d-asset-generation/SKILL.md +0 -142
- package/skills/action-fight-prompt/SKILL.md +0 -136
- package/skills/action-fight-prompt/references/camera-and-impact.md +0 -64
- package/skills/action-fight-prompt/references/example-15s-duel.md +0 -59
- package/skills/action-fight-prompt/references/scene-patterns.md +0 -80
- package/skills/ad-creative-video/SKILL.md +0 -205
- package/skills/ad-creative-video/references/batch-ad-pipeline.md +0 -289
- package/skills/ad-creative-video/references/platform-specs.md +0 -72
- package/skills/after-effects/SKILL.md +0 -123
- package/skills/after-effects/references/export-recipes.md +0 -168
- package/skills/after-effects/references/expression-library.md +0 -184
- package/skills/after-effects/references/expressions.md +0 -134
- package/skills/after-effects/references/performance-triage.md +0 -138
- package/skills/after-effects/references/project-hygiene.md +0 -188
- package/skills/ai-media-quality-review/SKILL.md +0 -72
- package/skills/ai-product-video/SKILL.md +0 -296
- package/skills/ai-product-video/references/aesthetic-rules.md +0 -177
- package/skills/ai-product-video/references/final-review.md +0 -110
- package/skills/ai-product-video/references/guided-free-creation.md +0 -194
- package/skills/ai-product-video/references/music-beat-sync.md +0 -219
- package/skills/ai-product-video/references/pipeline.md +0 -392
- package/skills/ai-product-video/references/sequences/promo-energy-arc.md +0 -50
- package/skills/ai-product-video/references/shots/ATTRIBUTION.md +0 -65
- package/skills/ai-product-video/references/shots/camera/basic-3d-scene.md +0 -37
- package/skills/ai-product-video/references/shots/camera/crash-zoom-punch.md +0 -39
- package/skills/ai-product-video/references/shots/camera/cursor-flyover.md +0 -38
- package/skills/ai-product-video/references/shots/camera/depth-layer-moves.md +0 -40
- package/skills/ai-product-video/references/shots/camera/graze-face-tour.md +0 -57
- package/skills/anidoodle/SKILL.md +0 -185
- package/skills/anidoodle/references/anatomy.md +0 -91
- package/skills/anidoodle/references/backends-and-adapters.md +0 -82
- package/skills/anidoodle/references/camera.md +0 -148
- package/skills/anidoodle/references/craft-bar.md +0 -72
- package/skills/anidoodle/references/determinism-and-contract.md +0 -46
- package/skills/anidoodle/references/formats.md +0 -121
- package/skills/anidoodle/references/motion-grammar.md +0 -234
- package/skills/anidoodle/references/music/compose.md +0 -388
- package/skills/anidoodle/references/music/sound-design.md +0 -245
- package/skills/anidoodle/references/music/sounds-licenses.md +0 -69
- package/skills/anidoodle/references/music/styles/lofi-electronic.md +0 -112
- package/skills/anidoodle/references/music/styles/music-box.md +0 -57
- package/skills/animated-component-libraries/SKILL.md +0 -820
- package/skills/animated-component-libraries/references/customization_guide.md +0 -699
- package/skills/animated-component-libraries/references/magic_ui_components.md +0 -422
- package/skills/animated-component-libraries/references/react_bits_components.md +0 -587
- package/skills/animated-infographic/SKILL.md +0 -211
- package/skills/animated-infographic/references/sequenced-infographic.md +0 -286
- package/skills/appshot-core/SKILL.md +0 -872
- package/skills/article-highlights/SKILL.md +0 -151
- package/skills/avatar-mix/SKILL.md +0 -301
- package/skills/bang-motion/SKILL.md +0 -583
- package/skills/bang-motion/references/ae-bridge-higgsfield.md +0 -160
- package/skills/bang-motion/references/anti-ppt.md +0 -110
- package/skills/bang-motion/references/architecture.md +0 -188
- package/skills/bang-motion/references/explainer.md +0 -579
- package/skills/bang-motion/references/kartun-panggung.md +0 -221
- package/skills/bang-motion/references/opener-konsep.md +0 -817
- package/skills/bang-motion/references/roadmap.md +0 -85
- package/skills/bang-motion/references/techniques.md +0 -690
- package/skills/beat-sync-edit/SKILL.md +0 -148
- package/skills/book-video-factory/SKILL.md +0 -139
- package/skills/book-video-factory/references/first-run.md +0 -50
- package/skills/book-video-factory/references/paper-collage-explainer.md +0 -127
- package/skills/book-video-factory/references/quality-gates.md +0 -87
- package/skills/book-video-production/SKILL.md +0 -211
- package/skills/brag/SKILL.md +0 -195
- package/skills/brag/references/audio.md +0 -312
- package/skills/brag/references/step-1-inspect.md +0 -125
- package/skills/brag/references/step-2-plan.md +0 -234
- package/skills/brag/references/step-3-compose.md +0 -199
- package/skills/brag/references/step-4-deliver.md +0 -141
- package/skills/brag/references/tones.md +0 -231
- package/skills/brand-setup/SKILL.md +0 -228
- package/skills/brewreel/SKILL.md +0 -491
- package/skills/brewreel/docs/broll.en.md +0 -252
- package/skills/brewreel/docs/broll.md +0 -252
- package/skills/brewreel/docs/custom-shot.en.md +0 -66
- package/skills/brewreel/docs/custom-shot.md +0 -103
- package/skills/brewreel/docs/faq.en.md +0 -90
- package/skills/brewreel/docs/faq.md +0 -90
- package/skills/brewreel/docs/features.en.md +0 -157
- package/skills/brewreel/docs/features.md +0 -157
- package/skills/brewreel/docs/gallery.en.md +0 -44
- package/skills/brewreel/docs/gallery.md +0 -44
- package/skills/brewreel/docs/how-it-works.en.md +0 -64
- package/skills/brewreel/docs/how-it-works.md +0 -64
- package/skills/caption-animation/SKILL.md +0 -216
- package/skills/caption-animation/references/word-timed-captions.md +0 -254
- package/skills/cartcut-editing/SKILL.md +0 -615
- package/skills/cartcut-editing/references/html-typography.md +0 -277
- package/skills/cassette-video-edit/SKILL.md +0 -129
- package/skills/ccvideo/SKILL.md +0 -264
- package/skills/chekhov-dramaturgy/SKILL.md +0 -367
- package/skills/chekhov-dramaturgy/reference.md +0 -375
- package/skills/chengfeng-check-updates/SKILL.md +0 -283
- package/skills/cinematic-product-promo-skill/SKILL.md +0 -295
- package/skills/cinematic-product-promo-skill/references/aesthetic-rules.md +0 -187
- package/skills/cinematic-product-promo-skill/references/final-review.md +0 -116
- package/skills/cinematic-product-promo-skill/references/guided-free-creation.md +0 -199
- package/skills/cinematic-product-promo-skill/references/jianying-export.md +0 -183
- package/skills/cinematic-product-promo-skill/references/music-beat-sync.md +0 -257
- package/skills/cinematic-product-promo-skill/references/pipeline.md +0 -393
- package/skills/cinematic-product-promo-skill/references/sequences/promo-energy-arc.md +0 -50
- package/skills/cinematic-product-promo-skill/references/shots/ATTRIBUTION.md +0 -65
- package/skills/cinematic-product-promo-skill/references/shots/camera/basic-3d-scene.md +0 -37
- package/skills/cinematic-product-promo-skill/references/shots/camera/crash-zoom-punch.md +0 -39
- package/skills/cinematic-product-promo-skill/references/shots/camera/cursor-flyover.md +0 -38
- package/skills/cinematic-product-promo-skill/references/shots/camera/depth-layer-moves.md +0 -40
- package/skills/claude-gif/SKILL.md +0 -211
- package/skills/claude-gif/references/gif-optimization.md +0 -209
- package/skills/claude-gif/references/perfect-loops.md +0 -295
- package/skills/claude-gif/references/platform-specs.md +0 -138
- package/skills/claude-gif/references/prompt-engineering.md +0 -211
- package/skills/claude-gif/references/remotion-gif.md +0 -560
- package/skills/codex-video-pipeline/SKILL.md +0 -213
- package/skills/codex-video-pipeline/examples/ai-meeting-notes/INPUT.md +0 -10
- package/skills/codex-video-pipeline/examples/ai-meeting-notes/expected/action-list.md +0 -22
- package/skills/codex-video-pipeline/references/captions.md +0 -39
- package/skills/codex-video-pipeline/references/cover-system.md +0 -72
- package/skills/codex-video-pipeline/references/cross-platform.md +0 -77
- package/skills/codex-video-pipeline/references/example-run.md +0 -54
- package/skills/codex-video-pipeline/references/first-run.md +0 -130
- package/skills/codex-video-pipeline/references/project-contract.md +0 -54
- package/skills/codex-video-pipeline/references/quality-gates.md +0 -44
- package/skills/codex-video-pipeline/references/research-and-script.md +0 -50
- package/skills/collage-broll-explainers/SKILL.md +0 -429
- package/skills/create-onboarding-video/SKILL.md +0 -233
- package/skills/cs-shotcraft-skill/SKILL.md +0 -218
- package/skills/cs-shotcraft-skill/references/aesthetic-rules.md +0 -207
- package/skills/cs-shotcraft-skill/references/camera-table.md +0 -88
- package/skills/cs-shotcraft-skill/references/engineering.md +0 -132
- package/skills/cs-shotcraft-skill/references/final-review.md +0 -118
- package/skills/cs-shotcraft-skill/references/guided-free-creation.md +0 -199
- package/skills/cs-shotcraft-skill/references/jianying-export.md +0 -183
- package/skills/cs-shotcraft-skill/references/music-beat-sync.md +0 -257
- package/skills/cs-shotcraft-skill/references/pipeline.md +0 -408
- package/skills/cs-shotcraft-skill/references/product-machine.md +0 -56
- package/skills/cs-shotcraft-skill/references/sequences/promo-energy-arc.md +0 -50
- package/skills/cs-shotcraft-skill/references/shots/ATTRIBUTION.md +0 -65
- package/skills/cs-shotcraft-skill/references/shots/camera/basic-3d-scene.md +0 -37
- package/skills/cut-video/SKILL.md +0 -387
- package/skills/cyxj-hyperframes-overlay/SKILL.md +0 -75
- package/skills/cyxj-remotion-evolve/SKILL.md +0 -123
- package/skills/cyxj-remotion-evolve-vibe-motion/SKILL.md +0 -123
- package/skills/demo-video-creation-skill/SKILL.md +0 -152
- package/skills/demo-video-creation-skill/references/capture-workflow.md +0 -74
- package/skills/demo-video-creation-skill/references/qc-checklist.md +0 -61
- package/skills/demo-video-creation-skill/references/remotion-ffmpeg.md +0 -94
- package/skills/demo-video-creation-skill/references/storytelling.md +0 -86
- package/skills/demo-video-creation-skill/references/visual-system.md +0 -83
- package/skills/demoday/SKILL.md +0 -148
- package/skills/develop-premiere-pro-mcp/SKILL.md +0 -131
- package/skills/diagram-animation/SKILL.md +0 -200
- package/skills/diagram-animation/references/diagram-and-chart-recipes.md +0 -218
- package/skills/diagram-tour/SKILL.md +0 -287
- package/skills/diagram-tour/examples/agent-architecture/agent-architecture-tour.md +0 -78
- package/skills/docvideoer/SKILL.md +0 -139
- package/skills/draftcut/SKILL.md +0 -104
- package/skills/draftcut/docs/agent-bootstrap.md +0 -64
- package/skills/draftcut/docs/approvals.md +0 -45
- package/skills/draftcut/docs/audio-first-migration.md +0 -35
- package/skills/draftcut/docs/configuration.md +0 -54
- package/skills/draftcut/docs/getting-started.md +0 -63
- package/skills/draftcut/docs/harness-case-study.en.md +0 -23
- package/skills/draftcut/docs/harness-case-study.md +0 -47
- package/skills/draftcut/references/01-plan.md +0 -30
- package/skills/draftcut/references/03-deliver.md +0 -26
- package/skills/draftcut/references/04-reference-theme-prompt.md +0 -7
- package/skills/draftcut/references/05-social-loudness.md +0 -58
- package/skills/draftcut/references/06-modern-components.md +0 -72
- package/skills/easyedit/SKILL.md +0 -66
- package/skills/erduo-broll-loop-engineering/SKILL.md +0 -136
- package/skills/erduo-broll-loop-engineering/references/animation-craft.md +0 -208
- package/skills/erduo-broll-loop-engineering/references/first-run-onboarding.md +0 -107
- package/skills/erduo-broll-loop-engineering/references/handoff-template.md +0 -70
- package/skills/erduo-broll-loop-engineering/references/motion-layout-lint.md +0 -122
- package/skills/erduo-broll-loop-engineering/references/parent-review-checklist.md +0 -171
- package/skills/erduo-broll-loop-engineering/references/prompt-first-workflow.md +0 -322
- package/skills/erduo-broll-loop-engineering/references/remotion-backend.md +0 -334
- package/skills/erduo-broll-loop-engineering/references/runtime/remotion-hyperframes-map.md +0 -76
- package/skills/erduo-broll-loop-engineering/references/runtime/runtime-contract.md +0 -174
- package/skills/erduo-broll-loop-engineering/references/runtime/runtime-selection.md +0 -135
- package/skills/erduo-broll-loop-engineering/references/shotcraft/remotion-sources/SOURCE.md +0 -7
- package/skills/erduo-broll-loop-engineering/references/shotcraft/upstream-attribution.md +0 -65
- package/skills/explainer-assets/SKILL.md +0 -98
- package/skills/explainer-video/SKILL.md +0 -146
- package/skills/framewright/SKILL.md +0 -324
- package/skills/framewright/references/audio.md +0 -230
- package/skills/framewright/references/guide.md +0 -276
- package/skills/framewright/references/painting.md +0 -425
- package/skills/framewright/references/photo.md +0 -75
- package/skills/framewright/references/questionnaire.md +0 -115
- package/skills/framewright/references/styles.md +0 -388
- package/skills/framewright/references/troubleshooting.md +0 -119
- package/skills/framewright/references/world.md +0 -215
- package/skills/gbro-collage-broll/SKILL.md +0 -435
- package/skills/gbro-collage-info/SKILL.md +0 -135
- package/skills/gbro-collage-info/references/motion-grammar.md +0 -66
- package/skills/gbro-collage-info/references/production.md +0 -67
- package/skills/gbro-collage-info/references/style-system.md +0 -38
- package/skills/gemini-tts/SKILL.md +0 -208
- package/skills/gemini-tts/references/prompting-guide.md +0 -169
- package/skills/gen/SKILL.md +0 -282
- package/skills/ghost-editor/SKILL.md +0 -437
- package/skills/ghost-editor/docs/HOW-IT-WORKS.md +0 -82
- package/skills/ghost-editor/docs/PLAYBOOK.md +0 -139
- package/skills/ghost-editor/docs/THIRD_PARTY/audio.md +0 -17
- package/skills/ghost-editor/docs/THIRD_PARTY/audioqa.md +0 -13
- package/skills/ghost-editor/docs/THIRD_PARTY/captions.md +0 -20
- package/skills/ghost-editor/docs/THIRD_PARTY/fonts.md +0 -17
- package/skills/ghost-editor/docs/THIRD_PARTY/kinetic.md +0 -22
- package/skills/ghost-editor/docs/THIRD_PARTY/looks.md +0 -22
- package/skills/ghost-editor/docs/THIRD_PARTY/matte.md +0 -20
- package/skills/ghost-editor/docs/THIRD_PARTY/models.md +0 -11
- package/skills/ghost-editor/docs/THIRD_PARTY/runtime.md +0 -13
- package/skills/ghost-editor/docs/THIRD_PARTY/shaders.md +0 -15
- package/skills/git-story-film/SKILL.md +0 -220
- package/skills/git-story-film/examples/raven-story/FONTS.md +0 -8
- package/skills/git-story-film/examples/raven-story/OUTLINE.md +0 -93
- package/skills/git-story-film/references/craft.md +0 -148
- package/skills/git-story-film/references/directing.md +0 -185
- package/skills/git-story-film/references/forms.md +0 -150
- package/skills/git-story-film/references/production.md +0 -150
- package/skills/git-story-film/references/story.md +0 -137
- package/skills/git-story-film/references/text-and-fonts.md +0 -90
- package/skills/guizang-product-video-skill/SKILL.md +0 -96
- package/skills/guizang-product-video-skill/references/audio-and-qa.md +0 -113
- package/skills/guizang-product-video-skill/references/audio-sourcing.md +0 -80
- package/skills/guizang-product-video-skill/references/case-study.md +0 -63
- package/skills/guizang-product-video-skill/references/component-pipeline.md +0 -86
- package/skills/guizang-product-video-skill/references/cover.md +0 -43
- package/skills/guizang-product-video-skill/references/direction.md +0 -91
- package/skills/guizang-product-video-skill/references/onboarding.md +0 -98
- package/skills/guizang-product-video-skill/references/repo-and-style.md +0 -44
- package/skills/guizang-product-video-skill/references/review.md +0 -38
- package/skills/guizang-product-video-skill/references/starter.md +0 -168
- package/skills/guizang-product-video-skill/references/story-and-copy.md +0 -88
- package/skills/guizang-product-video-skill/references/visual-vocabulary.md +0 -78
- package/skills/guofeng-paper-video/SKILL.md +0 -159
- package/skills/guofeng-paper-video/style/design.md +0 -43
- package/skills/guofeng-paper-video/style/palette.md +0 -21
- package/skills/guofeng-paper-video/style/prompts/01-/345/210/206/351/225/234/350/241/250.md +0 -19
- package/skills/guofeng-paper-video/style/prompts/02-/347/224/237/346/210/220/347/272/270/347/211/207.md +0 -37
- package/skills/guofeng-paper-video/style/prompts/03-/351/205/215/351/237/263/350/204/232/346/234/254.md +0 -27
- 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
- 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
- package/skills/hand-drawn-explainer-video-nikola/SKILL.md +0 -113
- package/skills/hand-drawn-explainer-video-nikola/docs/ARCHITECTURE.md +0 -18
- package/skills/hand-drawn-explainer-video-nikola/docs/CONFIGURATION.md +0 -22
- package/skills/hand-drawn-explainer-video-nikola/docs/STYLES.md +0 -28
- package/skills/hand-drawn-explainer-video-nikola/docs/TROUBLESHOOTING.md +0 -35
- package/skills/hand-drawn-explainer-video-nikola/examples/program-animation/skill-demo/DESIGN.md +0 -24
- package/skills/hand-drawn-explainer-video-nikola/references/automation-workflow.md +0 -67
- package/skills/hand-drawn-explainer-video-nikola/references/output-example.md +0 -79
- package/skills/hand-drawn-explainer-video-nikola/references/preflight-and-recovery.md +0 -49
- package/skills/hand-drawn-explainer-video-nikola/references/style-guide.md +0 -82
- package/skills/hand-drawn-explainer-video-nikola/references/style-selection-and-updates.md +0 -39
- package/skills/hand-drawn-explainer-video-nikola/references/upstream-whiteboard-review.md +0 -30
- package/skills/hand-drawn-explainer-video-nikola/references/voiceover.md +0 -37
- package/skills/hbg-life-simulation/SKILL.md +0 -285
- package/skills/hbg-life-simulation/references/image-generation.md +0 -53
- package/skills/hbg-life-simulation/references/local-account-api.md +0 -112
- package/skills/hbg-life-simulation/references/opening-system.md +0 -45
- package/skills/hbg-life-simulation/references/project-spec.md +0 -62
- package/skills/hbg-life-simulation/references/render-and-qa.md +0 -107
- package/skills/hbg-life-simulation/references/storyboarding.md +0 -69
- package/skills/hbg-life-simulation/references/style-system.md +0 -80
- package/skills/hbg-life-simulation/references/visual-system.md +0 -44
- package/skills/heygen-avatar/SKILL.md +0 -489
- package/skills/heygen-avatar/references/asset-routing.md +0 -86
- package/skills/heygen-avatar/references/avatar-creation.md +0 -181
- package/skills/heygen-avatar/references/troubleshooting.md +0 -137
- package/skills/heytea-doodle-poster/SKILL.md +0 -132
- package/skills/heytea-doodle-poster/references/desktop-pet-character-modes.md +0 -103
- package/skills/heytea-doodle-poster/references/desktop-pet-environment.md +0 -122
- package/skills/heytea-doodle-poster/references/desktop-pet-pack.md +0 -106
- package/skills/heytea-doodle-poster/references/desktop-pet-workflow.md +0 -264
- package/skills/heytea-doodle-poster/references/evaluation.md +0 -246
- package/skills/heytea-doodle-poster/references/lettering-guide.md +0 -213
- package/skills/heytea-doodle-poster/references/mixed-media-style-guide.md +0 -101
- package/skills/heytea-doodle-poster/references/monster-poster-workflow.md +0 -56
- package/skills/heytea-doodle-poster/references/style-guide.md +0 -412
- package/skills/heytea-doodle-poster-hosted/SKILL.md +0 -132
- package/skills/heytea-doodle-poster-hosted/references/desktop-pet-character-modes.md +0 -103
- package/skills/heytea-doodle-poster-hosted/references/desktop-pet-environment.md +0 -122
- package/skills/heytea-doodle-poster-hosted/references/desktop-pet-pack.md +0 -106
- package/skills/heytea-doodle-poster-hosted/references/desktop-pet-workflow.md +0 -264
- package/skills/heytea-doodle-poster-hosted/references/evaluation.md +0 -246
- package/skills/heytea-doodle-poster-hosted/references/lettering-guide.md +0 -213
- package/skills/heytea-doodle-poster-hosted/references/mixed-media-style-guide.md +0 -101
- package/skills/heytea-doodle-poster-hosted/references/monster-poster-workflow.md +0 -56
- package/skills/heytea-doodle-poster-hosted/references/style-guide.md +0 -412
- package/skills/html2video/SKILL.md +0 -290
- package/skills/html2video/references/cjk-type.md +0 -173
- package/skills/html2video/references/editorial.md +0 -145
- package/skills/html2video/references/narration.md +0 -111
- package/skills/html2video/references/pitfalls.md +0 -238
- package/skills/html2video/references/shots.md +0 -198
- package/skills/html2video/references/storyboard.md +0 -323
- package/skills/hyperdirector/SKILL.md +0 -202
- package/skills/hyperdirector/docs/audio-workflow.md +0 -160
- package/skills/hyperdirector/docs/audio-workflow.zh-CN.md +0 -244
- package/skills/hyperdirector/docs/brand-kit-setup.md +0 -322
- package/skills/hyperdirector/docs/brand-kit-setup.zh-CN.md +0 -277
- package/skills/hyperdirector/docs/cursor-development-notes.md +0 -474
- package/skills/hyperdirector/docs/faq.md +0 -285
- package/skills/hyperdirector/docs/faq.zh-CN.md +0 -198
- package/skills/hyperdirector/docs/first-video.md +0 -320
- package/skills/hyperdirector/docs/first-video.zh-CN.md +0 -265
- package/skills/hyperdirector/docs/installation.md +0 -254
- package/skills/hyperdirector/docs/installation.zh-CN.md +0 -222
- package/skills/hyperdirector/docs/quickstart.md +0 -203
- package/skills/hyperframes/SKILL.md +0 -117
- package/skills/hyperframes/references/captions.md +0 -46
- package/skills/hyperframes/references/film.md +0 -48
- package/skills/hyperframes/references/format.md +0 -158
- package/skills/hyperframes/references/look.md +0 -69
- package/skills/hyperframes/references/motion.md +0 -95
- package/skills/hyperframes/references/overlays.md +0 -39
- package/skills/hyperframes/references/review.md +0 -51
- package/skills/hyperframes/references/runtimes.md +0 -69
- package/skills/hyperframes/references/skill-lifecycle.md +0 -49
- package/skills/hyperframes/references/sound.md +0 -43
- package/skills/hyperframes/references/spec.md +0 -76
- package/skills/hyperframes/references/story.md +0 -103
- package/skills/hyperframes-motion-director/SKILL.md +0 -920
- package/skills/hyperframes-motion-director/references/asset-choreography-and-render-qa.md +0 -185
- package/skills/hyperframes-motion-director/references/audio-sync.md +0 -83
- package/skills/hyperframes-motion-director/references/design-engineering.md +0 -156
- package/skills/hyperframes-motion-director/references/gsap-choreography.md +0 -202
- package/skills/hyperframes-motion-director/references/hyperframes-stability.md +0 -99
- package/skills/hyperframes-motion-director/references/imagegen-asset-pipeline.md +0 -227
- package/skills/hyperframes-motion-director/references/motion-background-system.md +0 -165
- package/skills/hyperframes-motion-director/references/motion-craft.md +0 -182
- package/skills/hyperframes-motion-director/references/premium-product-promo.md +0 -287
- package/skills/hyperframes-motion-director/references/text-over-background-layout.md +0 -221
- package/skills/hyperframes-motion-director/references/visual-standard.md +0 -174
- package/skills/hyperframes-motion-director/references/workflow.md +0 -320
- package/skills/hypit/SKILL.md +0 -367
- package/skills/hypit/references/creation/brief.md +0 -93
- package/skills/hypit/references/creation/script-and-time.md +0 -259
- package/skills/hypit/references/creation/transformations.md +0 -143
- package/skills/hypit/references/playbooks/craft/b-roll.md +0 -94
- package/skills/hypit/references/playbooks/craft/caption-tracking.md +0 -126
- package/skills/hypit/references/playbooks/craft/captions.md +0 -253
- package/skills/hypit/references/playbooks/craft/generated-dependencies.md +0 -38
- package/skills/hypit/references/playbooks/craft/graphic-compositions.md +0 -85
- package/skills/hypit/references/playbooks/craft/motion-graphics.md +0 -68
- package/skills/hypit/references/playbooks/craft/screen-demonstrations.md +0 -51
- package/skills/hypit/references/playbooks/craft/sound-mix.md +0 -70
- package/skills/hypit/references/playbooks/formats/narration-led-demo.md +0 -87
- package/skills/image/SKILL.md +0 -153
- package/skills/image/references/characters.md +0 -86
- package/skills/image/references/creative-direction.md +0 -137
- package/skills/image/references/de-slop.md +0 -95
- package/skills/image/references/dimensional.md +0 -88
- package/skills/image/references/editing.md +0 -112
- package/skills/image/references/golden-rules.md +0 -198
- package/skills/image/references/gpt-image.md +0 -228
- package/skills/image/references/models.md +0 -78
- package/skills/image/references/multi-panel.md +0 -354
- package/skills/image/references/nano-banana.md +0 -150
- package/skills/image/references/patterns/character-design.md +0 -150
- package/skills/image/references/patterns/ecommerce.md +0 -124
- package/skills/image-smixs/SKILL.md +0 -153
- package/skills/image-smixs/references/characters.md +0 -86
- package/skills/image-smixs/references/creative-direction.md +0 -137
- package/skills/image-smixs/references/de-slop.md +0 -95
- package/skills/image-smixs/references/dimensional.md +0 -88
- package/skills/image-smixs/references/editing.md +0 -112
- package/skills/image-smixs/references/golden-rules.md +0 -198
- package/skills/image-smixs/references/gpt-image.md +0 -228
- package/skills/image-smixs/references/models.md +0 -78
- package/skills/image-smixs/references/multi-panel.md +0 -354
- package/skills/image-smixs/references/nano-banana.md +0 -150
- package/skills/image-smixs/references/patterns/character-design.md +0 -150
- package/skills/image-smixs/references/patterns/ecommerce.md +0 -124
- package/skills/image-story-video-wizard/SKILL.md +0 -148
- package/skills/image-story-video-wizard/docs/ARTICLE_ALIGNMENT.md +0 -29
- package/skills/image-story-video-wizard/references/host-routing.md +0 -44
- package/skills/image-story-video-wizard/references/state-schema.md +0 -79
- package/skills/image-story-video-wizard/references/workflow.md +0 -203
- package/skills/image-story-video-wizard/references/writing-and-review.md +0 -60
- package/skills/ip-as-logo/SKILL.md +0 -151
- package/skills/ip-as-logo-s1dashu/SKILL.md +0 -151
- package/skills/jtxvideo-skill/SKILL.md +0 -337
- package/skills/kinetic-reel/SKILL.md +0 -140
- package/skills/kinetic-reel/examples/work-reel-26/STORYBOARD.md +0 -51
- package/skills/kinetic-reel/references/sound.md +0 -40
- package/skills/kinetic-reel/references/style-guide.md +0 -79
- package/skills/knowledge-explainer-skill/SKILL.md +0 -149
- package/skills/knowledge-explainer-skill/examples/ai_video_3steps.md +0 -61
- package/skills/knowledge-explainer-skill/examples/algorithm_bubble.md +0 -20
- package/skills/knowledge-explainer-skill/examples/before_after_demo.md +0 -38
- package/skills/knowledge-explainer-skill/examples/cta_outro.md +0 -11
- package/skills/knowledge-explainer-skill/examples/double_pendulum.md +0 -20
- package/skills/knowledge-explainer-skill/examples/paper_fold.md +0 -20
- package/skills/knowledge-explainer-skill/examples/script.md +0 -40
- package/skills/lanshu-create-ai-presenter-video/SKILL.md +0 -253
- package/skills/lanshu-create-ai-presenter-video/references/editing.md +0 -67
- package/skills/lanshu-create-ai-presenter-video/references/generation.md +0 -94
- package/skills/lanshu-create-ai-presenter-video/references/qa-recovery.md +0 -83
- package/skills/lanshu-create-ai-presenter-video/references/styled-explainer.md +0 -189
- package/skills/laoxu-video-script/SKILL.md +0 -117
- package/skills/laoxu-video-script/references/cases.md +0 -305
- package/skills/laoxu-video-script/references/de-ai.md +0 -32
- package/skills/laoxu-video-script/references/diagnostics.md +0 -67
- package/skills/laoxu-video-script/references/format.md +0 -62
- package/skills/laoxu-video-script/references/formulas.md +0 -43
- package/skills/laoxu-video-script/references/method.md +0 -115
- package/skills/laoxu-video-script/references/motifs-and-lines.md +0 -829
- package/skills/laoxu-video-script/references/persona.md +0 -38
- package/skills/laoxu-video-script/references/qihao-path.md +0 -35
- package/skills/laoxu-video-script/references/qihao-xinfa.md +0 -39
- package/skills/laoxu-video-script/references/redlines.md +0 -26
- package/skills/lemo-opuscar/SKILL.md +0 -67
- package/skills/lipnardo/SKILL.md +0 -308
- package/skills/lipnardo/examples/batch-personalized.md +0 -44
- package/skills/lipnardo/examples/photo-to-avatar-pipeline.md +0 -56
- package/skills/lipnardo/examples/single-video.md +0 -44
- package/skills/lipnardo/references/avatar-types.md +0 -42
- package/skills/lipnardo/references/credit-costs.md +0 -39
- package/skills/lipnardo/references/error-codes.md +0 -66
- package/skills/lipnardo/references/heygen-api-reference.md +0 -416
- package/skills/ll-video-decomposer/SKILL.md +0 -105
- package/skills/ll-video-decomposer/references/audiovisual-analysis-guide.md +0 -44
- package/skills/ll-video-decomposer/references/evidence-and-confidence-rules.md +0 -41
- package/skills/ll-video-decomposer/references/multi-video-comparison-template.md +0 -48
- package/skills/ll-video-decomposer/references/single-video-report-template.md +0 -47
- package/skills/ll-video-decomposer/references/tool-discovery-workflow.md +0 -30
- package/skills/ll-video-decomposer/references/transcription-routing.md +0 -65
- package/skills/ll-video-decomposer/references/video-acquisition-workflow.md +0 -30
- package/skills/ltx2-video/SKILL.md +0 -193
- package/skills/ltx2-video/references/mode_ux.md +0 -293
- package/skills/make-ai-short/SKILL.md +0 -130
- package/skills/make-blender-education-video/SKILL.md +0 -247
- package/skills/make-blender-education-video/references/evidence-and-explanation.md +0 -62
- package/skills/make-blender-education-video/references/github-workflow-discovery.md +0 -55
- package/skills/make-blender-education-video/references/production-workflow.md +0 -62
- package/skills/make-blender-education-video/references/story-patterns.md +0 -65
- package/skills/make-blender-education-video/references/visual-quality.md +0 -82
- package/skills/manage-storyboard-projects/SKILL.md +0 -128
- package/skills/manim-composer/SKILL.md +0 -176
- package/skills/manim-composer/references/narrative-patterns.md +0 -125
- package/skills/manim-composer/references/scene-examples.md +0 -216
- package/skills/manim-composer/references/visual-techniques.md +0 -223
- package/skills/manim-composer/templates/scenes-template.md +0 -147
- package/skills/monet-ai-editor-monet/SKILL.md +0 -367
- package/skills/motion-graphics/SKILL.md +0 -206
- package/skills/motion-graphics/references/craft.md +0 -136
- package/skills/motion-graphics/references/engine.md +0 -130
- package/skills/motion-graphics/references/export.md +0 -67
- package/skills/motion-graphics/references/physics.md +0 -100
- package/skills/motion-graphics/references/verify.md +0 -124
- package/skills/motion-video/SKILL.md +0 -133
- package/skills/motion-video/references/audio-and-beat-sync.md +0 -109
- package/skills/motion-video/references/composition-contract.md +0 -107
- package/skills/motion-video/references/production-pipeline.md +0 -147
- package/skills/motion-video/references/style-comic-spiderverse.md +0 -87
- package/skills/motion-video/references/style-glass-keynote.md +0 -69
- package/skills/motion-video-maker/SKILL.md +0 -1452
- package/skills/motion-video-maker/reference/components.md +0 -451
- package/skills/motion-video-maker/reference/workflow.md +0 -190
- package/skills/motioncraft/SKILL.md +0 -221
- package/skills/motioncraft/references/animation-system.md +0 -57
- package/skills/motioncraft/references/assets-and-licensing.md +0 -21
- package/skills/motioncraft/references/customization.md +0 -52
- package/skills/motioncraft/references/gpu-cloud-render.md +0 -15
- package/skills/motioncraft/references/music.md +0 -43
- package/skills/motioncraft/references/phase1-planning-and-preview.md +0 -74
- package/skills/motioncraft/references/phase2-timeline-audio.md +0 -33
- package/skills/motioncraft/references/phase3-pixel-review.md +0 -13
- package/skills/motioncraft/references/phase4-templates.md +0 -30
- package/skills/motioncraft/references/preflight.md +0 -27
- package/skills/motioncraft/references/qa.md +0 -53
- package/skills/motioncraft/references/reference-analysis.md +0 -37
- package/skills/narrator-ai-cli/SKILL.md +0 -256
- package/skills/narrator-ai-cli/references/magic-video.md +0 -205
- package/skills/narrator-ai-cli/references/operations.md +0 -230
- package/skills/narrator-ai-cli/references/resources.md +0 -126
- package/skills/narrator-ai-cli/references/workflows.md +0 -332
- package/skills/newcut-video-clipping/SKILL.md +0 -194
- package/skills/newcut-video-clipping/references/examples.md +0 -59
- package/skills/newcut-video-clipping/references/provider-config.md +0 -110
- package/skills/newcut-video-clipping/references/quality-check.md +0 -35
- package/skills/newcut-video-clipping/references/semantic-plan.md +0 -65
- package/skills/notes-to-video/SKILL.md +0 -476
- package/skills/openchatcut/SKILL.md +0 -100
- package/skills/openchatcut/references/editing-workflow.md +0 -54
- package/skills/openchatcut/references/getting-started.md +0 -106
- package/skills/openchatcut/references/known-errors.md +0 -62
- package/skills/openstoryline-install/SKILL.md +0 -228
- package/skills/orca-motion/SKILL.md +0 -100
- package/skills/orca-motion/references/api.md +0 -100
- package/skills/orca-motion/references/integration.md +0 -59
- package/skills/orca-motion/references/kinetic-type.md +0 -59
- package/skills/orca-motion/references/principles.md +0 -76
- package/skills/package-talking-head-video/SKILL.md +0 -90
- package/skills/package-talking-head-video/docs/EXAMPLES.md +0 -18
- package/skills/package-talking-head-video/docs/TROUBLESHOOTING.md +0 -29
- package/skills/package-talking-head-video/docs/USAGE.md +0 -83
- package/skills/package-talking-head-video/docs/superpowers/plans/2026-08-08-multicolor-center-speaker.md +0 -144
- package/skills/package-talking-head-video/docs/superpowers/plans/2026-08-08-semantic-template-system-v2.md +0 -1099
- package/skills/package-talking-head-video/docs/superpowers/specs/2026-08-08-multicolor-center-speaker-design.md +0 -154
- package/skills/package-talking-head-video/docs/superpowers/specs/2026-08-08-semantic-template-system-v2-design.md +0 -365
- package/skills/package-talking-head-video/examples/auto-editing-0/GATE_A.md +0 -56
- package/skills/package-talking-head-video/examples/auto-editing-0/GATE_D.md +0 -8
- package/skills/package-talking-head-video/examples/auto-editing-0/QA_REPORT.md +0 -34
- package/skills/package-talking-head-video/references/director-rules.md +0 -29
- package/skills/package-talking-head-video/references/motion-and-illustration.md +0 -25
- package/skills/paper-cut/SKILL.md +0 -164
- package/skills/paper-cut/references/asset-spec.md +0 -47
- package/skills/paper-cut/references/audio-and-chatcut.md +0 -26
- package/skills/paper-cut/references/hyperframes-assembly.md +0 -47
- package/skills/paper-cut/references/image-led-production.md +0 -65
- package/skills/paper-cut/references/storyboard-schema.md +0 -48
- package/skills/paper-cut/references/workflow.md +0 -39
- package/skills/personal-ip-brand-intro/SKILL.md +0 -216
- package/skills/personal-ip-brand-intro/references/intake-schema.md +0 -79
- package/skills/personal-ip-brand-intro/references/music-upload-workflow.md +0 -40
- package/skills/personal-ip-brand-intro/references/originality-rules.md +0 -42
- package/skills/personal-ip-brand-intro/references/qa-checklist.md +0 -60
- package/skills/personal-ip-brand-intro/references/rhythm-routing.md +0 -41
- package/skills/personal-ip-brand-intro/references/storyboard-contract.md +0 -42
- package/skills/pixel2motion/SKILL.md +0 -279
- package/skills/pixel2motion/references/html-delivery-template.md +0 -42
- package/skills/pixel2motion/references/motion-personality.md +0 -109
- package/skills/pixel2motion/references/reveal-patterns.md +0 -163
- package/skills/pixel2motion/references/ribbon-fitting.md +0 -90
- package/skills/pixel2motion/references/twelve-principles-for-logos.md +0 -116
- package/skills/premiere-batch-delivery/SKILL.md +0 -71
- package/skills/premiere-pro-mcp/SKILL.md +0 -161
- package/skills/promo-creator-skills/SKILL.md +0 -209
- package/skills/promo-creator-skills/references/mureka_prompt_guide.md +0 -251
- package/skills/promo-creator-skills/references/product_promo_bgm_prompting.md +0 -100
- package/skills/promo-video/SKILL.md +0 -408
- package/skills/qisi-video-remix/SKILL.md +0 -134
- package/skills/qisi-video-remix/examples/creative-plan.md +0 -133
- package/skills/qisi-video-remix/references/delivery-guide.md +0 -63
- package/skills/reel-video/SKILL.md +0 -237
- package/skills/remotion-ad-video/SKILL.md +0 -252
- package/skills/remotion-ad-video/references/ad-aesthetic-qa.md +0 -60
- package/skills/remotion-ad-video/references/ad-brief-contract.md +0 -235
- package/skills/remotion-ad-video/references/ad-exemplars.md +0 -186
- package/skills/remotion-ad-video/references/ad-intake.md +0 -54
- package/skills/remotion-ad-video/references/asset-harvest.md +0 -56
- package/skills/remotion-ad-video/references/audio-caption-system.md +0 -202
- package/skills/remotion-ad-video/references/concept-contract.md +0 -128
- package/skills/remotion-ad-video/references/creative-direction.md +0 -146
- package/skills/remotion-ad-video/references/fast-test-workflow.md +0 -86
- package/skills/remotion-ad-video/references/game-ad-patterns.md +0 -75
- package/skills/remotion-ad-video/references/hyperframes-output.md +0 -90
- package/skills/remotion-ad-video/references/industry-angle-library.md +0 -71
- package/skills/remotion-ads/SKILL.md +0 -278
- package/skills/remotion-ads/references/ad-copywriting.md +0 -229
- package/skills/remotion-ads/references/animations.md +0 -693
- package/skills/remotion-ads/references/brand-config-template.md +0 -355
- package/skills/remotion-ads/references/captions.md +0 -529
- package/skills/remotion-ads/references/carousels.md +0 -580
- package/skills/remotion-ads/references/components.md +0 -897
- package/skills/remotion-ads/references/copy-frameworks.md +0 -144
- package/skills/remotion-ads/references/formats.md +0 -436
- package/skills/remotion-ads/references/gemini-tts.md +0 -473
- package/skills/remotion-ads/references/html-in-canvas.md +0 -555
- package/skills/remotion-ads/references/local-assets.md +0 -543
- package/skills/remotion-ads/references/music.md +0 -656
- package/skills/remotion-code-motion-explainer/SKILL.md +0 -178
- package/skills/remotion-code-motion-explainer/references/code-motion-design.md +0 -86
- package/skills/remotion-code-motion-explainer/references/motion-production-patterns.md +0 -93
- package/skills/remotion-code-motion-explainer/references/production-and-qc.md +0 -99
- package/skills/remotion-code-motion-explainer/references/reference-reconstruction.md +0 -48
- package/skills/remotion-code-motion-explainer/references/ui-motion-shot-library.md +0 -62
- package/skills/remotion-motion-graphics/SKILL.md +0 -169
- package/skills/remotion-motion-graphics/references/patterns.md +0 -355
- package/skills/remotion-motion-graphics/references/polish.md +0 -102
- package/skills/remotion-motion-graphics/references/scaffold.md +0 -144
- package/skills/remotion-motion-graphics/references/traps.md +0 -152
- package/skills/remotion-resemble-ai/SKILL.md +0 -879
- package/skills/remotion-resemble-ai/rules/resemble-captions.md +0 -350
- package/skills/remotion-resemble-ai/rules/resemble-remotion-integration.md +0 -305
- package/skills/remotion-resemble-ai/rules/resemble-setup.md +0 -284
- package/skills/remotion-resemble-ai/rules/resemble-streaming-tts.md +0 -225
- package/skills/remotion-resemble-ai/rules/resemble-sync-tts.md +0 -239
- package/skills/remotion-resemble-ai/rules/resemble-voices.md +0 -213
- package/skills/remotion-resemble-ai/rules/visual-animations.md +0 -567
- package/skills/riffkit/SKILL.md +0 -196
- package/skills/riffkit/examples/any-look-styles.md +0 -11
- package/skills/riffkit/examples/faceless-and-auto.md +0 -16
- package/skills/riffkit/examples/localize-spanish.md +0 -18
- package/skills/riffkit/examples/tiktok-shop-product.md +0 -22
- package/skills/riffkit/references/anchor.md +0 -62
- package/skills/riffkit/references/api.md +0 -806
- package/skills/riffkit/references/details.md +0 -153
- package/skills/riffkit/references/errors.md +0 -69
- package/skills/riffkit/references/intents.md +0 -29
- package/skills/saas-motion-video/SKILL.md +0 -71
- package/skills/script-to-video/SKILL.md +0 -2627
- package/skills/shorts/SKILL.md +0 -372
- package/skills/shorts/references/caption-styles.md +0 -105
- package/skills/shorts/references/platform-specs.md +0 -149
- package/skills/shorts/references/remotion-patterns.md +0 -180
- package/skills/shorts/references/scoring-rubric.md +0 -106
- package/skills/smart-video-editor/SKILL.md +0 -327
- package/skills/smart-video-editor/docs/FONTS.md +0 -57
- package/skills/story-telling/SKILL.md +0 -222
- package/skills/story-telling/rules/composition.md +0 -130
- package/skills/story-telling/rules/images.md +0 -119
- package/skills/story-telling/rules/models.md +0 -98
- package/skills/story-telling/rules/narration.md +0 -87
- package/skills/story-telling/rules/pitfalls.md +0 -140
- package/skills/story-telling/rules/story-formats.md +0 -108
- package/skills/story-telling/rules/story-json.md +0 -143
- package/skills/story-telling/rules/voices.md +0 -114
- package/skills/story-telling/rules/workflow.md +0 -105
- package/skills/story-to-handdrawn-video/SKILL.md +0 -216
- package/skills/story-to-handdrawn-video/references/asset-workflow.md +0 -24
- package/skills/story-to-handdrawn-video/references/reference-style-workflow.md +0 -27
- package/skills/su-card-to-video/SKILL.md +0 -103
- package/skills/talking-head-video-pipeline/SKILL.md +0 -224
- package/skills/talking-head-video-pipeline/examples/prompts.md +0 -217
- package/skills/talking-head-video-pipeline/references/asr-adapters.md +0 -51
- package/skills/talking-head-video-pipeline/references/caption-workflow.md +0 -53
- package/skills/talking-head-video-pipeline/references/export-recipes.md +0 -78
- package/skills/talking-head-video-pipeline/references/layout-safety.md +0 -49
- package/skills/talking-head-video-pipeline/references/video-use-integration.md +0 -71
- package/skills/talking-head-video-pipeline/references/workflows/captions.md +0 -52
- package/skills/talking-head-video-pipeline/references/workflows/design.md +0 -77
- package/skills/talking-head-video-pipeline/references/workflows/doctor.md +0 -51
- package/skills/talking-head-video-pipeline/references/workflows/export.md +0 -50
- package/skills/talking-head-video-pipeline/references/workflows/init.md +0 -51
- package/skills/talking-head-video-pipeline/references/workflows/learn.md +0 -36
- package/skills/text-to-lottie/SKILL.md +0 -202
- package/skills/text-to-lottie/references/chapterization-transition-grammar.md +0 -132
- package/skills/text-to-lottie/references/design-taste.md +0 -292
- package/skills/text-to-lottie/references/lottie-spec-map.md +0 -82
- package/skills/text-to-lottie/references/motion-taste.md +0 -260
- package/skills/text-to-lottie/references/player-contract.md +0 -325
- package/skills/text-to-lottie/references/recipe-camera-scene-motion.md +0 -65
- package/skills/text-to-lottie/references/recipe-data-stats.md +0 -104
- package/skills/text-to-lottie/references/recipe-diagram-technical.md +0 -106
- package/skills/text-to-lottie/references/recipe-loaders-icons.md +0 -70
- package/skills/text-to-lottie/references/recipe-logo.md +0 -72
- package/skills/text-to-lottie/references/recipe-lower-thirds.md +0 -62
- package/skills/text-to-lottie/references/recipe-product-promo.md +0 -99
- package/skills/ultrademo/SKILL.md +0 -212
- package/skills/video-assemble/SKILL.md +0 -101
- package/skills/video-assemble-zenstory-ai/SKILL.md +0 -153
- package/skills/video-assemble-zenstory-ai/references/audio-modes.md +0 -63
- package/skills/video-assemble-zenstory-ai/references/explicit-audio-mix.md +0 -77
- package/skills/video-assemble-zenstory-ai/references/jianying/SOURCE.md +0 -14
- package/skills/video-assemble-zenstory-ai/references/narration-adoption.md +0 -103
- package/skills/video-assemble-zenstory-ai/references/packaging.md +0 -44
- package/skills/video-assemble-zenstory-ai/references/source-score.md +0 -146
- package/skills/video-assemble-zenstory-ai/references/subtitle-track.md +0 -202
- package/skills/video-editing/SKILL.md +0 -688
- package/skills/video-explainer/SKILL.md +0 -163
- package/skills/video-explainer/references/brief-to-script.md +0 -56
- package/skills/video-explainer/references/errors-and-privacy.md +0 -18
- package/skills/video-explainer/references/motion-storyboard.md +0 -82
- package/skills/video-explainer/references/render-and-verify.md +0 -62
- package/skills/video-explainer/references/review-gate.md +0 -82
- package/skills/video-explainer/references/setup-and-doctor.md +0 -33
- package/skills/video-script-builder/SKILL.md +0 -329
- package/skills/video-script-builder/examples/quick-start-transcript.md +0 -19
- package/skills/video-script-builder/references/audio-workflow.md +0 -84
- package/skills/video-script-builder/references/caption-components.md +0 -70
- package/skills/video-script-builder/references/common-pitfalls.md +0 -80
- package/skills/video-script-builder/references/component-catalog.md +0 -197
- package/skills/video-script-builder/references/component-recipes.md +0 -165
- package/skills/video-script-builder/references/gsap-patterns.md +0 -112
- package/skills/video-script-builder/references/pacing-rules.md +0 -78
- package/skills/video-script-builder/references/quality-checklist.md +0 -98
- package/skills/video-script-builder/references/remotion-patterns.md +0 -211
- package/skills/video-script-builder/references/shader-transitions.md +0 -115
- package/skills/video-script-builder/references/taste-principles.md +0 -160
- package/skills/video-scrub/SKILL.md +0 -216
- package/skills/video-scrub/references/profiles.md +0 -89
- package/skills/video-scrub/references/residue-map.md +0 -204
- package/skills/video-short-maker/SKILL.md +0 -182
- package/skills/video-shot-analysis-feishu/SKILL.md +0 -173
- package/skills/video-shotcraft/SKILL.md +0 -267
- package/skills/video-shotcraft/docs/deepseek-harness.md +0 -69
- package/skills/video-shotcraft/references/aesthetic-rules.md +0 -177
- package/skills/video-shotcraft/references/final-review.md +0 -112
- package/skills/video-shotcraft/references/guided-free-creation.md +0 -199
- package/skills/video-shotcraft/references/jianying-export.md +0 -182
- package/skills/video-shotcraft/references/music-beat-sync.md +0 -219
- package/skills/video-shotcraft/references/pipeline.md +0 -390
- package/skills/video-shotcraft/references/sequences/promo-energy-arc.md +0 -50
- package/skills/video-shotcraft/references/shots/ATTRIBUTION.md +0 -65
- package/skills/video-shotcraft/references/shots/camera/basic-3d-scene.md +0 -37
- package/skills/video-shotcraft/references/shots/camera/crash-zoom-punch.md +0 -39
- package/skills/video-shotcraft/references/shots/camera/cursor-flyover.md +0 -38
- package/skills/video-shotcraft-vincentwei10/SKILL.md +0 -316
- package/skills/video-shotcraft-vincentwei10/references/aesthetic-rules.md +0 -187
- package/skills/video-shotcraft-vincentwei10/references/final-review.md +0 -116
- package/skills/video-shotcraft-vincentwei10/references/guided-free-creation.md +0 -199
- package/skills/video-shotcraft-vincentwei10/references/jianying-export.md +0 -183
- package/skills/video-shotcraft-vincentwei10/references/music-beat-sync.md +0 -257
- package/skills/video-shotcraft-vincentwei10/references/pipeline.md +0 -401
- package/skills/video-shotcraft-vincentwei10/references/publish-upload-post.md +0 -111
- package/skills/video-shotcraft-vincentwei10/references/sequences/promo-energy-arc.md +0 -50
- package/skills/video-shotcraft-vincentwei10/references/shots/ATTRIBUTION.md +0 -62
- package/skills/video-shotcraft-vincentwei10/references/shots/camera/basic-3d-scene.md +0 -41
- package/skills/video-shotcraft-vincentwei10/references/shots/camera/crash-zoom-punch.md +0 -52
- package/skills/video-shotcraft-vincentwei10/references/shots/camera/cursor-flyover.md +0 -39
- package/skills/video-structure-analyzer/SKILL.md +0 -148
- 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
- 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
- package/skills/video-toolkit/SKILL.md +0 -686
- package/skills/videocut/SKILL.md +0 -159
- package/skills/videodb/SKILL.md +0 -497
- package/skills/videodb/reference/api-reference.md +0 -741
- package/skills/videodb/reference/capture-reference.md +0 -399
- package/skills/videodb/reference/capture.md +0 -110
- package/skills/videodb/reference/editor-reference.md +0 -506
- package/skills/videodb/reference/editor.md +0 -389
- package/skills/videodb/reference/generative.md +0 -344
- package/skills/videodb/reference/indexing-reference.md +0 -481
- package/skills/videodb/reference/indexing.md +0 -537
- package/skills/videodb/reference/legacy/index-reference.md +0 -223
- package/skills/videodb/reference/legacy/index.md +0 -241
- package/skills/videodb/reference/legacy/search.md +0 -249
- package/skills/videodb/reference/migration.md +0 -113
- package/skills/vlog-auto-edit/SKILL.md +0 -982
- package/skills/vlog-auto-edit/examples/project_structure.md +0 -84
- package/skills/vox-animated-ad-mcp/SKILL.md +0 -419
- package/skills/vox-director/SKILL.md +0 -351
- package/skills/vox-director/references/beat-layer.md +0 -143
- package/skills/vox-director/references/host-mode.md +0 -120
- package/skills/vox-director/references/local-engine.md +0 -73
- package/skills/vox-director/references/models-and-gotchas.md +0 -91
- package/skills/vox-director/references/prompt-guide.md +0 -275
- package/skills/vox-director/references/voices.md +0 -59
- package/skills/xingchen-vox-collage/SKILL.md +0 -251
- package/skills/xingchen-vox-collage/references/asset-layer-contract.md +0 -98
- package/skills/xingchen-vox-collage/references/creative-exploration.md +0 -19
- package/skills/xingchen-vox-collage/references/learned-branches.md +0 -34
- package/skills/xingchen-vox-collage/references/remotion-scene-contract.md +0 -77
- package/skills/xingchen-vox-collage/references/visual-language.md +0 -74
- package/skills/xingchen-vox-collage/references/visual-qa.md +0 -59
- package/skills/youtube/SKILL.md +0 -147
- package/skills/youtube/references/algorithm-guide.md +0 -59
- package/skills/youtube/references/analytics-benchmarks.md +0 -67
- package/skills/youtube/references/dataforseo-integration.md +0 -51
- package/skills/youtube/references/monetization-guide.md +0 -62
- package/skills/youtube/references/repurposing-guide.md +0 -54
- package/skills/youtube/references/retention-scripting-guide.md +0 -75
- package/skills/youtube/references/seo-playbook.md +0 -77
- package/skills/youtube/references/shorts-playbook.md +0 -64
- package/skills/youtube/references/thumbnail-ctr-guide.md +0 -73
- package/skills/youtube-shorts-factory/SKILL.md +0 -358
- package/skills/youtube-shorts-factory/resources/adaptation-guide.md +0 -133
- package/skills/youtube-shorts-factory/resources/storyboard-template.md +0 -271
- package/skills/youtube-shorts-factory/resources/workflow-steps.md +0 -139
- package/studio/ui/dist/assets/ExportCenter-DEyy1vs_.js +0 -1
- package/studio/ui/dist/assets/SettingsModal-CQmsA2A2.js +0 -2
- package/studio/ui/dist/assets/es-AqUfIkAy.js +0 -1
- package/studio/ui/dist/assets/index-C7moXjTY.css +0 -1
- package/studio/ui/dist/assets/index-DdU5QNpY.js +0 -1623
- package/studio/ui/dist/assets/ja-YwiCB4QQ.js +0 -1
- package/studio/ui/dist/assets/ko-CKtBPDze.js +0 -1
- package/studio/ui/dist/assets/zh-CN-DtNEwKWJ.js +0 -1
|
@@ -0,0 +1,846 @@
|
|
|
1
|
+
// Chalkboard — dusty chalk lesson on green slate.
|
|
2
|
+
{
|
|
3
|
+
const seg = (pts, step = 2.5) => {
|
|
4
|
+
const out = [];
|
|
5
|
+
for (let i = 0; i < pts.length - 1; i++) {
|
|
6
|
+
const [x0, y0] = pts[i], [x1, y1] = pts[i + 1];
|
|
7
|
+
const n = Math.max(1, Math.ceil(Math.hypot(x1 - x0, y1 - y0) / step));
|
|
8
|
+
for (let j = 0; j < n; j++) out.push([x0 + (x1 - x0) * j / n, y0 + (y1 - y0) * j / n]);
|
|
9
|
+
}
|
|
10
|
+
out.push(pts[pts.length - 1]);
|
|
11
|
+
return out;
|
|
12
|
+
};
|
|
13
|
+
const normals = (P) => P.map((p, i) => {
|
|
14
|
+
const a = P[Math.max(0, i - 1)], b = P[Math.min(P.length - 1, i + 1)];
|
|
15
|
+
const dx = b[0] - a[0], dy = b[1] - a[1], d = Math.hypot(dx, dy) || 1;
|
|
16
|
+
return [-dy / d, dx / d];
|
|
17
|
+
});
|
|
18
|
+
const wob = (pts, nz, seed, amp = 1.5, freq = 0.012) => {
|
|
19
|
+
const N = normals(pts); let L = 0;
|
|
20
|
+
return pts.map((p, i) => {
|
|
21
|
+
if (i) L += Math.hypot(p[0] - pts[i - 1][0], p[1] - pts[i - 1][1]);
|
|
22
|
+
const o = nz.n2(L * freq + seed * 1.37, seed * 0.71) * amp + nz.n2(L * freq * 6 + seed, seed + 3.3) * amp * 0.25;
|
|
23
|
+
return [p[0] + N[i][0] * o, p[1] + N[i][1] * o];
|
|
24
|
+
});
|
|
25
|
+
};
|
|
26
|
+
const ell = (cx, cy, rx, ry, a0 = 0, a1 = Math.PI * 2) => {
|
|
27
|
+
const n = Math.max(10, Math.ceil(Math.abs(a1 - a0) * Math.max(rx, ry) / 2.5)), out = [];
|
|
28
|
+
for (let i = 0; i <= n; i++) { const a = a0 + (a1 - a0) * i / n; out.push([cx + Math.cos(a) * rx, cy + Math.sin(a) * ry]); }
|
|
29
|
+
return out;
|
|
30
|
+
};
|
|
31
|
+
const quad = (p0, p1, p2, n = 40) => {
|
|
32
|
+
const out = [];
|
|
33
|
+
for (let i = 0; i <= n; i++) { const t = i / n, m = 1 - t; out.push([m * m * p0[0] + 2 * m * t * p1[0] + t * t * p2[0], m * m * p0[1] + 2 * m * t * p1[1] + t * t * p2[1]]); }
|
|
34
|
+
return out;
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
// >>>XE-ENGINE
|
|
38
|
+
// ===================== explainer story engine (shared script: "How does AI learn?") =====================
|
|
39
|
+
// Builds the diagram as timed world-space strokes/texts; each style renders them with its own medium.
|
|
40
|
+
const XC = {}; // cache for static textures (output still depends only on t)
|
|
41
|
+
const XE = (() => {
|
|
42
|
+
const clamp = (v, a = 0, b = 1) => Math.max(a, Math.min(b, v));
|
|
43
|
+
const win = (t, a, b) => clamp((t - a) / (b - a));
|
|
44
|
+
const eio = (x) => (x < 0.5 ? 4 * x * x * x : 1 - Math.pow(-2 * x + 2, 3) / 2);
|
|
45
|
+
const camAt = (keys, t) => {
|
|
46
|
+
if (t <= keys[0][0]) return keys[0].slice(1);
|
|
47
|
+
for (let i = 0; i < keys.length - 1; i++) {
|
|
48
|
+
const a = keys[i], b = keys[i + 1];
|
|
49
|
+
if (t <= b[0]) {
|
|
50
|
+
const u = eio((t - a[0]) / Math.max(1e-6, b[0] - a[0]));
|
|
51
|
+
return [a[1] + (b[1] - a[1]) * u, a[2] + (b[2] - a[2]) * u, Math.exp(Math.log(a[3]) + (Math.log(b[3]) - Math.log(a[3])) * u)];
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
return keys[keys.length - 1].slice(1);
|
|
55
|
+
};
|
|
56
|
+
const circ = (x, y, rx, ry, a0 = 0, a1 = Math.PI * 2, n = 0) => {
|
|
57
|
+
n = n || Math.max(12, Math.ceil(Math.abs(a1 - a0) * Math.max(rx, ry) / 6)); const o = [];
|
|
58
|
+
for (let i = 0; i <= n; i++) { const a = a0 + (a1 - a0) * i / n; o.push([x + Math.cos(a) * rx, y + Math.sin(a) * ry]); }
|
|
59
|
+
return o;
|
|
60
|
+
};
|
|
61
|
+
const quad = (p0, p1, p2, n = 30) => { const o = []; for (let i = 0; i <= n; i++) { const t = i / n, m = 1 - t; o.push([m * m * p0[0] + 2 * m * t * p1[0] + t * t * p2[0], m * m * p0[1] + 2 * m * t * p1[1] + t * t * p2[1]]); } return o; };
|
|
62
|
+
const cubic = (p0, p1, p2, p3, n = 40) => { const o = []; for (let i = 0; i <= n; i++) { const t = i / n, m = 1 - t; o.push([m * m * m * p0[0] + 3 * m * m * t * p1[0] + 3 * m * t * t * p2[0] + t * t * t * p3[0], m * m * m * p0[1] + 3 * m * m * t * p1[1] + 3 * m * t * t * p2[1] + t * t * t * p3[1]]); } return o; };
|
|
63
|
+
const rrect = (x, y, w, h, r) => {
|
|
64
|
+
const o = [[x + r, y], [x + w - r, y]]; o.push(...circ(x + w - r, y + r, r, r, -Math.PI / 2, 0, 5).slice(1));
|
|
65
|
+
o.push([x + w, y + h - r]); o.push(...circ(x + w - r, y + h - r, r, r, 0, Math.PI / 2, 5).slice(1));
|
|
66
|
+
o.push([x + r, y + h]); o.push(...circ(x + r, y + h - r, r, r, Math.PI / 2, Math.PI, 5).slice(1));
|
|
67
|
+
o.push([x, y + r]); o.push(...circ(x + r, y + r, r, r, Math.PI, Math.PI * 1.5, 5).slice(1));
|
|
68
|
+
o.push([x + r + 6, y - 1]); return o;
|
|
69
|
+
};
|
|
70
|
+
const head = (P, len = 20, spread = 0.5) => {
|
|
71
|
+
const a = P[P.length - 1], b = P[Math.max(0, P.length - 4)], an = Math.atan2(a[1] - b[1], a[0] - b[0]);
|
|
72
|
+
return [[a[0] - Math.cos(an - spread) * len, a[1] - Math.sin(an - spread) * len], a, [a[0] - Math.cos(an + spread) * len, a[1] - Math.sin(an + spread) * len]];
|
|
73
|
+
};
|
|
74
|
+
const cat = (x, y, s) => [
|
|
75
|
+
circ(x, y + 0.06 * s, 0.3 * s, 0.27 * s, -1.2, 5.1),
|
|
76
|
+
[[x - 0.27 * s, y - 0.02 * s], [x - 0.24 * s, y - 0.34 * s], [x - 0.07 * s, y - 0.2 * s]],
|
|
77
|
+
[[x + 0.07 * s, y - 0.2 * s], [x + 0.24 * s, y - 0.34 * s], [x + 0.27 * s, y - 0.02 * s]],
|
|
78
|
+
[[x - 0.03 * s, y + 0.1 * s], [x, y + 0.13 * s], [x + 0.03 * s, y + 0.1 * s]],
|
|
79
|
+
[[x - 0.12 * s, y + 0.12 * s], [x - 0.36 * s, y + 0.08 * s]], [[x - 0.12 * s, y + 0.16 * s], [x - 0.35 * s, y + 0.2 * s]],
|
|
80
|
+
[[x + 0.12 * s, y + 0.12 * s], [x + 0.36 * s, y + 0.08 * s]], [[x + 0.12 * s, y + 0.16 * s], [x + 0.35 * s, y + 0.2 * s]],
|
|
81
|
+
];
|
|
82
|
+
const dog = (x, y, s) => [
|
|
83
|
+
circ(x, y + 0.04 * s, 0.26 * s, 0.28 * s, -1.4, 4.9),
|
|
84
|
+
circ(x - 0.29 * s, y + 0.04 * s, 0.09 * s, 0.2 * s, 0, 6.4),
|
|
85
|
+
circ(x + 0.29 * s, y + 0.04 * s, 0.09 * s, 0.2 * s, 0, 6.4),
|
|
86
|
+
circ(x, y + 0.15 * s, 0.07 * s, 0.045 * s, 0, 6.4),
|
|
87
|
+
[[x - 0.08 * s, y + 0.23 * s], [x, y + 0.26 * s], [x + 0.08 * s, y + 0.23 * s]],
|
|
88
|
+
];
|
|
89
|
+
const eyes = (x, y, s, dy = 0.02) => [[x - 0.1 * s, y + dy * s], [x + 0.1 * s, y + dy * s]];
|
|
90
|
+
const fmt = (n) => Math.round(n).toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',');
|
|
91
|
+
|
|
92
|
+
// L: layout options. mode: 'same' (progress drawn where the loop was) | 'below' | 'right'
|
|
93
|
+
// model(cx, cy, adj, add): style supplies its model drawing; adj 0..1 = how far the knobs have been adjusted.
|
|
94
|
+
const story = (t, L) => {
|
|
95
|
+
const items = [];
|
|
96
|
+
const line = (pts, role, w, a, b, g) => items.push({ k: 'line', pts, role, w, a, b, g });
|
|
97
|
+
const text = (s, x, y, size, font, role, a, b, opt = {}) => items.push({ k: 'text', s, x, y, size, font, role, a, b, rot: opt.rot || 0, align: opt.align || 'left', g: opt.g });
|
|
98
|
+
const dot = (x, y, r, role, a, g) => items.push({ k: 'dot', x, y, r, role, a, b: a + 0.05, g });
|
|
99
|
+
const S = L.s || 1;
|
|
100
|
+
// ---- 1 HOOK ----
|
|
101
|
+
const TX = L.titleX ?? 640, TY = L.titleY ?? 350;
|
|
102
|
+
text('How does AI learn?', TX, TY, 84 * S, 'title', 'ink', 0.15, 1.3, { align: 'center', rot: -0.015, g: 'A' });
|
|
103
|
+
line([[TX - 330 * S, TY + 32 * S], [TX + 330 * S, TY + 24 * S]], 'acc1', 7, 1.3, 1.55, 'A');
|
|
104
|
+
// ---- 2 DATA ----
|
|
105
|
+
const MX = L.modelX ?? 2250, MY = L.modelY ?? 640;
|
|
106
|
+
const mAdj = eio(win(t, 8.95, 9.5));
|
|
107
|
+
L.model(MX, MY, mAdj, (it) => { it.g = it.g || 'M'; items.push(it); }, { line, text, dot }, t);
|
|
108
|
+
text(L.modelName || 'model', MX, MY + 228, 38, 'label', 'ink', 3.15, 3.4, { align: 'center', g: 'M' });
|
|
109
|
+
const CS = 118, cx0 = MX - 870, cy0 = MY - 175;
|
|
110
|
+
for (let i = 0; i < 6; i++) {
|
|
111
|
+
const col = i % 3, row = (i / 3) | 0, x = cx0 + col * 150 + (row ? 40 : 0), y = cy0 + row * 170, isCat = [1, 0, 1, 1, 0, 0][i];
|
|
112
|
+
const a = 3.0 + i * 0.17;
|
|
113
|
+
line(rrect(x - CS / 2, y - CS / 2, CS, CS, 12), 'ink', 4, a, a + 0.12, 'B');
|
|
114
|
+
(isCat ? cat : dog)(x, y - 6, CS * 0.82).forEach((p) => line(p, 'ink', 3.2, a + 0.1, a + 0.22, 'B'));
|
|
115
|
+
eyes(x, y - 6, CS * 0.82).forEach(([ex, ey]) => dot(ex, ey, 3.2, 'ink', a + 0.22, 'B'));
|
|
116
|
+
// label tag hanging off the card
|
|
117
|
+
const tx = x + 18, ty = y + CS / 2 - 4;
|
|
118
|
+
line([[tx, ty], [tx + 70, ty], [tx + 84, ty + 19], [tx + 70, ty + 38], [tx, ty + 38], [tx, ty]], isCat ? 'acc1' : 'acc3', 3, a + 0.2, a + 0.3, 'B');
|
|
119
|
+
text(isCat ? 'cat' : 'dog', tx + 8, ty + 30, 31, 'label', isCat ? 'acc1' : 'acc3', a + 0.28, a + 0.36, { g: 'B' });
|
|
120
|
+
}
|
|
121
|
+
// flow arrow into the model
|
|
122
|
+
const fa = cubic([cx0 + 370, MY - 10], [cx0 + 470, MY - 60], [MX - 260, MY - 40], [MX - 165, MY - 10]);
|
|
123
|
+
line(fa, 'ink', 5, 4.15, 4.45, 'B'); line(head(fa, 24), 'ink', 5, 4.45, 4.55, 'B');
|
|
124
|
+
// little example cards streaming along the arrow
|
|
125
|
+
if (t > 4.5 && t < 6.2) {
|
|
126
|
+
for (let k = 0; k < 9; k++) {
|
|
127
|
+
const u = ((t - 4.5) * 0.9 + k / 9) % 1, ix = Math.min(fa.length - 1, Math.floor(u * fa.length));
|
|
128
|
+
const [px, py] = fa[ix], sz = 26 * (1 - 0.5 * u);
|
|
129
|
+
if (t - 4.5 < k / 9 / 0.9) continue;
|
|
130
|
+
items.push({ k: 'line', pts: rrect(px - sz / 2, py - sz / 2 - 18, sz, sz, 4), role: k % 2 ? 'acc1' : 'acc3', w: 2.5, a: -1, b: 0, g: 'F', inst: true });
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
// counter (numerals redrawn on twos)
|
|
134
|
+
if (t > 4.5) {
|
|
135
|
+
const u = win(Math.floor(t * 12) / 12, 4.55, 5.25), n = u >= 1 ? 1e6 : (Math.pow(10, u * 6) - 1) / (1e6 - 1) * 1e6;
|
|
136
|
+
items.push({ k: 'text', s: fmt(n), x: cx0 + 150, y: cy0 + 425, size: 76, font: 'num', role: 'ink', a: -1, b: 0, align: 'center', g: 'B', inst: true, live: true });
|
|
137
|
+
text('examples', cx0 + 150, cy0 + 472, 36, 'label', 'ink', 4.55, 4.8, { align: 'center', g: 'B' });
|
|
138
|
+
}
|
|
139
|
+
if (L.model2At) L.model(MX, MY, mAdj, (it) => { it.g = 'M2'; if (!it.inst) { it.a += L.model2At - 2.5; it.b += L.model2At - 2.5; } items.push(it); }, { line: (p, r, w, a, b) => line(p, r, w, a + L.model2At - 2.5, b + L.model2At - 2.5, 'M2'), text: (s2, x, y, sz, f, r, a, b, o = {}) => text(s2, x, y, sz, f, r, a + L.model2At - 2.5, b + L.model2At - 2.5, { ...o, g: 'M2' }), dot }, t - (L.model2At - 2.5));
|
|
140
|
+
// ---- 3 GUESS -> CHECK -> ADJUST ----
|
|
141
|
+
const qx = MX, qy = MY - 300;
|
|
142
|
+
line(rrect(qx - 62, qy - 62, 124, 124, 12), 'acc2', 4, 6.4, 6.55, 'C');
|
|
143
|
+
cat(qx, qy - 4, 100).forEach((p) => line(p, 'ink', 3.2, 6.5, 6.7, 'C'));
|
|
144
|
+
eyes(qx, qy - 4, 100).forEach(([ex, ey]) => dot(ex, ey, 3, 'ink', 6.7, 'C'));
|
|
145
|
+
text('new!', qx + 72, qy - 30, 30, 'label', 'acc2', 6.65, 6.8, { g: 'C' });
|
|
146
|
+
const dn = [[qx, qy + 70], [qx + 2, MY - 170]];
|
|
147
|
+
line(dn, 'ink', 5, 6.8, 6.95, 'C'); line(head(dn, 18), 'ink', 5, 6.95, 7.02, 'C');
|
|
148
|
+
const gA = [[MX + 175, MY - 10], [MX + 300, MY - 14], [MX + 400, MY - 8]];
|
|
149
|
+
line(gA, 'ink', 5, 7.02, 7.2, 'C'); line(head(gA, 20), 'ink', 5, 7.2, 7.26, 'C');
|
|
150
|
+
text('Guess', MX + 290, MY - 40, 38, 'label', 'ink', 7.15, 7.4, { align: 'center', g: 'C' });
|
|
151
|
+
const BX = MX + 540, BY = MY - 10;
|
|
152
|
+
line(rrect(BX - 120, BY - 55, 240, 110, 40), 'ink', 5, 7.3, 7.5, 'C');
|
|
153
|
+
line([[BX - 70, BY + 52], [BX - 96, BY + 92], [BX - 40, BY + 54]], 'ink', 5, 7.48, 7.55, 'C');
|
|
154
|
+
text('dog?', BX, BY + 18, 52, 'title', 'ink', 7.52, 7.75, { align: 'center', g: 'C' });
|
|
155
|
+
text('Check', BX, BY - 82, 38, 'label', 'acc2', 7.85, 8.05, { align: 'center', g: 'C' });
|
|
156
|
+
line([[BX + 140, BY - 40], [BX + 200, BY + 30]], 'acc2', 8, 8.0, 8.08, 'C');
|
|
157
|
+
line([[BX + 200, BY - 40], [BX + 140, BY + 30]], 'acc2', 8, 8.08, 8.16, 'C');
|
|
158
|
+
line(circ(BX + 4, BY + 2, 150, 82, -2.2, 4.4), 'acc2', 5, 8.15, 8.45, 'C'); // emphasis ring
|
|
159
|
+
const back = cubic([BX - 60, BY + 70], [BX - 80, BY + 290], [MX + 290, MY + 300], [MX + 155, MY + 190]);
|
|
160
|
+
line(back, 'acc2', 6, 8.45, 8.95, 'C'); line(head(back, 22), 'acc2', 6, 8.95, 9.02, 'C');
|
|
161
|
+
text('Adjust', (BX + MX) / 2 - 10, MY + 315, 40, 'label', 'acc2', 8.8, 9.05, { align: 'center', g: 'C' });
|
|
162
|
+
if (t > 8.95 && t < 9.4) { // error signal travelling back
|
|
163
|
+
const u = win(t, 8.95, 9.35), p = back[Math.min(back.length - 1, Math.floor((1 - u) * (back.length - 1)))];
|
|
164
|
+
items.push({ k: 'dot', x: p[0], y: p[1], r: 13, role: 'acc2', a: -1, b: 0, g: 'C', inst: true });
|
|
165
|
+
}
|
|
166
|
+
line([[BX - 66, BY + 4], [BX - 20, BY - 6], [BX + 24, BY + 6], [BX + 66, BY - 4]], 'ink', 5, 9.5, 9.62, 'C'); // strike
|
|
167
|
+
text('cat', BX + 30, BY + 118, 52, 'title', 'acc3', 9.62, 9.85, { align: 'center', g: 'C' });
|
|
168
|
+
line([[BX + 92, BY + 96], [BX + 112, BY + 122], [BX + 156, BY + 66]], 'acc3', 8, 9.85, 10.05, 'C');
|
|
169
|
+
if (L.bridge) { // a connector the hand draws while the camera travels to the next part
|
|
170
|
+
const B = L.bridge;
|
|
171
|
+
line(B.pts, 'acc1', 5, B.a, B.b, 'D'); line(head(B.pts, 22), 'acc1', 5, B.b, B.b + 0.06, 'D');
|
|
172
|
+
text(B.label, B.lx, B.ly, 40, 'label', 'acc1', B.b + 0.06, B.b + 0.3, { align: 'center', rot: B.rot || 0, g: 'D' });
|
|
173
|
+
}
|
|
174
|
+
// ---- 4 PROGRESS ----
|
|
175
|
+
const D = L.D;
|
|
176
|
+
const ox = D[0] - 380, oy = D[1] + 150, cw = 560, ch = 330;
|
|
177
|
+
line([[ox, oy - ch], [ox, oy], [ox + cw, oy]], 'ink', 5, L.pT, L.pT + 0.35, 'D');
|
|
178
|
+
line(head([[ox, oy], [ox, oy - ch]], 16), 'ink', 5, L.pT + 0.35, L.pT + 0.4, 'D');
|
|
179
|
+
line(head([[ox, oy], [ox + cw, oy]], 16), 'ink', 5, L.pT + 0.4, L.pT + 0.45, 'D');
|
|
180
|
+
text('training rounds', ox + cw / 2, oy + 48, 34, 'label', 'ink', L.pT + 0.3, L.pT + 0.55, { align: 'center', g: 'D' });
|
|
181
|
+
const cpts = [];
|
|
182
|
+
for (let i = 0; i <= 40; i++) {
|
|
183
|
+
const u = i / 40, acc = 61 + 36 * (1 - Math.pow(1 - u, 2.2)) + (i % 3 === 1 ? -2.5 : i % 3 === 2 ? 1.5 : 0) * (1 - u);
|
|
184
|
+
cpts.push([ox + 20 + u * (cw - 50), oy - (acc - 50) / 50 * ch]);
|
|
185
|
+
}
|
|
186
|
+
line(cpts, 'acc1', 6, L.pT + 0.5, L.pT + 1.7, 'D');
|
|
187
|
+
text('accuracy', D[0] + 330, D[1] - 120, 40, 'label', 'ink', L.pT + 0.45, L.pT + 0.7, { align: 'center', g: 'D' });
|
|
188
|
+
if (t > L.pT + 0.55) {
|
|
189
|
+
const u = win(Math.floor(t * 12) / 12, L.pT + 0.6, L.pT + 1.7), v = 61 + 36 * (1 - Math.pow(1 - u, 2.2));
|
|
190
|
+
items.push({ k: 'text', s: Math.round(v) + '%', x: D[0] + 330, y: D[1] + 10, size: 110, font: 'num', role: u >= 1 ? 'acc3' : 'ink', a: -1, b: 0, align: 'center', g: 'D', inst: true, live: true });
|
|
191
|
+
}
|
|
192
|
+
line(circ(D[0] + 335, D[1] - 25, 140, 90, -2.4, 4.2), 'acc2', 6, L.pT + 1.75, L.pT + 2.05, 'D');
|
|
193
|
+
// ---- 5 TAKEAWAY ----
|
|
194
|
+
text('More examples → better guesses', D[0], D[1] + 290, 62, 'title', 'ink', L.kT, L.kT + 0.75, { align: 'center', rot: -0.01, g: 'E' });
|
|
195
|
+
line([[D[0] - 450, D[1] + 316], [D[0] + 455, D[1] + 308]], 'acc1', 6, L.kT + 0.75, L.kT + 0.95, 'E');
|
|
196
|
+
return items;
|
|
197
|
+
};
|
|
198
|
+
// the 'tip' of whatever is currently being drawn (for the hand/tool)
|
|
199
|
+
const tipOf = (items, t, measure) => {
|
|
200
|
+
let tip = null;
|
|
201
|
+
for (const it of items) {
|
|
202
|
+
if (it.inst || it.k === 'dot') continue;
|
|
203
|
+
const p = win(t, it.a, it.b);
|
|
204
|
+
if (p > 0 && p < 1) {
|
|
205
|
+
if (it.k === 'line') { const P = it.pts; tip = P[Math.min(P.length - 1, Math.floor(p * (P.length - 1)))]; }
|
|
206
|
+
else tip = measure ? measure(it, p) : [it.x, it.y];
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
return tip;
|
|
210
|
+
};
|
|
211
|
+
return { clamp, win, eio, camAt, circ, quad, cubic, rrect, head, cat, dog, story, tipOf, fmt };
|
|
212
|
+
})();
|
|
213
|
+
// <<<XE-ENGINE
|
|
214
|
+
registerStyle({
|
|
215
|
+
id: 'chalkboard',
|
|
216
|
+
name: 'Chalkboard Lesson',
|
|
217
|
+
category: 'Hand-Drawn',
|
|
218
|
+
description: 'Dusty chalk on a green slate: grainy, broken strokes that skip over the board tooth, colored chalk accents, cloudy eraser smears from past lessons, and a worn oak frame with a dusty chalk tray.',
|
|
219
|
+
motion: 'Chalk lines scratch on with a little dust fall, the ball hops down the curve step by step, and old eraser clouds slowly drift as the board is wiped.',
|
|
220
|
+
fonts: ['700 66px "Kalam"', '400 40px "Kalam"', '700 44px "Patrick Hand"', '400 34px "Patrick Hand"'],
|
|
221
|
+
frameT: 6.4,
|
|
222
|
+
duration: 6.5,
|
|
223
|
+
readsPixels: true,
|
|
224
|
+
draw(ctx, W, H_, t) {
|
|
225
|
+
const nz = H.makeNoise(31);
|
|
226
|
+
const F = 30, TRAY = 646;
|
|
227
|
+
|
|
228
|
+
// ---------- slate ----------
|
|
229
|
+
H.paper(ctx, W, H_, '#2c4639', 17, 0.05);
|
|
230
|
+
const lit = ctx.createRadialGradient(560, 260, 100, 640, 360, 900);
|
|
231
|
+
lit.addColorStop(0, 'rgba(120,150,130,0.10)'); lit.addColorStop(1, 'rgba(0,10,5,0.35)');
|
|
232
|
+
ctx.fillStyle = lit; ctx.fillRect(0, 0, W, H_);
|
|
233
|
+
|
|
234
|
+
// ghost of an older lesson + eraser smears
|
|
235
|
+
{
|
|
236
|
+
const g = H.layer(W, H_), gc = g.getContext('2d');
|
|
237
|
+
gc.fillStyle = '#e8eee6'; gc.font = '400 40px "Kalam"';
|
|
238
|
+
gc.fillText('photosynthesis', 760, 120); gc.fillText('6CO2 + 6H2O', 820, 190);
|
|
239
|
+
gc.fillText('Homework p. 112', 120, 600);
|
|
240
|
+
gc.strokeStyle = '#e8eee6'; gc.lineWidth = 6; gc.beginPath(); gc.arc(1060, 330, 70, 0, 7); gc.stroke();
|
|
241
|
+
ctx.save(); ctx.filter = 'blur(2.5px)'; ctx.globalAlpha = 0.07; ctx.drawImage(g, 0, 0); ctx.restore();
|
|
242
|
+
const rr = H.rng(12);
|
|
243
|
+
const sm = H.layer(W, H_), sc = sm.getContext('2d'); sc.lineCap = 'round';
|
|
244
|
+
for (let i = 0; i < 26; i++) {
|
|
245
|
+
// eraser swipes: arcs and figure-eights
|
|
246
|
+
const x = rr.range(80, 1200), y = rr.range(70, 600), R = rr.range(60, 170), a0 = rr.range(0, 6.28);
|
|
247
|
+
sc.strokeStyle = `rgba(215,228,215,${rr.range(0.035, 0.075)})`; sc.lineWidth = rr.range(45, 80);
|
|
248
|
+
sc.beginPath(); sc.ellipse(x, y, R, R * rr.range(0.3, 0.7), rr.range(-0.4, 0.4), a0, a0 + rr.range(1.5, 3.5)); sc.stroke();
|
|
249
|
+
}
|
|
250
|
+
for (let i = 0; i < 10; i++) {
|
|
251
|
+
const x = rr.range(150, 1100), y = rr.range(90, 560);
|
|
252
|
+
sc.strokeStyle = `rgba(215,228,215,${rr.range(0.03, 0.05)})`; sc.lineWidth = rr.range(50, 70);
|
|
253
|
+
sc.beginPath(); sc.moveTo(x, y); sc.lineTo(x + rr.range(150, 360), y + rr.range(-20, 20)); sc.stroke();
|
|
254
|
+
}
|
|
255
|
+
ctx.save(); ctx.filter = 'blur(7px)'; ctx.drawImage(sm, 0, 0); ctx.restore();
|
|
256
|
+
// streaky texture inside smears (felt lines)
|
|
257
|
+
ctx.save(); ctx.globalAlpha = 0.5; ctx.filter = 'blur(1px)';
|
|
258
|
+
const st = H.layer(W, H_), stc = st.getContext('2d');
|
|
259
|
+
for (let i = 0; i < 260; i++) {
|
|
260
|
+
const x = rr.range(60, 1200), y = rr.range(60, 620);
|
|
261
|
+
stc.strokeStyle = `rgba(220,230,220,${rr.range(0.015, 0.04)})`; stc.lineWidth = rr.range(0.8, 2);
|
|
262
|
+
stc.beginPath(); stc.moveTo(x, y); stc.quadraticCurveTo(x + 40, y + rr.range(-6, 6), x + rr.range(60, 140), y + rr.range(-8, 8)); stc.stroke();
|
|
263
|
+
}
|
|
264
|
+
ctx.drawImage(st, 0, 0); ctx.restore();
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
// ---------- chalk layer ----------
|
|
268
|
+
const CL = H.layer(W, H_), c = CL.getContext('2d');
|
|
269
|
+
c.lineCap = 'round'; c.lineJoin = 'round';
|
|
270
|
+
const COL = { w: [240, 242, 236], y: [246, 222, 120], p: [244, 150, 175], b: [150, 205, 240] };
|
|
271
|
+
// chalk stroke: several parallel sub-strokes (flat of the stick) at varying pressure
|
|
272
|
+
const T = (a, b) => H.clamp((t - a) / (b - a));
|
|
273
|
+
let TIP = null;
|
|
274
|
+
const chalk = (pts, col, w, seed, pr = 0.85, prog = 1) => {
|
|
275
|
+
if (prog <= 0) return;
|
|
276
|
+
let P = pts; if (prog < 1) { P = pts.slice(0, Math.max(2, Math.ceil(pts.length * prog))); TIP = P[P.length - 1]; }
|
|
277
|
+
const rr = H.rng(seed), N = normals(P), rgb = COL[col];
|
|
278
|
+
const n = 4;
|
|
279
|
+
for (let k = 0; k < n; k++) {
|
|
280
|
+
const off = (k / (n - 1) - 0.5) * w * 0.7 + rr.range(-0.5, 0.5);
|
|
281
|
+
const a = pr * rr.range(0.75, 1);
|
|
282
|
+
c.lineWidth = w * rr.range(0.5, 0.72);
|
|
283
|
+
for (let i = 0; i < P.length - 1; i += 6) {
|
|
284
|
+
const fl = 0.7 + 0.3 * nz.n2(i * 0.04 + k, seed * 0.17);
|
|
285
|
+
c.strokeStyle = H.rgba(rgb, Math.min(1, a * fl));
|
|
286
|
+
c.beginPath();
|
|
287
|
+
for (let j = i; j <= Math.min(P.length - 1, i + 6); j++) {
|
|
288
|
+
const x = P[j][0] + N[j][0] * off, y = P[j][1] + N[j][1] * off;
|
|
289
|
+
j === i ? c.moveTo(x, y) : c.lineTo(x, y);
|
|
290
|
+
}
|
|
291
|
+
c.stroke();
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
};
|
|
295
|
+
const L = (pts, s, amp = 1.4) => wob(seg(pts), nz, s, amp);
|
|
296
|
+
const write = (str, x, y, font, col, rot, seed, a = 0.95, t0 = -1, t1 = 0) => {
|
|
297
|
+
c.save(); c.font = font; c.translate(x, y); c.rotate(rot);
|
|
298
|
+
const rr = H.rng(seed); let px = 0;
|
|
299
|
+
const nCh = Math.ceil(str.length * T(t0, t1));
|
|
300
|
+
if (nCh > 0 && nCh < str.length) { const ww = c.measureText(str.slice(0, nCh)).width; TIP = [x + Math.cos(rot) * ww - Math.sin(rot) * -14, y + Math.sin(rot) * ww - 14]; }
|
|
301
|
+
let ci = 0;
|
|
302
|
+
for (const ch of str) {
|
|
303
|
+
if (ci++ >= nCh) { px += c.measureText(ch).width; continue; }
|
|
304
|
+
const w = c.measureText(ch).width;
|
|
305
|
+
c.fillStyle = H.rgba(COL[col], a * rr.range(0.8, 1));
|
|
306
|
+
c.save(); c.translate(px, rr.range(-1.5, 1.5)); c.rotate(rr.range(-0.04, 0.04)); c.fillText(ch, 0, 0); c.restore();
|
|
307
|
+
px += w + rr.range(-0.5, 1);
|
|
308
|
+
}
|
|
309
|
+
c.restore();
|
|
310
|
+
return px;
|
|
311
|
+
};
|
|
312
|
+
const arrowHead = (P, col, w, seed, len = 18, pg = 1) => {
|
|
313
|
+
if (pg <= 0) return;
|
|
314
|
+
const a = P[P.length - 1], b = P[Math.max(0, P.length - 6)], ang = Math.atan2(a[1] - b[1], a[0] - b[0]);
|
|
315
|
+
chalk(L([[a[0] - Math.cos(ang - 0.5) * len, a[1] - Math.sin(ang - 0.5) * len], a], seed, 0.4), col, w, seed, 0.85, H.clamp(pg * 2));
|
|
316
|
+
chalk(L([[a[0] - Math.cos(ang + 0.5) * len, a[1] - Math.sin(ang + 0.5) * len], a], seed + 1, 0.4), col, w, seed + 1, 0.85, H.clamp(pg * 2 - 1));
|
|
317
|
+
};
|
|
318
|
+
|
|
319
|
+
// title
|
|
320
|
+
const tw = write('Gradient Descent', 84, 108, '700 66px "Kalam"', 'w', -0.015, 1, 0.95, 0.10, 0.8);
|
|
321
|
+
chalk(L([[80, 128], [84 + 516, 120]], 2, 2), 'y', 6, 2, 0.85, T(0.8, 0.95));
|
|
322
|
+
write('Lesson 4', 98 + 516 + 30, 100, '400 40px "Kalam"', 'b', -0.04, 3, 0.85, 0.95, 1.10);
|
|
323
|
+
|
|
324
|
+
// axes
|
|
325
|
+
const OX = 170, OY = 590;
|
|
326
|
+
const yAx = L([[OX, OY + 10], [OX + 2, 190]], 4, 1.2), xAx = L([[OX - 10, OY], [800, OY - 3]], 5, 1.2);
|
|
327
|
+
chalk(yAx, 'w', 8, 4, 0.85, T(1.10, 1.26)); arrowHead(yAx, 'w', 6, 40, 18, T(1.26, 1.33));
|
|
328
|
+
chalk(xAx, 'w', 8, 5, 0.85, T(1.33, 1.55)); arrowHead(xAx, 'w', 6, 42, 18, T(1.55, 1.62));
|
|
329
|
+
write('loss', OX - 70, 236, '400 34px "Patrick Hand"', 'w', -1.5708, 6, 0.85, 1.62, 1.70);
|
|
330
|
+
write('weight w', 680, OY + 44, '400 34px "Patrick Hand"', 'w', 0, 7, 0.85, 1.70, 1.80);
|
|
331
|
+
|
|
332
|
+
// loss curve: a lopsided valley
|
|
333
|
+
const yOn = (x) => { const u = (x - 560) / 330; return OY - 80 - 300 * u * u * (1 - 0.15 * u); };
|
|
334
|
+
const valley = []; for (let x = 246; x <= 792; x += 5) valley.push([x, yOn(x)]);
|
|
335
|
+
chalk(L(valley, 8, 1.6), 'w', 10, 8, 0.95, H.ease.inOut(T(1.80, 2.30)));
|
|
336
|
+
|
|
337
|
+
// tangent "slope" at the start point (dashed)
|
|
338
|
+
const x0 = 285, y0 = yOn(x0), dydx = (yOn(x0 + 1) - yOn(x0 - 1)) / 2, ang = Math.atan(dydx);
|
|
339
|
+
const tl = 150;
|
|
340
|
+
const tan = L([[x0 - Math.cos(ang) * tl, y0 - Math.sin(ang) * tl], [x0 + Math.cos(ang) * tl, y0 + Math.sin(ang) * tl]], 9, 0.6);
|
|
341
|
+
const tanP = T(2.30, 2.46);
|
|
342
|
+
for (let i = 0; i < tan.length; i += 14) chalk(tan.slice(i, i + 8), 'b', 6, 900 + i, 0.95, H.clamp(tanP * tan.length / 8 - i / 8));
|
|
343
|
+
write('slope', x0 + 40, y0 - 70, '400 34px "Patrick Hand"', 'b', -0.1, 10, 0.9, 2.46, 2.55);
|
|
344
|
+
|
|
345
|
+
// steps: ball lands (stepped), hop arc draws to the next
|
|
346
|
+
const xs = [285, 388, 458, 508, 540];
|
|
347
|
+
const ST = 2.55, SD = 0.18;
|
|
348
|
+
for (let i = 0; i < xs.length; i++) {
|
|
349
|
+
const tb = ST + i * SD;
|
|
350
|
+
if (t < tb) break;
|
|
351
|
+
const x = xs[i], y = yOn(x) - 12;
|
|
352
|
+
for (let k = 0; k < 3; k++) chalk(wob(ell(x, y, 11 - k * 3.5, 11 - k * 3.5, 0, 6.6), nz, 100 + i * 5 + k, 0.6), 'y', 5, 100 + i * 5 + k, 0.95, T(tb + k * 0.02, tb + k * 0.02 + 0.05));
|
|
353
|
+
if (i < xs.length - 1) {
|
|
354
|
+
const xa = x + 10, xb = xs[i + 1] - 6, ya = y - 12, yb = yOn(xs[i + 1]) - 26;
|
|
355
|
+
const hop = quad([xa, ya], [(xa + xb) / 2, Math.min(ya, yb) - 40 + i * 5], [xb, yb], 24);
|
|
356
|
+
const hp = L(hop, 120 + i, 0.6);
|
|
357
|
+
chalk(hp, 'y', 5.5, 120 + i, 0.95, T(tb + 0.07, tb + 0.15));
|
|
358
|
+
arrowHead(hp, 'y', 5.5, 140 + i * 2, 11, T(tb + 0.15, tb + 0.18));
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
// minimum marker
|
|
362
|
+
const mx = 560, my = yOn(560);
|
|
363
|
+
chalk(L(ell(mx, my + 6, 38, 22, -2, 4.6), 11, 1.2), 'p', 7, 11, 0.85, T(3.45, 3.64));
|
|
364
|
+
write('min!', mx + 34, my + 64, '700 44px "Patrick Hand"', 'p', -0.08, 12, 0.95, 3.64, 3.75);
|
|
365
|
+
|
|
366
|
+
// update rule, boxed
|
|
367
|
+
const EX = 860, EY = 300;
|
|
368
|
+
write('w', EX, EY, '700 44px "Patrick Hand"', 'w', 0, 13, 0.95, 3.75, 3.79);
|
|
369
|
+
const la = L([[EX + 74, EY - 15], [EX + 36, EY - 14]], 14, 0.4);
|
|
370
|
+
chalk(la, 'w', 6, 14, 0.85, T(3.79, 3.86)); arrowHead(la, 'w', 6, 15, 14, T(3.86, 3.92));
|
|
371
|
+
write('w − α ∇L', EX + 86, EY, '700 44px "Patrick Hand"', 'w', 0, 16, 0.95, 3.92, 4.25);
|
|
372
|
+
chalk(L([[EX + 134, EY + 10], [EX + 162, EY + 9]], 17, 0.4), 'y', 4, 17, 0.85, T(4.50, 4.57));
|
|
373
|
+
chalk(L([[EX - 26, EY - 64], [EX + 300, EY - 70], [EX + 306, EY + 34], [EX - 22, EY + 38], [EX - 30, EY - 60]], 18, 2.2), 'p', 7, 18, 0.85, T(4.25, 4.50));
|
|
374
|
+
write('α = step size', EX + 40, EY + 98, '400 34px "Patrick Hand"', 'y', -0.03, 19, 0.95, 4.57, 4.77);
|
|
375
|
+
const al = L(quad([EX + 140, EY + 64], [EX + 120, EY + 40], [EX + 146, EY + 18]), 20, 0.4);
|
|
376
|
+
chalk(al, 'y', 4.00, 20, 0.85, T(4.77, 4.83)); arrowHead(al, 'y', 4.00, 21, 10, T(4.83, 4.86));
|
|
377
|
+
write('repeat until flat', EX - 4, EY + 160, '400 34px "Patrick Hand"', 'w', 0.0, 22, 0.85, 4.86, 5.05);
|
|
378
|
+
chalk(L([[EX - 8, EY + 174], [EX + 228, EY + 170]], 23, 1), 'w', 3, 23, 0.6, T(5.05, 5.12));
|
|
379
|
+
// contour-map doodle: the same descent seen from above
|
|
380
|
+
{
|
|
381
|
+
const cx = 1062, cy = 562, rot = -0.18, cr = Math.cos(rot), sr = Math.sin(rot);
|
|
382
|
+
const R = (pts) => pts.map(([x, y]) => [cx + (x - cx) * cr - (y - cy) * sr, cy + (x - cx) * sr + (y - cy) * cr]);
|
|
383
|
+
[150, 112, 76, 42, 14].forEach((rx, i) => chalk(wob(R(ell(cx + i * 6, cy, rx, rx * 0.38, 0.3 * i, 0.3 * i + 6.5)), nz, 50 + i, 1.2), 'b', 4.5, 50 + i, 0.8, T(5.05 + i * 0.03, 5.12 + i * 0.03)));
|
|
384
|
+
const zz = L(R([[cx - 150, cy - 10], [cx - 104, cy + 30], [cx - 70, cy - 22], [cx - 34, cy + 18], [cx - 6, cy - 8], [cx + 18, cy + 2]]), 60, 0.8);
|
|
385
|
+
chalk(zz, 'y', 4.5, 60, 0.95, T(5.25, 5.45)); arrowHead(zz, 'y', 4.5, 61, 12, T(5.45, 5.52));
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
// ---------- chalk grain: only the board's high points take chalk ----------
|
|
389
|
+
{
|
|
390
|
+
const id = c.getImageData(0, 0, W, H_), d = id.data;
|
|
391
|
+
const sm = H.layer(W / 2, H_ / 2), sx = sm.getContext('2d');
|
|
392
|
+
const ns = sx.createImageData(W / 2, H_ / 2), rr = H.rng(77);
|
|
393
|
+
for (let i = 0; i < ns.data.length; i += 4) { const v = rr() * 255; ns.data[i] = ns.data[i + 1] = ns.data[i + 2] = v; ns.data[i + 3] = 255; }
|
|
394
|
+
sx.putImageData(ns, 0, 0);
|
|
395
|
+
const big = H.layer(W, H_), bx = big.getContext('2d'); bx.drawImage(sm, 0, 0, W, H_);
|
|
396
|
+
const gd = bx.getImageData(0, 0, W, H_).data, r2 = H.rng(78);
|
|
397
|
+
for (let i = 0, p = 0; i < d.length; i += 4, p++) {
|
|
398
|
+
const a = d[i + 3] / 255; if (!a) continue;
|
|
399
|
+
const x = p % W, y = (p / W) | 0;
|
|
400
|
+
const g = gd[i] / 255 * 0.55 + r2() * 0.45 + nz.n2(x * 0.05, y * 0.05) * 0.12;
|
|
401
|
+
const k = H.clamp((g - (1 - a) * 0.95 - 0.08) * 3.0);
|
|
402
|
+
d[i + 3] = 255 * Math.min(1, a * 1.15) * k;
|
|
403
|
+
}
|
|
404
|
+
c.putImageData(id, 0, 0);
|
|
405
|
+
}
|
|
406
|
+
// dust halo around strokes then the chalk itself
|
|
407
|
+
ctx.save(); ctx.filter = 'blur(4px)'; ctx.globalAlpha = 0.22; ctx.drawImage(CL, 0, 0); ctx.restore();
|
|
408
|
+
ctx.drawImage(CL, 0, 0);
|
|
409
|
+
// falling dust specks under writing
|
|
410
|
+
{
|
|
411
|
+
const rr = H.rng(90);
|
|
412
|
+
for (let i = 0; i < 500; i++) {
|
|
413
|
+
const x = rr.range(60, 1220), y = rr.range(60, 630);
|
|
414
|
+
ctx.fillStyle = `rgba(235,240,232,${rr.range(0.05, 0.25)})`;
|
|
415
|
+
ctx.fillRect(x, y, rr.range(0.8, 1.8), rr.range(0.8, 1.8));
|
|
416
|
+
}
|
|
417
|
+
// slowly drifting dust motes in the air (ambient life)
|
|
418
|
+
for (let i = 0; i < 70; i++) {
|
|
419
|
+
const x0 = rr.range(40, 1240), sp = rr.range(8, 22), ph = rr.range(0, 700);
|
|
420
|
+
const y = 40 + ((ph + t * sp) % 600), x = x0 + Math.sin(t * 0.8 + i) * 8;
|
|
421
|
+
ctx.fillStyle = `rgba(240,244,236,${rr.range(0.12, 0.35)})`;
|
|
422
|
+
ctx.beginPath(); ctx.arc(x, y, rr.range(0.6, 1.5), 0, 7); ctx.fill();
|
|
423
|
+
}
|
|
424
|
+
// puff of dust where the chalk touches
|
|
425
|
+
if (TIP) {
|
|
426
|
+
for (let i = 0; i < 26; i++) {
|
|
427
|
+
const r3 = H.rng(Math.floor(t * 30) * 100 + i);
|
|
428
|
+
ctx.fillStyle = `rgba(240,244,236,${r3.range(0.15, 0.5)})`;
|
|
429
|
+
ctx.fillRect(TIP[0] + r3.range(-12, 12), TIP[1] + r3.range(0, 30), r3.range(0.8, 2), r3.range(0.8, 2));
|
|
430
|
+
}
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
H.vignette(ctx, W, H_, 0.35, '0,8,4');
|
|
434
|
+
// the chalk stick in hand
|
|
435
|
+
if (TIP) {
|
|
436
|
+
const [tx, ty] = TIP, ang = 0.8;
|
|
437
|
+
ctx.save();
|
|
438
|
+
ctx.save(); ctx.filter = 'blur(6px)'; ctx.fillStyle = 'rgba(0,10,5,0.4)'; ctx.translate(tx + 16, ty + 20); ctx.rotate(ang); ctx.fillRect(4, -7, 80, 14); ctx.restore();
|
|
439
|
+
ctx.translate(tx, ty); ctx.rotate(ang);
|
|
440
|
+
const g2 = ctx.createLinearGradient(0, -8, 0, 8); g2.addColorStop(0, '#ffffff'); g2.addColorStop(0.45, '#ecece4'); g2.addColorStop(1, '#a9aaa2');
|
|
441
|
+
ctx.fillStyle = g2; ctx.beginPath(); ctx.moveTo(0, -5); ctx.lineTo(6, -8); ctx.lineTo(86, -8); ctx.lineTo(86, 8); ctx.lineTo(6, 8); ctx.lineTo(0, 4); ctx.closePath(); ctx.fill();
|
|
442
|
+
ctx.fillStyle = 'rgba(255,255,255,0.6)'; ctx.beginPath(); ctx.ellipse(86, 0, 3, 8, 0, 0, 7); ctx.fill();
|
|
443
|
+
ctx.restore();
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
// ---------- oak frame ----------
|
|
447
|
+
const wood = (x, y, w, h, horiz, seed, base = [128, 84, 46]) => {
|
|
448
|
+
ctx.save(); ctx.beginPath(); ctx.rect(x, y, w, h); ctx.clip();
|
|
449
|
+
ctx.fillStyle = H.rgba(base); ctx.fillRect(x, y, w, h);
|
|
450
|
+
const rr = H.rng(seed);
|
|
451
|
+
const n = 70;
|
|
452
|
+
for (let i = 0; i < n; i++) {
|
|
453
|
+
const o = rr() * (horiz ? h : w), dark = rr.chance(0.6);
|
|
454
|
+
ctx.strokeStyle = dark ? `rgba(60,34,14,${rr.range(0.1, 0.35)})` : `rgba(210,160,100,${rr.range(0.06, 0.18)})`;
|
|
455
|
+
ctx.lineWidth = rr.range(0.6, 2.2);
|
|
456
|
+
ctx.beginPath();
|
|
457
|
+
const len = horiz ? w : h, fq = rr.range(0.004, 0.012), amp = rr.range(0.5, 3), ph = rr.range(0, 6);
|
|
458
|
+
for (let s = 0; s <= len; s += 12) {
|
|
459
|
+
const off = o + Math.sin(s * fq + ph) * amp + nz.n2(s * 0.01, i) * 2;
|
|
460
|
+
const px = horiz ? x + s : x + off, py = horiz ? y + off : y + s;
|
|
461
|
+
s ? ctx.lineTo(px, py) : ctx.moveTo(px, py);
|
|
462
|
+
}
|
|
463
|
+
ctx.stroke();
|
|
464
|
+
}
|
|
465
|
+
// bevel shading
|
|
466
|
+
const g = horiz ? ctx.createLinearGradient(0, y, 0, y + h) : ctx.createLinearGradient(x, 0, x + w, 0);
|
|
467
|
+
g.addColorStop(0, 'rgba(255,220,170,0.25)'); g.addColorStop(0.5, 'rgba(0,0,0,0)'); g.addColorStop(1, 'rgba(30,15,5,0.4)');
|
|
468
|
+
ctx.fillStyle = g; ctx.fillRect(x, y, w, h);
|
|
469
|
+
ctx.restore();
|
|
470
|
+
};
|
|
471
|
+
wood(0, 0, W, F, true, 1);
|
|
472
|
+
wood(0, 0, F, TRAY, false, 2);
|
|
473
|
+
wood(W - F, 0, F, TRAY, false, 3);
|
|
474
|
+
// inner shadow of frame on slate
|
|
475
|
+
ctx.fillStyle = 'rgba(0,0,0,0.35)'; ctx.fillRect(F, F, W - 2 * F, 5); ctx.fillRect(F, F, 5, TRAY - F);
|
|
476
|
+
ctx.fillStyle = 'rgba(0,0,0,0.2)'; ctx.fillRect(F, F + 5, W - 2 * F, 4);
|
|
477
|
+
// tray: ledge top + front lip
|
|
478
|
+
wood(0, TRAY, W, 30, true, 4, [150, 102, 58]);
|
|
479
|
+
wood(0, TRAY + 30, W, H_ - TRAY - 30, true, 5, [110, 70, 36]);
|
|
480
|
+
ctx.fillStyle = 'rgba(0,0,0,0.45)'; ctx.fillRect(F, TRAY - 6, W - 2 * F, 6);
|
|
481
|
+
ctx.fillStyle = 'rgba(255,230,190,0.25)'; ctx.fillRect(0, TRAY + 30, W, 1.5);
|
|
482
|
+
// chalk dust on the ledge
|
|
483
|
+
{
|
|
484
|
+
const rr = H.rng(55);
|
|
485
|
+
const dg = ctx.createLinearGradient(0, TRAY, 0, TRAY + 30);
|
|
486
|
+
dg.addColorStop(0, 'rgba(235,235,225,0.32)'); dg.addColorStop(1, 'rgba(235,235,225,0.08)');
|
|
487
|
+
ctx.fillStyle = dg; ctx.fillRect(F, TRAY, W - 2 * F, 30);
|
|
488
|
+
for (let i = 0; i < 1400; i++) {
|
|
489
|
+
const x = rr.range(F, W - F), y = TRAY + Math.pow(rr(), 1.6) * 28;
|
|
490
|
+
ctx.fillStyle = `rgba(245,245,238,${rr.range(0.1, 0.5)})`; ctx.fillRect(x, y, rr.range(0.8, 2.2), rr.range(0.8, 1.6));
|
|
491
|
+
}
|
|
492
|
+
for (let i = 0; i < 6; i++) {
|
|
493
|
+
const x = rr.range(100, 1150);
|
|
494
|
+
const g = ctx.createRadialGradient(x, TRAY + 16, 2, x, TRAY + 16, 60);
|
|
495
|
+
g.addColorStop(0, 'rgba(240,240,230,0.25)'); g.addColorStop(1, 'rgba(240,240,230,0)');
|
|
496
|
+
ctx.fillStyle = g; ctx.fillRect(x - 60, TRAY, 120, 30);
|
|
497
|
+
}
|
|
498
|
+
}
|
|
499
|
+
// chalk sticks
|
|
500
|
+
const stick = (x, len, col, rot) => {
|
|
501
|
+
ctx.save(); ctx.translate(x, TRAY + 15); ctx.rotate(rot);
|
|
502
|
+
ctx.fillStyle = 'rgba(30,15,5,0.35)'; ctx.beginPath(); ctx.ellipse(len / 2 + 3, 7, len / 2 + 2, 4, 0, 0, 7); ctx.fill();
|
|
503
|
+
const g = ctx.createLinearGradient(0, -7, 0, 7);
|
|
504
|
+
g.addColorStop(0, H.rgba(H.mix(col, '#ffffff', 0.5))); g.addColorStop(0.4, H.rgba(col)); g.addColorStop(1, H.rgba(H.mix(col, '#000000', 0.35)));
|
|
505
|
+
ctx.fillStyle = g; ctx.beginPath(); ctx.roundRect(0, -7, len, 14, 6); ctx.fill();
|
|
506
|
+
ctx.fillStyle = H.rgba(H.mix(col, '#ffffff', 0.3)); ctx.beginPath(); ctx.ellipse(len - 2, 0, 3, 7, 0, 0, 7); ctx.fill();
|
|
507
|
+
ctx.restore();
|
|
508
|
+
};
|
|
509
|
+
stick(180, 96, [242, 242, 236], -0.03);
|
|
510
|
+
stick(310, 44, [246, 220, 110], 0.05);
|
|
511
|
+
stick(380, 62, [242, 150, 172], -0.02);
|
|
512
|
+
stick(470, 38, [150, 205, 238], 0.08);
|
|
513
|
+
// felt eraser
|
|
514
|
+
ctx.save(); ctx.translate(980, TRAY - 2);
|
|
515
|
+
ctx.fillStyle = 'rgba(20,10,5,0.4)'; ctx.fillRect(4, 22, 170, 10);
|
|
516
|
+
const eg = ctx.createLinearGradient(0, 0, 0, 22); eg.addColorStop(0, '#c48a52'); eg.addColorStop(1, '#8a5a30');
|
|
517
|
+
ctx.fillStyle = eg; ctx.beginPath(); ctx.roundRect(0, 0, 170, 22, 4); ctx.fill();
|
|
518
|
+
ctx.fillStyle = '#5c5c5c'; ctx.fillRect(2, 20, 166, 12);
|
|
519
|
+
ctx.fillStyle = 'rgba(240,240,235,0.55)'; ctx.fillRect(2, 26, 166, 6);
|
|
520
|
+
ctx.restore();
|
|
521
|
+
|
|
522
|
+
H.grain(ctx, W, H_, 0.03, 5);
|
|
523
|
+
},
|
|
524
|
+
// >>>EXPLAINER
|
|
525
|
+
explainerDuration: 15,
|
|
526
|
+
explainerNote: 'A teacher-style lesson on one long slate: a chalk stick writes and draws while the camera tracks along the board (the hook is left behind, the chart is on the next stretch of board), arrows are dusty chalk strokes, numbers are re-chalked as they count, and pink chalk rings the key moments.',
|
|
527
|
+
explainer(ctx, W, H_, t) {
|
|
528
|
+
const nz = H.makeNoise(31);
|
|
529
|
+
const COL = { ink: [240, 242, 236], acc1: [246, 222, 120], acc2: [244, 150, 175], acc3: [205, 250, 190] };
|
|
530
|
+
const FONT = { title: '700 KPX "Kalam"', label: '400 KPX "Patrick Hand"', num: '700 KPX "Kalam"' };
|
|
531
|
+
const fontOf = (it) => FONT[it.font].replace('KPX', (it.size * (it.font === 'label' ? 1.08 : 1)).toFixed(1) + 'px');
|
|
532
|
+
const D = [3700, 640];
|
|
533
|
+
const L = {
|
|
534
|
+
D, pT: 10.95, kT: 13.05, modelName: 'the model',
|
|
535
|
+
bridge: { pts: XE.cubic([3010, 760], [3120, 860], [3220, 860], [3290, 790]), a: 10.15, b: 10.6, label: 'repeat x1000', lx: 3150, ly: 785 },
|
|
536
|
+
model: (cx, cy, adj, push, api, tt) => {
|
|
537
|
+
const g = 'M';
|
|
538
|
+
api.line(XE.rrect(cx - 165, cy - 150, 330, 325, 16), 'ink', 6, 2.5, 2.85, g);
|
|
539
|
+
api.line([[cx - 60, cy - 150], [cx - 95, cy - 200], [cx + 95, cy - 200], [cx + 60, cy - 150]], 'ink', 5, 2.85, 3.0, g); // hopper
|
|
540
|
+
api.text('f(x)', cx, cy - 10, 92, 'title', 'acc1', 2.95, 3.2, { align: 'center', g });
|
|
541
|
+
[-1, 0, 1].forEach((k, i) => {
|
|
542
|
+
const x = cx + k * 92, y = cy + 95;
|
|
543
|
+
api.line(XE.circ(x, y, 27, 27, -1.2, 5.2), 'ink', 4.5, 3.05 + i * 0.05, 3.17 + i * 0.05, g);
|
|
544
|
+
if (tt > 3.2 + i * 0.05) {
|
|
545
|
+
const a0 = [-2.4, -0.6, -1.9][i], a1 = [-0.7, -2.2, -0.4][i], a = a0 + (a1 - a0) * adj + Math.sin(adj * Math.PI) * 0.3;
|
|
546
|
+
push({ k: 'line', pts: [[x, y], [x + Math.cos(a) * 21, y + Math.sin(a) * 21]], role: adj > 0 && adj < 1 ? 'acc2' : 'ink', w: 5, a: -1, b: 0, inst: true, g });
|
|
547
|
+
}
|
|
548
|
+
});
|
|
549
|
+
api.text('knobs', cx, cy + 160, 31, 'label', 'ink', 3.25, 3.4, { align: 'center', g });
|
|
550
|
+
},
|
|
551
|
+
};
|
|
552
|
+
const items = XE.story(t, L);
|
|
553
|
+
const cam = XE.camAt([[0, 640, 360, 1.0], [2.0, 650, 362, 1.05], [2.8, 1830, 610, 0.95], [5.95, 1860, 620, 0.97], [6.55, 2580, 640, 0.9], [10.3, 2600, 645, 0.93],
|
|
554
|
+
[11.0, 3700, 690, 0.92], [12.9, 3710, 690, 0.95], [13.6, 3700, 760, 0.88], [15, 3700, 760, 0.9]], t);
|
|
555
|
+
const z = cam[2];
|
|
556
|
+
const apply = (c) => { c.translate(W / 2, H_ / 2); c.scale(z, z); c.translate(-cam[0], -cam[1]); };
|
|
557
|
+
const toS = ([x, y]) => [(x - cam[0]) * z + W / 2, (y - cam[1]) * z + H_ / 2];
|
|
558
|
+
|
|
559
|
+
// ---------- long slate (world texture at 1:1, built once) ----------
|
|
560
|
+
// world extent: x -200..4600, y -200..1200. The low-frequency slate mottle is the half-res H.paper base,
|
|
561
|
+
// everything on top of it (eraser swirls, felt streaks, ghost lesson, settled dust) is drawn at full resolution.
|
|
562
|
+
if (!XC.slate) {
|
|
563
|
+
const SW = 4800, SH = 1400, OX = 200, OY = 200, sl = H.layer(SW, SH), sc = sl.getContext('2d');
|
|
564
|
+
// soft half-res layer: slate mottle, ghost lessons and eraser swirls (all blurred anyway)
|
|
565
|
+
const base = H.layer(2400, 700), bc = base.getContext('2d'); H.paper(bc, 2400, 700, '#2c4639', 17, 0.05);
|
|
566
|
+
const rr = H.rng(12);
|
|
567
|
+
{ // ghost text drawn unfiltered, then blurred in a single pass
|
|
568
|
+
const gl = H.layer(2400, 700), gc = gl.getContext('2d'); gc.fillStyle = gc.strokeStyle = '#e8eee6'; gc.font = '400 20px "Kalam"';
|
|
569
|
+
[['photosynthesis', 800, 120], ['6CO2 + 6H2O', 860, 190], ['Homework p. 112', 120, 610], ['x² + y² = r²', 2560, 250], ['Ch. 7 fractions', 1500, 1010],
|
|
570
|
+
['3/4 = 0.75', 3200, 300], ['E = mc²', 4300, 1020], ['due Friday', 4240, 260]].forEach(([s2, x, y]) => gc.fillText(s2, (x + OX) / 2, (y + OY) / 2));
|
|
571
|
+
gc.lineWidth = 3; gc.beginPath(); gc.arc((1080 + OX) / 2, (330 + OY) / 2, 35, 0, 7); gc.stroke();
|
|
572
|
+
gc.beginPath(); gc.moveTo((2950 + OX) / 2, (1020 + OY) / 2); gc.lineTo((3150 + OX) / 2, (1000 + OY) / 2); gc.lineTo((3060 + OX) / 2, (880 + OY) / 2); gc.closePath(); gc.stroke();
|
|
573
|
+
bc.save(); bc.filter = 'blur(1.3px)'; bc.globalAlpha = 0.08; bc.drawImage(gl, 0, 0); bc.restore();
|
|
574
|
+
}
|
|
575
|
+
// eraser swipes: arcs and figure-eights plus straight passes, softened
|
|
576
|
+
const sm = H.layer(2400, 700), smc = sm.getContext('2d'); smc.lineCap = 'round';
|
|
577
|
+
for (let i = 0; i < 150; i++) {
|
|
578
|
+
const x = rr.range(0, 2400), y = rr.range(0, 700), R = rr.range(30, 85), a0 = rr.range(0, 6.28);
|
|
579
|
+
smc.strokeStyle = `rgba(215,228,215,${rr.range(0.035, 0.075)})`; smc.lineWidth = rr.range(20, 38);
|
|
580
|
+
smc.beginPath(); smc.ellipse(x, y, R, R * rr.range(0.3, 0.7), rr.range(-0.4, 0.4), a0, a0 + rr.range(1.5, 3.5)); smc.stroke();
|
|
581
|
+
}
|
|
582
|
+
for (let i = 0; i < 60; i++) {
|
|
583
|
+
const x = rr.range(0, 2300), y = rr.range(20, 680);
|
|
584
|
+
smc.strokeStyle = `rgba(215,228,215,${rr.range(0.03, 0.05)})`; smc.lineWidth = rr.range(25, 35);
|
|
585
|
+
smc.beginPath(); smc.moveTo(x, y); smc.lineTo(x + rr.range(75, 190), y + rr.range(-10, 10)); smc.stroke();
|
|
586
|
+
}
|
|
587
|
+
bc.filter = 'blur(3.5px)'; bc.drawImage(sm, 0, 0); bc.filter = 'none';
|
|
588
|
+
sc.imageSmoothingEnabled = true; sc.drawImage(base, 0, 0, SW, SH);
|
|
589
|
+
// crisp full-res felt streaks inside the smears: fine parallel lines left by the eraser
|
|
590
|
+
sc.lineCap = 'round';
|
|
591
|
+
for (let i = 0; i < 1700; i++) {
|
|
592
|
+
const x = rr.range(0, SW), y = rr.range(0, SH);
|
|
593
|
+
sc.strokeStyle = `rgba(220,230,220,${rr.range(0.01, 0.025)})`; sc.lineWidth = rr.range(0.8, 2);
|
|
594
|
+
sc.beginPath(); sc.moveTo(x, y); sc.quadraticCurveTo(x + 40, y + rr.range(-6, 6), x + rr.range(60, 140), y + rr.range(-8, 8)); sc.stroke();
|
|
595
|
+
}
|
|
596
|
+
// settled chalk dust specks
|
|
597
|
+
for (let i = 0; i < 3500; i++) {
|
|
598
|
+
sc.fillStyle = `rgba(235,240,232,${rr.range(0.04, 0.2)})`;
|
|
599
|
+
sc.fillRect(rr.range(0, SW), rr.range(0, SH), rr.range(0.8, 1.8), rr.range(0.8, 1.8));
|
|
600
|
+
}
|
|
601
|
+
XC.slate = sl;
|
|
602
|
+
// fine slate tooth: a seamless 256px tile of 1-2px light/dark grain, laid over the board in world space
|
|
603
|
+
const TS = 256, tile = H.layer(TS, TS), tc = tile.getContext('2d'), img = tc.createImageData(TS, TS), d = img.data, r2 = H.rng(21);
|
|
604
|
+
const coarse = new Float32Array(64 * 64); for (let i = 0; i < coarse.length; i++) coarse[i] = r2() - 0.5;
|
|
605
|
+
for (let y = 0, p = 0; y < TS; y++) for (let x = 0; x < TS; x++, p++) {
|
|
606
|
+
const v = (r2() - 0.5) * 0.9 + coarse[((y >> 2) & 63) * 64 + ((x >> 2) & 63)] * 0.7 + coarse[((y >> 1) & 63) * 64 + ((x * 3 >> 3) & 63)] * 0.4;
|
|
607
|
+
const i = p * 4, on = v > 0 ? 255 : 0; d[i] = on; d[i + 1] = on; d[i + 2] = on; d[i + 3] = Math.min(255, Math.abs(v) * 24);
|
|
608
|
+
}
|
|
609
|
+
tc.putImageData(img, 0, 0);
|
|
610
|
+
XC.tooth = tile;
|
|
611
|
+
}
|
|
612
|
+
ctx.save(); apply(ctx);
|
|
613
|
+
ctx.imageSmoothingEnabled = true;
|
|
614
|
+
ctx.drawImage(XC.slate, -200, -200, 4800, 1400);
|
|
615
|
+
ctx.fillStyle = XC.toothPat || (XC.toothPat = ctx.createPattern(XC.tooth, 'repeat')); ctx.fillRect(-200, -200, 4800, 1400);
|
|
616
|
+
ctx.restore();
|
|
617
|
+
// classroom light: warm hot-spot upper-left of centre, darker falloff to the edges (as in the still)
|
|
618
|
+
{
|
|
619
|
+
const lit = ctx.createRadialGradient(560, 260, 100, 640, 360, 900);
|
|
620
|
+
lit.addColorStop(0, 'rgba(120,150,130,0.10)'); lit.addColorStop(1, 'rgba(0,10,5,0.35)');
|
|
621
|
+
ctx.fillStyle = lit; ctx.fillRect(0, 0, W, H_);
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
// ---------- chalk ----------
|
|
625
|
+
const CL = H.layer(W, H_), c = CL.getContext('2d');
|
|
626
|
+
c.lineCap = 'round'; c.lineJoin = 'round';
|
|
627
|
+
const chalk = (P, rgb, w, seed, prog) => {
|
|
628
|
+
if (prog < 1) P = P.slice(0, Math.max(2, Math.ceil(P.length * prog)));
|
|
629
|
+
const rr = H.rng(seed), N = normals(P);
|
|
630
|
+
for (let k = 0; k < 4; k++) {
|
|
631
|
+
const off = (k / 3 - 0.5) * w * 0.7 + rr.range(-0.5, 0.5), a = 0.9 * rr.range(0.75, 1);
|
|
632
|
+
c.lineWidth = w * rr.range(0.5, 0.72);
|
|
633
|
+
for (let i = 0; i < P.length - 1; i += 6) {
|
|
634
|
+
c.strokeStyle = H.rgba(rgb, Math.min(1, a * (0.7 + 0.3 * nz.n2(i * 0.04 + k, seed * 0.17))));
|
|
635
|
+
c.beginPath();
|
|
636
|
+
for (let j = i; j <= Math.min(P.length - 1, i + 6); j++) { const x = P[j][0] + N[j][0] * off, y = P[j][1] + N[j][1] * off; j === i ? c.moveTo(x, y) : c.lineTo(x, y); }
|
|
637
|
+
c.stroke();
|
|
638
|
+
}
|
|
639
|
+
}
|
|
640
|
+
};
|
|
641
|
+
const measure = (it, p) => {
|
|
642
|
+
c.save(); c.font = fontOf(it); const w = c.measureText(it.s).width, x0 = it.align === 'center' ? it.x - w / 2 : it.x;
|
|
643
|
+
const w2 = c.measureText(it.s.slice(0, Math.ceil(it.s.length * p))).width; c.restore();
|
|
644
|
+
return [x0 + w2, it.y - it.size * 0.3];
|
|
645
|
+
};
|
|
646
|
+
c.save(); apply(c);
|
|
647
|
+
for (const it of items) {
|
|
648
|
+
const p = it.inst ? 1 : XE.win(t, it.a, it.b);
|
|
649
|
+
if (p <= 0) continue;
|
|
650
|
+
const rgb = COL[it.role];
|
|
651
|
+
if (it.k === 'line') {
|
|
652
|
+
const seed = ((it.pts[0][0] * 13 + it.pts[0][1] * 7) | 0) + 3;
|
|
653
|
+
chalk(wob(seg(it.pts, 2.5), nz, seed % 89, it.inst ? 0.5 : 1.3), rgb, it.w * 1.45, seed, p);
|
|
654
|
+
} else if (it.k === 'dot') {
|
|
655
|
+
c.fillStyle = H.rgba(rgb, 0.9); c.beginPath(); c.arc(it.x, it.y, it.r * 1.1, 0, 7); c.fill();
|
|
656
|
+
} else {
|
|
657
|
+
c.save(); c.font = fontOf(it);
|
|
658
|
+
const wAll = c.measureText(it.s).width, x0 = it.align === 'center' ? it.x - wAll / 2 : it.x;
|
|
659
|
+
c.translate(x0, it.y); c.rotate(it.rot);
|
|
660
|
+
const rr = H.rng((it.s.length * 31 + (it.x | 0)) % 991), n = Math.ceil(it.s.length * p);
|
|
661
|
+
let px = 0;
|
|
662
|
+
for (let i = 0; i < n; i++) {
|
|
663
|
+
const ch = it.s[i], w = c.measureText(ch).width;
|
|
664
|
+
c.fillStyle = H.rgba(rgb, 0.95 * rr.range(0.8, 1));
|
|
665
|
+
c.save(); c.translate(px, rr.range(-1.5, 1.5)); c.rotate(rr.range(-0.04, 0.04)); c.fillText(ch, 0, 0);
|
|
666
|
+
if (it.font === 'num' && it.role === 'acc3') { c.fillStyle = H.rgba([228, 255, 215], 0.9); c.fillText(ch, 0.8, -0.6); } // final result: pressed harder, a second pass of chalk
|
|
667
|
+
c.restore();
|
|
668
|
+
px += w;
|
|
669
|
+
}
|
|
670
|
+
c.restore();
|
|
671
|
+
}
|
|
672
|
+
}
|
|
673
|
+
c.restore();
|
|
674
|
+
// grain anchored to the board: chalk only catches the slate's high points
|
|
675
|
+
{
|
|
676
|
+
const id = c.getImageData(0, 0, W, H_), d = id.data, iz = 1 / z;
|
|
677
|
+
for (let i = 0, p = 0; i < d.length; i += 4, p++) {
|
|
678
|
+
const a = d[i + 3] / 255; if (!a) continue;
|
|
679
|
+
const x = p % W, y = (p / W) | 0;
|
|
680
|
+
const wx = ((x - W / 2) * iz + cam[0]) * 1.1 | 0, wy = ((y - H_ / 2) * iz + cam[1]) * 1.1 | 0;
|
|
681
|
+
let h = Math.imul(wx, 374761393) + Math.imul(wy, 668265263); h = Math.imul(h ^ (h >>> 13), 1274126177); h = ((h ^ (h >>> 16)) >>> 0) / 4294967296;
|
|
682
|
+
const h2 = nz.n2(wx * 0.18, wy * 0.18) * 0.5 + 0.5;
|
|
683
|
+
const g = h * 0.5 + h2 * 0.5;
|
|
684
|
+
d[i + 3] = 255 * Math.min(1, a * 1.15) * H.clamp((g - (1 - a) * 0.95 - 0.06) * 3.0);
|
|
685
|
+
}
|
|
686
|
+
c.putImageData(id, 0, 0);
|
|
687
|
+
}
|
|
688
|
+
ctx.save(); ctx.filter = 'blur(4px)'; ctx.globalAlpha = 0.22; ctx.drawImage(CL, 0, 0); ctx.restore();
|
|
689
|
+
ctx.drawImage(CL, 0, 0);
|
|
690
|
+
|
|
691
|
+
// ---------- chalk tray along the bottom of the board ----------
|
|
692
|
+
ctx.save(); apply(ctx);
|
|
693
|
+
const ty = 1110;
|
|
694
|
+
ctx.fillStyle = 'rgba(0,0,0,0.45)'; ctx.fillRect(-300, ty - 8, 5000, 8);
|
|
695
|
+
if (!XC.tray) { // oak ledge with grain, a chalk-dust drift and specks, built once at 1:1
|
|
696
|
+
const TW = 5000, TH = 90, tr = H.layer(TW, TH), tc = tr.getContext('2d'), r4 = H.rng(55);
|
|
697
|
+
const tg2 = tc.createLinearGradient(0, 0, 0, TH);
|
|
698
|
+
tg2.addColorStop(0, '#9a6a3c'); tg2.addColorStop(0.35, '#7a4f2a'); tg2.addColorStop(0.36, '#5e3a1c'); tg2.addColorStop(1, '#3e2510');
|
|
699
|
+
tc.fillStyle = tg2; tc.fillRect(0, 0, TW, TH);
|
|
700
|
+
for (let i = 0; i < 90; i++) {
|
|
701
|
+
const o = r4() * TH, dark = r4.chance(0.6), fq = r4.range(0.002, 0.008), amp = r4.range(0.5, 2.5), ph = r4.range(0, 6);
|
|
702
|
+
tc.strokeStyle = dark ? `rgba(50,28,10,${r4.range(0.12, 0.35)})` : `rgba(210,160,100,${r4.range(0.06, 0.16)})`; tc.lineWidth = r4.range(0.6, 2);
|
|
703
|
+
tc.beginPath(); for (let x = 0; x <= TW; x += 20) { const y = o + Math.sin(x * fq + ph) * amp + nz.n2(x * 0.004, i) * 2; x ? tc.lineTo(x, y) : tc.moveTo(x, y); } tc.stroke();
|
|
704
|
+
}
|
|
705
|
+
tc.fillStyle = 'rgba(255,230,190,0.28)'; tc.fillRect(0, 31, TW, 1.5); // front lip highlight
|
|
706
|
+
const dg = tc.createLinearGradient(0, 0, 0, 30); dg.addColorStop(0, 'rgba(235,235,225,0.34)'); dg.addColorStop(1, 'rgba(235,235,225,0.07)');
|
|
707
|
+
tc.fillStyle = dg; tc.fillRect(0, 0, TW, 30);
|
|
708
|
+
for (let i = 0; i < 26; i++) { const x = r4.range(0, TW), g3 = tc.createRadialGradient(x, 15, 2, x, 15, 70); g3.addColorStop(0, 'rgba(240,240,230,0.22)'); g3.addColorStop(1, 'rgba(240,240,230,0)'); tc.fillStyle = g3; tc.fillRect(x - 70, 0, 140, 30); }
|
|
709
|
+
for (let i = 0; i < 5000; i++) { tc.fillStyle = `rgba(245,245,238,${r4.range(0.1, 0.5)})`; tc.fillRect(r4.range(0, TW), Math.pow(r4(), 1.6) * 28, r4.range(0.8, 2.2), r4.range(0.8, 1.6)); }
|
|
710
|
+
XC.tray = tr;
|
|
711
|
+
}
|
|
712
|
+
ctx.drawImage(XC.tray, -300, ty);
|
|
713
|
+
[[2300, 90, [242, 242, 236], -0.03], [2480, 46, [246, 220, 110], 0.05], [3400, 60, [242, 150, 172], -0.02], [3560, 40, [150, 205, 238], 0.08]].forEach(([x, len, col, rot]) => {
|
|
714
|
+
ctx.save(); ctx.translate(x, ty + 11); ctx.rotate(rot);
|
|
715
|
+
ctx.fillStyle = 'rgba(30,15,5,0.35)'; ctx.beginPath(); ctx.ellipse(len / 2 + 3, 8, len / 2 + 2, 4, 0, 0, 7); ctx.fill();
|
|
716
|
+
const g2 = ctx.createLinearGradient(0, -8, 0, 8); g2.addColorStop(0, H.rgba(H.mix(col, '#ffffff', 0.5))); g2.addColorStop(0.4, H.rgba(col)); g2.addColorStop(1, H.rgba(H.mix(col, '#000000', 0.35)));
|
|
717
|
+
ctx.fillStyle = g2; ctx.beginPath(); ctx.roundRect(0, -8, len, 16, 7); ctx.fill();
|
|
718
|
+
ctx.fillStyle = H.rgba(H.mix(col, '#ffffff', 0.3)); ctx.beginPath(); ctx.ellipse(len - 2, 0, 3, 8, 0, 0, 7); ctx.fill();
|
|
719
|
+
ctx.restore();
|
|
720
|
+
});
|
|
721
|
+
ctx.restore();
|
|
722
|
+
|
|
723
|
+
// ---------- air dust + chalk stick ----------
|
|
724
|
+
const rr = H.rng(90);
|
|
725
|
+
for (let i = 0; i < 60; i++) {
|
|
726
|
+
const x0 = rr.range(0, W), sp = rr.range(8, 22), ph = rr.range(0, 800);
|
|
727
|
+
const y = ((ph + t * sp) % 760) - 20, x = x0 + Math.sin(t * 0.8 + i) * 8;
|
|
728
|
+
ctx.fillStyle = `rgba(240,244,236,${rr.range(0.1, 0.3)})`; ctx.beginPath(); ctx.arc(x, y, rr.range(0.6, 1.4), 0, 7); ctx.fill();
|
|
729
|
+
}
|
|
730
|
+
H.vignette(ctx, W, H_, 0.35, '0,8,4');
|
|
731
|
+
const tp = XE.tipOf(items, t, measure);
|
|
732
|
+
if (tp) {
|
|
733
|
+
const [tx, ty2] = toS(tp), ang = 0.8;
|
|
734
|
+
for (let i = 0; i < 22; i++) {
|
|
735
|
+
const r3 = H.rng(Math.floor(t * 30) * 100 + i);
|
|
736
|
+
ctx.fillStyle = `rgba(240,244,236,${r3.range(0.15, 0.5)})`;
|
|
737
|
+
ctx.fillRect(tx + r3.range(-12, 12), ty2 + r3.range(0, 30), r3.range(0.8, 2), r3.range(0.8, 2));
|
|
738
|
+
}
|
|
739
|
+
ctx.save();
|
|
740
|
+
ctx.save(); ctx.filter = 'blur(6px)'; ctx.fillStyle = 'rgba(0,10,5,0.4)'; ctx.translate(tx + 16, ty2 + 20); ctx.rotate(ang); ctx.fillRect(4, -7, 80, 14); ctx.restore();
|
|
741
|
+
ctx.translate(tx, ty2); ctx.rotate(ang);
|
|
742
|
+
const g2 = ctx.createLinearGradient(0, -8, 0, 8); g2.addColorStop(0, '#ffffff'); g2.addColorStop(0.45, '#ecece4'); g2.addColorStop(1, '#a9aaa2');
|
|
743
|
+
ctx.fillStyle = g2; ctx.beginPath(); ctx.moveTo(0, -5); ctx.lineTo(6, -8); ctx.lineTo(86, -8); ctx.lineTo(86, 8); ctx.lineTo(6, 8); ctx.lineTo(0, 4); ctx.closePath(); ctx.fill();
|
|
744
|
+
ctx.restore();
|
|
745
|
+
}
|
|
746
|
+
H.grain(ctx, W, H_, 0.03, 5 + (Math.floor(t * 12) % 4));
|
|
747
|
+
},
|
|
748
|
+
// <<<EXPLAINER
|
|
749
|
+
// Sound: a chalk stick on a slate in a quiet classroom. Every draw-on is a dry, papery chalk drag of the same length
|
|
750
|
+
// with a dull knock where the stick meets the board (the slate's low body, a touch of room); dots and re-chalked
|
|
751
|
+
// numbers are chalk taps; the hard strokes (underline, red X, rings) shed a soft fall of dust. The "repeat x1000"
|
|
752
|
+
// leader carries the camera along the board to the chart. Times mirror explainer()/XE.story (pT 10.95, kT 13.05,
|
|
753
|
+
// bridge 10.15-10.6, model timings from explainer()).
|
|
754
|
+
explainerSound(k) {
|
|
755
|
+
const pT = 10.95, kT = 13.05;
|
|
756
|
+
// first time XE.eio(win(t, t0, t1)) reaches u (the knob needles' eased turn)
|
|
757
|
+
const when = (t0, t1, u) => { for (let i = 0; i <= 400; i++) if (XE.eio(i / 400) >= u - 1e-6) return t0 + (t1 - t0) * i / 400; return t1; };
|
|
758
|
+
// the stick meets the slate: a dull knock with a little classroom air
|
|
759
|
+
const knock = (t, g = 1, pan = 0, minor = true) => {
|
|
760
|
+
k.tone(t, { f: [[0, 150], [0.05, 90]], dur: 0.07, gain: 0.1 * g, pan, minor, verb: 0.12 });
|
|
761
|
+
k.noise(t, { dur: 0.025, filter: 'bandpass', f: 900, q: 1.2, gain: 0.15 * g, a: 0.001, pan, minor, verb: 0.12 });
|
|
762
|
+
};
|
|
763
|
+
// one chalk line: knock, then the drag for the whole draw-on
|
|
764
|
+
const LV = 0.45; // drawing sits well under the hits
|
|
765
|
+
const ch = (a, b, g = 1, pan = 0, minor = true) => {
|
|
766
|
+
const d = Math.max(0.03, b - a); g *= LV;
|
|
767
|
+
knock(a, g, pan, minor);
|
|
768
|
+
k.play('stroke', a, { material: 'chalk', dur: d, gain: 0.95 * g, pan, minor });
|
|
769
|
+
};
|
|
770
|
+
// handwriting: one chalk stroke per word, timed by character position like the explainer's per-letter reveal
|
|
771
|
+
const write = (s, a, b, g = 0.9, pan = 0, minor = true) => {
|
|
772
|
+
const n = s.length, re = /\S+/g; let m;
|
|
773
|
+
while ((m = re.exec(s))) ch(a + (b - a) * m.index / n, a + (b - a) * (m.index + m[0].length) / n, g, pan, minor);
|
|
774
|
+
};
|
|
775
|
+
const tap = (t, g = 1, pan = 0) => { k.noise(t, { dur: 0.02, filter: 'bandpass', f: 1500, q: 1.4, gain: 0.25 * g, a: 0.001, pan, minor: true }); k.tone(t, { f: 180, dur: 0.035, gain: 0.07 * g, pan, minor: true }); };
|
|
776
|
+
// chalk dust drifting off the board after a hard stroke (soft, slow, low)
|
|
777
|
+
const dust = (t, g = 1, pan = 0) => k.noise(t, { dur: 0.45, color: 'pink', filter: 'bandpass', f: 1400, q: 0.5, gain: 0.05 * g, a: 0.12, pan, minor: true });
|
|
778
|
+
|
|
779
|
+
k.bed('room', 0, 15, { gain: 0.6 });
|
|
780
|
+
|
|
781
|
+
// 1 HOOK
|
|
782
|
+
write('How does AI learn?', 0.15, 1.3, 1.0);
|
|
783
|
+
ch(1.3, 1.55, 1.3, 0, false); dust(1.5, 1); // yellow underline: one fast, hard swipe
|
|
784
|
+
|
|
785
|
+
// 2 DATA: the f(x) machine (box, hopper, f(x), knobs), then six cards
|
|
786
|
+
ch(2.5, 2.85, 1.05, 0.1, false); // machine box: first mark in the new scene
|
|
787
|
+
ch(2.85, 3.0, 0.8, 0.1); // hopper
|
|
788
|
+
for (let i = 0; i < 6; i++) { const a = 3.0 + i * 0.17; ch(a, a + (i < 5 ? 0.15 : 0.21), 0.85, (i % 3 - 1) * 0.15); }
|
|
789
|
+
write('f(x)', 3.05, 3.2, 0.55, 0.1); // yellow f(x) inside the box, under the first cards
|
|
790
|
+
ch(4.15, 4.45, 1.0); ch(4.46, 4.55, 0.85); // flow arrow + head
|
|
791
|
+
write('examples', 4.55, 4.8, 0.35);
|
|
792
|
+
for (let f = 55; f < 63; f++) k.play('count', f / 12, { gain: 1.5, f: 1900 + (f - 55) * 90, minor: true }); // numerals re-chalked on the 12 fps grid
|
|
793
|
+
k.play('tock', 63 / 12, { f: 420, gain: 0.5 }); knock(63 / 12, 0.8, 0, false); // 1,000,000 lands
|
|
794
|
+
|
|
795
|
+
// 3 GUESS -> CHECK -> ADJUST
|
|
796
|
+
ch(6.4, 6.53, 0.9); // pink frame of the new photo
|
|
797
|
+
ch(6.55, 6.7, 0.85); tap(6.7, 0.9); // cat + eyes tapped on
|
|
798
|
+
write('new!', 6.67, 6.8, 0.6, 0.2);
|
|
799
|
+
ch(6.8, 6.94, 0.9); ch(6.96, 7.02, 0.8); // arrow down into the model
|
|
800
|
+
ch(7.02, 7.15, 0.9); // guess arrow out
|
|
801
|
+
write('Guess', 7.15, 7.4, 0.6);
|
|
802
|
+
ch(7.3, 7.47, 0.85); ch(7.48, 7.53, 0.75); // speech bubble + tail
|
|
803
|
+
write('dog?', 7.54, 7.75, 1.0);
|
|
804
|
+
write('Check', 7.86, 8.0, 0.6);
|
|
805
|
+
// the wrong guess: two hard pink slashes (knock hard into the slate) + a low "nope"
|
|
806
|
+
ch(8.0, 8.08, 1.8, 0.1, false); ch(8.08, 8.16, 1.8, 0.1, false); dust(8.12, 1.4, 0.1);
|
|
807
|
+
k.play('error', 8.0, { f: 'F3', gain: 0.55 });
|
|
808
|
+
ch(8.16, 8.45, 1.1, 0); // pink ring
|
|
809
|
+
ch(8.45, 8.8, 1.0, -0.1); // long arrow back to the knobs
|
|
810
|
+
write('Adjust', 8.8, 9.05, 0.6, -0.1);
|
|
811
|
+
// knob needles swing (eio 8.95..9.5): a soft wooden detent every 1/7 of the turn, slowing as they settle
|
|
812
|
+
for (let j = 1; j <= 7; j++) k.play('tock', when(8.95, 9.5, j / 7), { f: 640, gain: 0.3, pan: -0.15, minor: true });
|
|
813
|
+
ch(9.5, 9.62, 1.1); // strike through "dog?"
|
|
814
|
+
write('cat', 9.62, 9.85, 1.0);
|
|
815
|
+
ch(9.85, 10.05, 1.15, 0, false); // check mark
|
|
816
|
+
k.play('success', 9.98, { f: 'A5', gain: 0.6 });
|
|
817
|
+
|
|
818
|
+
// bridge: the "repeat x1000" leader is chalked as the camera tracks along the board to the chart
|
|
819
|
+
ch(10.15, 10.6, 1.5, 0.2, false); ch(10.6, 10.66, 1.0, 0.25);
|
|
820
|
+
write('repeat x1000', 10.66, 10.9, 0.7, 0.3);
|
|
821
|
+
|
|
822
|
+
// 4 PROGRESS
|
|
823
|
+
ch(pT, pT + 0.3, 1.0, 0, false); // axes
|
|
824
|
+
write('training rounds', pT + 0.3, pT + 0.55, 0.5);
|
|
825
|
+
write('accuracy', pT + 0.45, pT + 0.7, 0.55, 0.3);
|
|
826
|
+
ch(pT + 0.7, pT + 1.7, 0.45); // the rising curve
|
|
827
|
+
{ // % counter: a chalk tap whenever the shown number changes (12 fps grid), slowing as it settles
|
|
828
|
+
// the 97% turns green when the count settles (first frame where win(...) reaches 1): that frame gets the hit
|
|
829
|
+
const fG = Math.ceil((pT + 1.7) * 12 - 1e-6), tG = fG / 12;
|
|
830
|
+
let last = -1;
|
|
831
|
+
for (let f = Math.ceil((pT + 0.6) * 12); f < fG; f++) {
|
|
832
|
+
const u = Math.min(1, (f / 12 - (pT + 0.6)) / 1.1), v = Math.round(61 + 36 * (1 - Math.pow(1 - u, 2.2)));
|
|
833
|
+
if (v !== last) { k.play('tick', f / 12, { gain: 1.1, f: 1900 + (v - 61) * 20, pan: 0.25, minor: true }); last = v; }
|
|
834
|
+
}
|
|
835
|
+
k.play('impact', tG, { gain: 1.0, pan: 0.2 });
|
|
836
|
+
k.play('ding', tG + 0.01, { f: 'D6', gain: 0.42, pan: 0.2 });
|
|
837
|
+
}
|
|
838
|
+
ch(pT + 1.75, pT + 2.05, 1.25, 0.25, false); dust(pT + 2.0, 1.2, 0.25); // pink ring round the 97%
|
|
839
|
+
|
|
840
|
+
// 5 TAKEAWAY
|
|
841
|
+
write('More examples → better guesses', kT, kT + 0.75, 0.9);
|
|
842
|
+
k.play('success', kT + 0.75, { f: 'G5', gain: 0.7 }); // resolving landing
|
|
843
|
+
ch(kT + 0.75, kT + 0.95, 1.2, 0, false); dust(kT + 0.9, 1);
|
|
844
|
+
},
|
|
845
|
+
});
|
|
846
|
+
}
|