Logo de Hand Drawn Film

Hand Drawn Film

Comunidade
anzal1
hand-drawn-film

Make short hand-drawn films in JavaScript and Canvas 2D (pencil, ink, risograph, screen print, brush-pen doodles on photos, sand animation, pop-up paper) and export an MP4 with a synthesized score. Whole-pose drawings authored as SVG path data, exposure sheets, draw-on reveals, boiling holds, and a review loop (onion skins, motion report) that lets you judge animation without watching it. Use for hand-drawn cartoons, animated explainers, sketch-style intros, rotoscope, sand stories or drawings that interact with photos. Not for UI animation or slide decks.

Visão geral

Publicado poranzal1
Repositóriohand-drawn-film
Nome da habilidadehand-drawn-film
Estrelas
3
Forks
0
Arquivos incluídos
77
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Arquivos incluídos: 77

    Scripts, templates e referências que o modelo pode ler enquanto trabalha. Os arquivos são somente para leitura e nunca são executados.

  • Código aberto

    Publicada por anzal1 no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Hand Drawn Film no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/anzal1/hand-drawn-film/tree/main
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/anzal1/hand-drawn-film.git \
  .claude/skills/hand-drawn-film
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Hand Drawn Film em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Hand Drawn Film automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Hand Drawn Film não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

Hand-drawn film

You are making a film that must feel drawn by hand in its marks and its movement. You cannot watch playback, so this skill gives you instruments that turn motion into stills and numbers. Use them after every change. The loop is the method:

draw keys -> render one still -> build the exposure sheet -> onion / strip the hard action
-> review.mjs -> fix -> full render -> review.mjs on the final -> deliver with limitations

1. Start a project (1 minute)

bash
node <skill>/scripts/new.mjs ~/films/my-film --ar 16:9 --look pencil --title "My film"
cd ~/films/my-film && npm i --no-audit --no-fund
node render.mjs film.html --grid 24

film.html is a complete, working starter (a ball hops onto a box) with the canonical structure: drawings, one exposure sheet, the shot, a score whose cues read the sheet. Keep the structure, replace the drawings. Fill brief.md first; infer routine choices, ask the user only about decisions that change the film (subject, length, look, format, ending). Needs Node 22+, Chrome, ffmpeg. For looks other than pencil/ink, or photos, sand and paper, start from the matching example in examples/ (table below) and copy its modules locally.

2. Draw (the part that decides quality)

Author each key pose as a whole drawing in SVG path data with svgCel (see redrawn-animation.md and sketch.md).

  • Same stroke names in every key; start each stroke at the same landmark; pass points: N so inbetweenCel matches strokes by arc length. A new view, a closed eye or a changed overlap is a replacement drawing (put), never a morph.
  • Give closed forms fill: 'paper' so a front shape hides the lines behind it. Stroke order is painter's order: background first, near limbs last. Add an invisible silhouette (opacity: 0, fill: 'paper') first when a body is built from open strokes.
  • Line weight: pencil weight 1.8-2.2, value 1.3; ink weight 1.1-1.3. Weight is judged at thumbnail size, not full size. Target ink contrast 110+ in the review table.
  • Render each key alone (?pose= pattern in examples/cat-and-mug.html) and look at them side by side before animating. A texture never rescues an unclear silhouette.
  • Composition: subject in the middle 60% of the frame, horizon or table around 60-65% down, nothing important within 5% of an edge. Frame with cam() rather than moving every drawing.
  • Call setFormat() before any file-scope constant reads W, H, CX, CY. defineFilm() runs last; without this the film is laid out on the 1:1 default (the starter shows the pattern).

3. Animate (exposure sheet)

Use sheetBuilder({library: RAW}): key, between(a, b, spacing(n, kind), frames), hold (optionally {boil: 3, every: 4}), put for replacements, mark('name') for cues. Numbers that work at 24 fps are in craft.md. The short version:

  • Moves on twos; fast actions (a swipe, a hit, a fall) on ones; holds 8-24 frames, boiling on fours with keep for eyes and contacts. Never boil on ones.
  • Spacing is the acting: slowInOut for most moves, slowIn into a landing or a look, slowOut out of a crouch into a throw or fall, even only for machines and ballistics along the horizontal.
  • Anticipation 4-8 frames before any fast action; a settle after it. Give the viewer about one second to read a new idea before the next one starts.
  • Props with physics (a falling mug) use formulas on continuous time, not keys. Cue sound from marks (film.time('contact')) so it cannot drift.

4. Look at the motion (every iteration)

bash
node render.mjs film.html --grid 24          # composition across the film (faithful thumbnails)
node render.mjs film.html --onion 96,16      # one action overlaid blue->red, with a spacing trail
node render.mjs film.html --strip 96,12      # consecutive frames at readable size
node render.mjs film.html --only 96          # one full-size frame for line detail
node review.mjs film.html                    # motion report: pops, flicker, shimmer, blank,
                                             # frozen, faint lines, pacing, exposure per scene

Read review.md for how to interpret each finding. In an onion, the dots are the ink centroid per frame: evenly spaced dots are even spacing, bunched dots are a slow in or out, a straight chain on a jump means the arc is missing. Fix every warn or state why it is intended; confirm each finding by eye with --strip around the frame. The numbers are measurements, not taste.

5. Deliver

bash
node render.mjs film.html                    # frames, mp4, contact sheet, -final.mp4 with score
node review.mjs film.html                    # on the finished film

Full renders run on parallel browser processes (--jobs N) and are bit-identical to serial renders. Deliver the source folder, the MP4, the contact sheet, the review report and a short list of known limitations. Verify duration, dimensions and frame count (ffprobe). Never call a film finished because code or checks passed; say what you looked at (onions, strips, stills) and that you did not watch it at speed if you could not.

Choose references by task

taskreadstart from
any character in pencil or inkredrawn-animation.md, sketch.md, craft.mdexamples/cat-and-mug.html, examples/sketchbook-bird.html
timing, spacing, contacts, weathermotion.md, craft.mdexamples/weight-study.html
looks: ink, pencil, riso, screen, doodlestyle.md, palettes.mdexamples/four-looks.html
several looks in one filmmixed-media.mdexamples/becoming-phoenix/
drawings on real photosdoodle.mdexamples/held-once.html, examples/night-shift.html
traced real motionfound-motion.mdexamples/gallop.html
sand animationsand.mdexamples/one-year.html
pop-up paper in 3Dpaper3d.mdexamples/moon-book.html
engine APIs, export, pitfallsarchitecture.md, studio.md
reading review outputreview.md

scenes.md and reference-films.md hold optional scene devices and historical references, not required structures.

Invariants

  • 24 fps by default. Scenes get continuous tau; quantize a pose once (twos(t) or an exposure sheet), never twice. Camera and physics usually run on ones.
  • No output-frame seeds. A held drawing holds its marks; a boil is a finite set of drawings. Every frame must reproduce after seeking (render workers depend on it).
  • Contacts stay planted until their planned release; IK clamps and reports unreachable targets.
  • Record sources and licences for external media (photos, fonts).
  • Engine edits belong in the skill's assets/, then get copied to films; do not fork core.js inside one film.

Quality gates

  • Drawing: clear silhouette at 240 px; consistent proportions across keys; line hierarchy (outer contour heavier than interior detail); purposeful taper and gaps; no accidental tangents; front forms hide what is behind them.
  • Motion: readable keys, anticipation and settle where the action needs them, deliberate spacing (check the onion), planted contacts, no pops or two-drawing flicker in the review.
  • Material: texture tied to the paper or object, not the screen; no shimmer unless intended; line contrast 110+ at thumbnail size for line films.
  • Delivery: no page errors, no unintended blank frames, the ending holds 0.5-1.5 s, text and cards stay up long enough to read (about 3 words per second plus one second), the encoded MP4 decodes and has the expected frame count.

node scripts/verify.mjs runs the engine's regression suite (20 checks) after engine edits.

Arquivos incluídos

O modelo lê esses arquivos sob demanda enquanto a habilidade está carregada. Eles são disponibilizados para leitura e nunca são executados.

e mais 17.

Perguntas frequentes

O que a habilidade de IA Hand Drawn Film faz?

Make short hand-drawn films in JavaScript and Canvas 2D (pencil, ink, risograph, screen print, brush-pen doodles on photos, sand animation, pop-up paper) and export an MP4 with a synthesized score. Whole-pose drawings authored as SVG path data, exposure sheets, draw-on reveals, boiling holds, and a review loop (onion skins, motion report) that lets you judge animation without watching it. Use for hand-drawn cartoons, animated explainers, sketch-style intros, rotoscope, sand stories or drawings that interact with photos. Not for UI animation or slide decks.

Por que usar Hand Drawn Film no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Hand Drawn Film é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Hand Drawn Film no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/anzal1/hand-drawn-film/tree/main. O TypingMind lê o arquivo SKILL.md, reúne os arquivos da habilidade e a instala para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Hand Drawn Film?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Hand Drawn Film?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Hand Drawn Film com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Hand Drawn Film é gratuita?

Sim. A habilidade é publicada no GitHub por anzal1 sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇