hand-drawn-canvas-animation

alesha-pro/tools · Agent Skill

Рисованные мультфильмы в коде: AI-агент рисует тушью, карандашом, ризографией или дудлами на фото и собирает MP4 — без Blender и видеонейросетей.

Перейти к установке ↓

Обзор

Авторalesha-proСообщество
Репозиторийalesha-pro/tools ↗
Папка скиллаhand-drawn-canvas-animation
Звёзды616
Форки66
Файлы57
ЛицензияMIT
Обновлён25 сентября 2026 г.
СсылкиИсходник скилла ↗ · Репозиторий ↗

Проверка Mozgi

Что мы нашли в файлах скилла. Подробности — по подписке.

Безопасность
повышенный риск · обнаружено 3 момента, требующих внимания
Совместимость
нужны дополнительные программы
Похожие скиллы
найдено 58 похожих скиллов
Ещё в подписке

Подробно о скилле

Hand-drawn canvas animation учит AI-агента (Claude Code, Codex и других) снимать короткие рисованные мультфильмы прямо в коде — на JavaScript и Canvas 2D. На выходе — HTML-плеер с фильмом и готовый MP4 со звуком. Не нужны Blender, WebGL и видеонейросети: каждый кадр рисуется штрихами, как в настоящей анимации.

Becoming — 60-секундный фильм из примеров: пять стилей рисунка, анимация песком и книжка-раскладушка

Чем он отличается

Обычно AI «анимирует» так: рисует персонажа из кружков и двигает части, как марионетку. Этот скилл работает как аниматор: сначала целые позы-рисунки (ключи и промежуточные фазы), выразительный штрих с нажимом, осознанные паузы и лист экспозиции — сколько кадров держится каждый рисунок. Поэтому движение выглядит нарисованным от руки, а не «прыгающей картинкой».

Главный учебный пример — карандашный этюд: девять ключевых поз, промежуточные фазы и моргание

Пять стилей рисунка

  • Тушь — уверенные мазки кистью, чёрные массы и белые паузы.
  • Ризография — наложение цветных красок, полутон, лёгкий сдвиг совмещения, бумага просвечивает.
  • Шелкография — плотные плоские формы, край трафарета, потёртости краски.
  • Карандаш — тонкий графит, открытые контуры, штриховка по форме.
  • Дудлы на фото — вырезанное фото реального предмета на пастельной бумаге, а вокруг и внутри него рисунки фломастером, которые «рисуют себя» сами.

Любой стиль перекрашивается одной строкой: готовая палитра, палитра с правками, сдвиг оттенка или дуотон. Стили можно смешивать в одном фильме — скилл подсказывает, как связать переходы через сюжет.

Стиль «дудлы на фото»: чайник 1755 года, карманные часы, скрипка Страдивари — открытые фото музея Метрополитен

Три отдельных техники

  • Ротоскоп — движение берётся из реального видео (вашего или архивного) и перерисовывается штрихами.
  • Песочная анимация — кадр как стол с подсветкой: песок сыплют, стирают, сметают и сдувают одним непрерывным дублем.
  • Бумага в пространстве — нарисованные листы встают в 3D-комнате: книжка-раскладушка, перелистывание, свет и тени.
Ротоскоп, песок и объёмная бумага — их можно использовать вместе

Как пользоваться

Попросите агента снять фильм: задайте тему, длину и стиль. Например:

20 секунд, жизнь одного запроса внутри GPU-сервера, стиль ризографии

Агент заполнит бриф, спросит только то, что реально влияет на результат, нарисует персонажей и ключевые позы, соберёт анимацию, прорендерит кадры и отдаст MP4. Музыку и звуки можно синтезировать прямо из таймлайна фильма через Web Audio.

Что нужно для рендера

  • Node.js 22.12+, Google Chrome или Chromium и ffmpeg — для сборки видео. Скрипт сам ничего не скачивает, использует ваш Chrome.
  • Для ротоскопа — Python с numpy scipy scikit-image pillow.
  • Для стиля «дудлы на фото» лучше установить rembg — он аккуратно вырезает предмет с фона.

Что внутри

SKILL.md с порядком работы и чек-листом проверки, движок рисования и таймлайна (core.js, cels.js), скрипт рендера в MP4, 12 готовых фильмов-примеров от 6 до 60 секунд и 14 справочников: стили, палитры, 39 рецептов сцен, движение, ротоскоп, песок, бумага.

Night shift — 31-секундная погоня ночью: свет как персонаж, линии тушью в пятне света и мелом вне его

Для кого

Для анимированных объяснялок, коротких фильмов, заставок и эффектных роликов для соцсетей — когда нужен живой рисованный вид вместо стокового моушн-дизайна. Не подходит для анимации интерфейсов и слайдов.

Автор — alesha-pro, лицензия MIT. Первые четыре стиля воссозданы по фильмам Кевина Нго, покадрово измеренным автором скилла.

Установка

Скилл — это папка с файлом SKILL.md. Выберите своего агента и скопируйте команды в терминал (macOS, Linux или Git Bash на Windows) в корне проекта.

Скопируйте промпт и вставьте в Claude, Codex или другого ассистента: он сам проверит скилл и подключит его.

Установи мне скилл «hand-drawn-canvas-animation» с mozgi.io (https://mozgi.io/skills/hand-drawn-canvas-animation/).

1. Скачай архив: https://mozgi.io/skills/hand-drawn-canvas-animation/download
   Если не скачивается — возьми папку скилла из исходника: https://github.com/alesha-pro/tools/tree/main/skills/hand-drawn-canvas-animation
2. Прочитай SKILL.md и остальные файлы. Проверь, что скилл безопасен: нет скрытых команд, отправки данных наружу или скриптов, которые делают не то, что описано. Если что-то подозрительно — остановись и скажи мне.
3. Положи папку «hand-drawn-canvas-animation» в папку скиллов своего агента: .claude/skills/ для Claude Code, .agents/skills/ для Codex, .cursor/skills/ для Cursor, .gemini/skills/ для Gemini CLI. В проекте — внутри проекта, иначе в домашней папке (~/.claude/skills/ и т. п.).
4. Убедись, что получилось <папка скиллов>/hand-drawn-canvas-animation/SKILL.md.
5. Коротко расскажи, что умеет этот скилл, и предложи попробовать его на моей задаче.

Если какой-то шаг не можешь сделать сам — подскажи, что нажать или ввести.

Файлы скилла

57 файлов Скачать ZIP

Просмотрите SKILL.md и сопутствующие файлы перед установкой. Клик по файлу — предпросмотр.

Содержимое SKILL.md

Оригинальный текст автора · только чтение

Hand-drawn canvas animation

Produce a film that feels drawn by hand in both its marks and its movement.

For character animation, default to whole-pose drawings, expressive strokes and

intentional exposure. Design the keys and breakdowns before any rig or texture.

A rig may guide construction and contacts; the final drawing must carry the pose.

Canvas 2D is the renderer; SVG path data may be used for authored shapes. No

Blender or video model is needed. WebGL is not a dependency. Deliver an HTML

film with its local modules and an offline MP4. Length and format follow the

brief; a short, finished action is the starting point for a longer film.

Choose the right references

  • Read style.md ↗ for the five looks and their quality gates.
  • For a film combining looks or techniques, read

mixed-media.md ↗. Plan why the material changes and

what carries through the transition before drawing separate style samples.

stroke-led character workflow, whole cels, assisted inbetweens and exposure sheets.

contact IK and materials for optional deformation and construction helpers.

found-motion.md ↗ for traced movement;

sand.md ↗ or paper3d.md ↗ for those media.

reference-films.md ↗ contain optional palettes,

scene devices and historical references. They are not mandatory film structures.

Workflow

1. Fill brief-template.md ↗. Infer routine choices;

ask only for missing decisions that materially affect the result. Specify the

intended material and acting reference separately. Pick a primary aspect ratio;

alternate formats need composition review, not just a different canvas size.

2. Create one project folder. Copy assets/core.js, assets/studio.js,

assets/cels.js, optional assets/materials.js, scripts/render.mjs and

scripts/package.json into it. For characters, study

examples/sketchbook-bird.html and build an original cast with whole drawings.

Its example imports use ../assets/; change these to local module paths in a

standalone project. assets/film-template.html is a legacy rig demonstration,

useful for runtime wiring, not the default visual model. Install the local

renderer dependencies with npm i --no-audit --no-fund; system Chrome and ffmpeg

are required. Keep reusable engine edits in the skill, not in film copies.

3. Establish the drawing: silhouette, proportions, expressions, necessary views,

line hierarchy, recognizable stroke gestures and a few material samples. Render at delivery size and at

240 px. A material cannot rescue an unclear pose. Use designed curves and

replacement drawings where simple primitives fail.

4. Plan the keys and breakdowns of the hardest action. Mark contacts, gaze,

anticipation, weight transfer and reaction. Use enough controls to express it;

there is no fixed part count or parameter limit. Build a finite exposure sheet

of whole drawings. Use geometric inbetweens only for corresponding forms;

redraw changed overlaps, head angles, compressed silhouettes and expressions.

Establish timing without decorative textures first. Do not add springs to rigid or motor-driven motion.

5. Finish one representative production shot before building the whole film.

Evaluate normal-speed playback, consecutive-frame strips and stills. Correct

anatomy, spacing, contacts and line stability before adding more scenes.

6. Build the remaining shots using a beat sheet: start, duration, what the viewer

notices, main action, camera and sound cue. Cuts, transitions, blueprint views,

montages, anchors and sign-offs are artistic choices. Give each action time to

read. When mixing materials, carry the character's action, position or a

physical object across the change. A palette swap alone does not establish

a new style; several impressive but disconnected shots do not establish a story.

7. Render and inspect. Start with --grid 24, then use --strip 48,12 around

a fast action or contact, and --only 48 for full-size detail. Run the full

renderer for the MP4 and generated score. A contact sheet alone cannot pass

motion QA. If playback is unavailable, explicitly report that limitation.

8. Deliver the source, dependencies/assets, MP4, contact sheet and the remaining

known limitations. Verify duration, dimensions, frame count and successful

decode. Never call a film studio-quality solely because its code or checklist

passed; assess the actual result against the chosen visual reference.

Production invariants

  • defineFilm defaults to 24 fps. A scene receives continuous tau; i

remains the legacy 12 Hz index for pulse, boil and older clips. Use exposure

tracks per action. Ones, twos, threes and held drawings are all valid.

  • Separate camera timing, drawing exposure and root motion. Check their combined

screen-space motion, especially in a tracking shot. Avoid quantizing twice.

  • Randomness is seeded. Make strokes once per drawing, with stable semantic ids.

A held drawing holds its marks too. Seed changes belong to a new drawing, not

every output frame. In a deformation workflow, use stable rest-space marks. Specify

whether a texture belongs to the paper, an object or the screen. A fixed seed

does not prevent swimming if sampling positions or topology change.

  • Each frame must reproduce after seeking in the same pinned runtime. Sand uses

fixed-step simulation and bounded checkpoints. Font and browser differences

can change pixels between machines; provide fonts or use path lettering when

reproducibility matters. Allow fonts and photos to load before export.

  • Preserve physical contacts until their planned release. IK clamps unreachable

targets; check the returned error and fix the pose rather than stretching bones.

  • Record sources/licences for external media. Use only assets permitted for the

intended delivery. Optional SVG is path geometry, not automatic rigging.

Quality gates

Drawing: clear silhouette; consistent proportions across views; controlled

outer/inner line weights; purposeful pressure, taper and gaps; no accidental

tangencies or broken joints. Avoid assembled oval limbs with a texture laid over

them. Clean curves and aligned fills remain valid for the selected medium, but

the default sketch should retain visible drawing gestures. Wobble,

misregistration and boil require a purpose.

Motion: whole poses that feel redrawn, meaningful keys, readable breakdowns, deliberate spacing, convincing

weight and planted contacts. Inspect overshoot, camera tracking, topology changes

and fast movement at normal speed and frame by frame. Use a designed smear when

needed; legacy smear() makes a ghost trail, not a new drawing.

Material: ink hatching follows form; graphite respects pressure and tone;

riso plates register coherently; screen ink may be solid; doodles interact with

the photo. Avoid excessive grain, changing raster phase and unintended shimmer.

For mixed-media work, inspect the transitions as actions, not only a style board.

If weather drives the scene, its force should affect both setting and character.

If paper unfolds, show a compact starting state, the hinges and an attached base.

Delivery: no page errors, accidental blank frames, clipped action, stale

frames or unfinished final lettering. If a closing card is requested, let it

finish and hold long enough to read. Check the encoded video, not only PNGs.

Working examples and commands

examples/becoming-phoenix/phoenix.html ↗

is a complete 60-second film with original music. It combines all five looks,

sand and paper projection through one story. Study inkScene for a moving

storm, ensurePrintedPage for an actual print becoming a page, and

unfoldPhoenix for staggered wing and tail opening. Its branding is specific

to the example. Use the techniques that serve the new brief, not its shot list.

examples/sketchbook-bird.html is the primary pencil/ink drawing study: nine

whole-body keys, assisted inbetweens, a replacement blink and an exposure sheet.

examples/weight-study.html is a secondary seven-second contact/weight study rendered in

five looks with --look ink|pencil|riso|screen|doodle. It demonstrates mechanisms,

not the aesthetic target for redrawn characters or proof of feature-film quality. examples/material-studies.html adds sand-displacement and page-curl close-ups. Earlier

examples remain useful for particular scene devices; see their references above.

node scripts/render.mjs examples/sketchbook-bird.html --look pencil --grid 18 --out /tmp/pencil-preview
node scripts/render.mjs examples/sketchbook-bird.html --strip 58,24 --out /tmp/motion-preview
node scripts/render.mjs examples/sketchbook-bird.html --width 1920 --out /tmp/drawn-film
node scripts/verify.mjs

The renderer honours the film's aspect ratio unless --ar is supplied. Each full

render stages its own frames, then replaces that film's outputs after successful

encoding. Old PNGs cannot extend a shorter revision. --grid, --strip and

--only are preview modes and do not replace the full MP4.

For Remotion integration use timebase conversion:

drawFrame(Math.min(__NDRAW - 1, Math.floor(frame * __fps / compositionFps))).

With film and composition both at 24 fps this is simply drawFrame(frame).

Вопросы и ответы

Что делает скилл hand-drawn-canvas-animation?

Рисованные мультфильмы в коде: AI-агент рисует тушью, карандашом, ризографией или дудлами на фото и собирает MP4 — без Blender и видеонейросетей.

Как установить hand-drawn-canvas-animation?

Откройте блок «Установка» на этой странице и выберите своего агента — Claude Code, Codex, Cursor или Gemini CLI: там готовые команды, которые копируют папку скилла в нужное место. Либо скопируйте промпт из вкладки «Через ассистента» — ассистент сам проверит и подключит скилл.

С какими нейросетями работает hand-drawn-canvas-animation?

Скиллы — это обычные инструкции в Markdown (формат Agent Skills), поэтому hand-drawn-canvas-animation подходит любому агенту, который читает SKILL.md: Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode и другие. Модель загружает инструкции только когда задача подходит под описание скилла.

Скилл hand-drawn-canvas-animation бесплатный?

Скилл опубликован автором alesha-pro в открытом доступе под лицензией MIT. Сам скилл ничего не стоит — вы платите только своему провайдеру нейросети за использованные токены.

Безопасно ли устанавливать скиллы?

Скилл — это инструкции, которые агент будет выполнять, поэтому перед установкой прочитайте SKILL.md и сопутствующие файлы. Скрипты из папки скилла запускаются только если их запустит агент — следите за тем, что он делает, и не давайте лишних прав.

Чем скилл отличается от MCP-сервера или плагина?

MCP-сервер и плагин дают модели новые инструменты — код, который выполняется и возвращает результат. Скилл даёт знания и порядок действий: как подходить к задаче, какие шаги делать и как выглядит хороший результат. Ему не нужен сервер или ключ API.

Похожие скиллы

Все скиллы →
review-animations Проверьте качество анимации, тайминг и последовательность движения с точки зрения критического производства. emilkowalski49.9k improve-animations Проведите обзор кодовой базы анимации и кода движения в качестве старшего советника по движению, затем создайте приоритизированный аудит и самодостаточные планы реализации. Только для чтения исходного кода - он планирует улучшения, но не применяет их. Используйте, когда пользователь просит улучшить анимации, провести аудит движения, сделать приложение лучше или хочет дорожную карту исправлений анимации, а не обзор одного диффа. emilkowalski49.9k find-animation-opportunities Найдите возможности для убедительного интерфейса движения, при этом отвергая анимацию, которая добавляет шум или замедляет пользователей. emilkowalski49.9k animate Создайте анимацию с нуля, принимая решения в порядке, определяющем, чувствуется ли она правильно — должно ли оно анимироваться вообще, какова цель, какой инструмент, какие свойства, какая кривая и продолжительность, как оно прерывает, как оно выходит. Напишите реализацию. Используйте, когда просят анимировать что-то, добавить движение, сделать компонент живым или построить переход. Для критики существующего движения используйте review-animations; для аудита всего кода используйте improve-animations. emilkowalski49.9k animation-vocabulary Уточните язык движения, чтобы выборы анимации казались намеренными и последовательными. emilkowalski49.9k apple-design Подход Apple к проектированию интерфейса и плавному физическому движению, переведенный для веба, использовать при построении или проверке жестового интерфейса пользователя, анимаций пружин, взаимодействий перетаскивания/проведения/листа, импульса и прерываемых переходов, полупрозрачных материалов и глубины, типографики (оптического размера, отслеживания, интервала), уменьшенного движения или основополагающих принципов дизайна (отклика, пространственной последовательности, сдержанности) за интерфейсами в стиле Apple. emilkowalski49.9k