Hand Drawn Filmのロゴ

Hand Drawn Film

コミュニティ
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.

概要

公開者anzal1
リポジトリhand-drawn-film
スキル名hand-drawn-film
スター
3
フォーク
0
同梱ファイル
77
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 77個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    anzal1がGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Hand Drawn Film」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/anzal1/hand-drawn-film/tree/main
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/anzal1/hand-drawn-film.git \
  .claude/skills/hand-drawn-film
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでHand Drawn Filmを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にHand Drawn Filmを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Hand Drawn Filmは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

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.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

ほかに17個のファイルがあります。

よくある質問

AIスキル「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.

TypingMindでHand Drawn Filmを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Hand Drawn Filmはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにHand Drawn Filmをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/anzal1/hand-drawn-film/tree/mainを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Hand Drawn Filmを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Hand Drawn Filmで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもHand Drawn Filmを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Hand Drawn Film」は無料ですか?

はい。anzal1がMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇