Logo Hand Drawn Film

Hand Drawn Film

Cộng đồng
anzal1
hand-drawn-film

Tạo phim ngắn vẽ tay bằng JavaScript và Canvas 2D (bút chì, mực, risograph, in lụa, nét vẽ nguệch ngoạc bằng bút lông trên ảnh, hoạt hình cát, giấy bật mở) và xuất MP4 kèm nhạc nền tổng hợp. Bản vẽ toàn thân được tạo dưới dạng dữ liệu đường dẫn SVG, bảng phơi sáng, hiệu ứng nét vẽ hiện dần, khung hình giữ rung và quy trình xem lại (lớp ảnh chồng, báo cáo chuyển động) giúp bạn đánh giá hoạt ảnh mà không cần xem trực tiếp. Dùng để tạo phim hoạt hình vẽ tay, video giải thích dạng hoạt hình, đoạn mở đầu phong cách phác họa, rotoscope, chuyện kể bằng cát hoặc hình vẽ tương tác với ảnh. Không dùng cho hoạt ảnh UI hoặc bộ slide.

Add to TypingMind

Tổng quan

Nhà phát hànhanzal1
Kho mãhand-drawn-film
Tên kỹ nănghand-drawn-film
Sao
3
Bản fork
0
Tệp đi kèm
77
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 77 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được anzal1 công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Hand Drawn Film trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/anzal1/hand-drawn-film/tree/main
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/anzal1/hand-drawn-film.git \
  .claude/skills/hand-drawn-film
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Hand Drawn Film trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Hand Drawn Film ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Hand Drawn Film với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

và 17 tệp khác.

Câu hỏi thường gặp

Kỹ năng AI Hand Drawn Film làm được gì?

Tạo phim ngắn vẽ tay bằng JavaScript và Canvas 2D (bút chì, mực, risograph, in lụa, nét vẽ nguệch ngoạc bằng bút lông trên ảnh, hoạt hình cát, giấy bật mở) và xuất MP4 kèm nhạc nền tổng hợp. Bản vẽ toàn thân được tạo dưới dạng dữ liệu đường dẫn SVG, bảng phơi sáng, hiệu ứng nét vẽ hiện dần, khung hình giữ rung và quy trình xem lại (lớp ảnh chồng, báo cáo chuyển động) giúp bạn đánh giá hoạt ảnh mà không cần xem trực tiếp. Dùng để tạo phim hoạt hình vẽ tay, video giải thích dạng hoạt hình, đoạn mở đầu phong cách phác họa, rotoscope, chuyện kể bằng cát hoặc hình vẽ tương tác với ảnh. Không dùn...

Vì sao nên dùng Hand Drawn Film trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Hand Drawn Film là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Hand Drawn Film trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/anzal1/hand-drawn-film/tree/main. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Hand Drawn Film?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Hand Drawn Film với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Hand Drawn Film với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Hand Drawn Film có miễn phí không?

Có. Kỹ năng này được anzal1 phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇