İçeriğe geç
Kurulum

handdrawn-promo-video

Hand-drawn promo video (code-only)

Canvas2D ve ffmpeg ile el çizimi tarzında tanıtım videosu kodlar.

HamaratLabsMITv1.0.0

KURULUM

hermes skills install well-known:https://skills.hamaratlabs.com/.well-known/skills/handdrawn-promo-video

Ham dosyaSKILL.md önizlemesi

2 GERÇEK ÖRNEK

Ne istendi, ne çıktı

NE İSTENDİ · 19 EKİM 2026

videogen › YouTube Lab 'İşte Buldum' serisi 1. bölüm: telefonun mucidi (Bell/Meucci) konulu el çizimi dikey video.

NE ÇIKTI · 1 DOSYA

1080x1920, 30 fps dikey bölüm videosu ve Telegram sürümü üretildi; ölçümler raporlandı.

NE İSTENDİ · 10 KASIM 2026

videogen › Fibi tanıtım videoları için aşama 1: skill analizi, senaryo, ses örneği ve stil kareleri.

NE ÇIKTI · 2 DOSYA

İki yön (A, B) için stil kareleri ve senaryo hazırlandı.

KAYNAK VE LİSANS

Tür
HamaratLabs yazdı
Yazan
HamaratLabs
Lisans
MIT
Ham dosya
SKILL.md

DEĞERLENDİRME

  • 2ajan profilinde kullanıldı
  • 7kayıtlı yükleme
  • 2belgelenmiş örnek3 çıktı dosyası

Sayılar ajan kayıtlarından gelir. Puanlama henüz yok.

SÜRÜM

Sürüm
v1.0.0
Siteye ilk yayın
1 Aralık 2026
Oluşturma
28 Eylül 2026
Son kullanım
10 Kasım 2026
Paket
1 dosya · SKILL.md 90 satır

YORUMLAR

Yorumlar yakında

Bu skill hakkındaki yorumlar ve puanlar burada görünecek. Bölüm henüz açılmadı.

SKILL.MDÖnizleme90 SATIR

AJAN AÇIKLAMASI Use when coding a hand-drawn promo video. Canvas2D + ffmpeg.

Hand-drawn promo video (code-only)

Produce a short promo/explainer video entirely from code - no LLM image models, no stock assets, no licensed audio. Canvas2D "watercolor" look, rendered frame-by-frame in headless Chrome via CDP, encoded with ffmpeg.

Reference implementations

  • Reference layout (from one of our own projects; that project is NOT shipped with this skill, the description below is a guide for building your own): <video-projesi>/ - 9:16 notebook/marker style: src/main.js (rough() wobble lines, strokeP partial-stroke reveal, single-stroke handwritten digits DIG, sticky-note slap, torn calendar pages, marker-pen sprite following the ink tip, world-space stations + zoom-out camera pans), tools/render.mjs (puppeteer-core → PNG pipe → ffmpeg, no frames on disk, --cues dumps window.CUES), tools/build_audio.py (numpy paper/pen SFX + Karplus-Strong guitar driven by the same cue list). ~140 ms/frame.
  • Handwriting fonts with Turkish glyphs: Caveat (variable 400–700) + Patrick Hand from google/fonts raw GitHub (OFL).

Scaffold a new project

cd <projeler-dizini>
mkdir -p NEW/src/ch NEW/out
cp <referans-proje>/{render.mjs,studio.html,package.json} NEW/
cp <referans-proje>/src/{core.js,main.js,props.js} NEW/src/
cd NEW && npm install          # only dep is `ws`

Then: rewrite TT.PAL in core.js (brand colors), write src/timeline.json, write scenes in src/ch/, list them as <script> tags in studio.html, change the output filename + audio expression in render.mjs's encode().

No p5/p5.brush/puppeteer needed - core.js has a "soft" Canvas2D watercolor engine and render.mjs drives Chrome over raw DevTools Protocol. Renders ~100 ms/frame at 1080p.

Getting brand identity right

If the product site is down (Vercel "Deployment Paused" etc.), pull details from the App Store / Google Play listing - full feature copy, screenshots, developer info. Load the app icon with vision_analyze and derive the palette from it.

The non-negotiable scene rule

Every scene is TT.scene('id', (u, dur, sc) => {...}) and MUST be pure: drawing depends only on u (seconds into the scene). No cross-frame state, no Math.random() - use TT.rand(id, i) or TT.jit(id, i, amp). The renderer draws frames independently and contact sheets jump around in time.

Mandatory loop - never skip the contact sheet

node render.mjs --sheet=0:20:0.55   # after EVERY scene
node render.mjs --still=6.9,11.6    # full-res check of suspect moments
node render.mjs --frames            # all frames
node render.mjs --encode            # → out/<name>.mp4

Inspect out/sheet.png with vision_analyze, then re-check suspect timestamps with --still. Contact-sheet downscaling hides overlaps - a layout that looks fine in the sheet can have text colliding at full resolution. Always full-res-check the busiest frames.

Verify the finished file with ffprobe (duration/codec/size) before reporting success.

Stroke-reveal pitfalls

  • Multi-stroke reveal: when p>=1 draw every stroke at q=1 explicitly. Float residue (tgt -= len) leaves the last stroke at 0.99999 and the "pen follows ink tip" logic shows a phantom pen on finished drawings.
  • Write-on text = clip rect growing left→right + pen at the clip edge; real stroke animation only for shapes/digits.
  • Generate audio cues from the scene file itself (window.CUES) so pen/slap/tear sounds stay frame-locked.
  • Paper texture blotches must be very faint (alpha ≈0.012, ~90 blobs on a 1024 tile); 0.035 reads as dirty grey.

Layout pitfalls found the hard way

  • Character helper: s under ~110 is unreadable at 1080p; use 115–150. Arms extend s*0.78 from the body, so keep the character ≥150 px inside the frame.
  • Eyebrow tilt reads as ANGRY unless the OUTER ends are raised. Inner-ends-up = worried.
  • A thick I.stroke around a triangle rounds the corners into a blob. To draw a sharp geometric logo: thin outline stroke + I.fill(pts, color, {smooth: false}).
  • Keep left text column and right UI column ≥120 px apart; size the P.streak highlight narrower than the text or it bleeds into the other column.
  • Inside a phone/card UI leave ≥45 px between avatar and name text.
  • Never leave a chip/badge glyph empty - a missing glyph renders as a blank pill.

Audio without licensing risk

Synthesize with ffmpeg aevalsrc: a sustained pad chord plus per-scene accents (between(t,a,b) gates, exp(-k*(t-t0)) decays). A worked 5-scene example lived in the reference project's render.mjs encode() (not shipped; write your own from the pattern above). Chain lowpass,alimiter,afade so accents never clip.

Deliverables

STORYBOARD.md (get user approval before coding), ANIMATION_GUIDE.md, README.md, and the MP4. Note in the README that sample names in the UI are fictional.

PAKETTEKİ DOSYALAR

VİDEO VE SES

İlişkili skill'ler

video-production

p5.js ile tanıtım ve müzik videoları ile dikey Shorts/Reels üretir.

HamaratLabs1 ÖRNEK

video-arka-plan-uretimi

Netleştirme, bulanıklık, süper çözünürlük ve kompozitle video arka planları üretir.

HamaratLabs2 ÖRNEK