Logotipo de Hand Drawn Film

Hand Drawn Film

Comunidad
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.

Descripción general

Editoranzal1
Repositoriohand-drawn-film
Nombre de la habilidadhand-drawn-film
Estrellas
3
Forks
0
Archivos incluidos
77
LicenciaMIT
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando la petición encaja con la habilidad.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Archivos incluidos: 77

    Scripts, plantillas y referencias que el modelo puede leer mientras trabaja. Los archivos son de solo lectura y nunca se ejecutan.

  • Código abierto

    Publicada por anzal1 en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Hand Drawn Film en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/anzal1/hand-drawn-film/tree/main
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/anzal1/hand-drawn-film.git \
  .claude/skills/hand-drawn-film
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Hand Drawn Film en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición encaja con la habilidad, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Hand Drawn Film automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Hand Drawn Film no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición que encaja con la habilidad, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu 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.

Archivos incluidos

El modelo los lee según los necesita mientras la habilidad está cargada. Son archivos de solo lectura y nunca se ejecutan.

y 17 más.

Preguntas frecuentes

¿Qué hace la habilidad de IA 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.

¿Por qué usar Hand Drawn Film en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Hand Drawn Film está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Hand Drawn Film en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/anzal1/hand-drawn-film/tree/main. TypingMind lee el archivo SKILL.md de esa carpeta, empaqueta los archivos de la carpeta e instala el conjunto como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Hand Drawn Film?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Hand Drawn Film?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Hand Drawn Film con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Hand Drawn Film?

Sí. anzal1 la ha publicado en GitHub bajo la licencia MIT. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver el directorio

Crea ya tu propio espacio de trabajo con IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇