Back to skills
SKILL.md
Handdrawing Skill
ASecurityGenerate hand-drawn style SVG doodles (arrows, circles, checks, stars, speech bubbles, illustrations, Japanese/English lettering) for web pages. Use when the user wants warm hand-drawn annotations, marker-style emphasis, doodle decorations, or sketch-like visual elements in HTML/SVG output. Includes boil (line-wobble) hover animation and Swiss-design annotation-layer samples.
- 4 stars
- 0 votes
- 0 copies
- 1 view
- Added November 29, 2026
Works with
Security analysis
100/100Pro scans all 13 files and shows the line behind each finding
npx -y skills add harusan-renzyu/handdrawing-skill --skill handdrawing-skill --agent claude-codeAre you the author of Handdrawing Skill?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/harusan-renzyu-handdrawing-skill)---
name: handdrawing-skill
description: Generate hand-drawn style SVG doodles (arrows, circles, checks, stars, speech bubbles, illustrations, Japanese/English lettering) for web pages. Use when the user wants warm hand-drawn annotations, marker-style emphasis, doodle decorations, or sketch-like visual elements in HTML/SVG output. Includes boil (line-wobble) hover animation and Swiss-design annotation-layer samples.
---
# Hand-Drawn SVG Doodles
Generate hand-drawn style SVG assets programmatically. 76 built-in doodles across 3 categories: annotation marks, illustrations, and text lettering (Japanese + English). Zero dependencies, fully offline.
## Files
- `engine/handdrawn.js` — the generative engine + all 76 doodle definitions. Self-contained; copy it into the user's project.
- `catalog/` — browsable catalog pages. Open `catalog/index.html` for the full asset browser with live style controls.
- `catalog/swiss.html`, `swiss2.html`, `swiss3.html` — **Swiss-design samples**: strict grid + grotesque type + hand-drawn annotation layer in red/black. The recommended reference for high-quality usage.
- `demo.html` — minimal showcase used for the boil-animation video.
- `example.html` — minimal usage example.
## Quick start
```html
<script src="handdrawn.js"></script>
<div data-doodle="circle-loop" style="width:120px"></div>
<script>
HanddrawnSVG.hydrate(); // fill all [data-doodle] elements
HanddrawnSVG.enableBoil(); // hover -> lines wobble (boil effect)
</script>
```
Or generate a raw SVG string: `HanddrawnSVG.svg('arrow-r')` and inject/export it anywhere.
## Key API
- `HanddrawnSVG.svg(id, {uid, vb, par})` → SVG markup string (seeded = reproducible)
- `HanddrawnSVG.hydrate(root)` → render into all `[data-doodle]` elements. Optional `data-vb` / `data-par` attributes override viewBox / preserveAspectRatio (use `par="none"` + wide viewBox to stretch dividers/underlines)
- `HanddrawnSVG.enableBoil()` → one-time setup; hover/touch re-renders lines with shifting seeds (hand-drawn "boil" animation). Respects `prefers-reduced-motion`
- `HanddrawnSVG.list()` → all 76 ids
- `HanddrawnSVG.opts({rough, width, warp, pressure, color, anim})` → change global style. Defaults: rough 1.5, width 3.4, warp 7.5, pressure 100 — keep roughness LOW (1–2); pressure does the real hand-drawn work (tapered stroke ribbons)
## Doodle ids (76)
**Marks**: arrow-r, arrow-bent, arrow-dbl, arrow-straight, arrow-up, elbow, uline-wave, uline-dbl, uline-straight, circle-loop, box-loop, double-circle, check, cross, star, highlight, sticky, divider, checkbox, strike, dots
**Illustrations**: bubble, thought, ribbon, lightning, spiral, cloud, sun, flower, heart, sparkle, cursor, moon, lightbulb, coffee, pencil, megaphone, umbrella, cool-s, wave, cube3d, smiley, pentagram, vitruvian, aerial-screw, icosahedron, lune-rosette, manicule, asterism, dagger, bird-perched, bird-hop, bird-flap, bird-sing, anchor-dolphin, hedera, pilcrow, fleuron, cal-page, cal-date-circle, cal-countdown, cal-span
**Text**: t-whatif, t-note, t-memo, t-idea, t-ok (English) / t-memo-jp(メモ), t-idea-jp(アイデア), t-chui(注意), t-nani(何?), t-exclaim(!), t-thanks(ありがとう), t-sugoi(すごい!), t-naruhodo(なるほど), t-hai(はい) (Japanese)
## Design guidance
- Use doodles as an **annotation layer**, not decoration everywhere: circle key headings, arrow to important blocks, underline emphasis, margin notes. Sparse placement looks intentional; scattered looks messy. See `catalog/swiss*.html` — strict Swiss grid underneath, sparse hand-drawn marking layer on top.
- Colors: `currentColor` inherits text color — control via CSS `color` on the host element. Strongest combo: monochrome ink + single red accent (`#E30613`).
- Custom doodles: define strokes as point arrays using the geometry helpers inside the engine (`pts_line, pts_arc, pts_qbez, pts_wave, pts_poly, pts_rr, pts_star, pts_heart` in a 200×120 viewBox coordinate space), add to `S` + `DOODLES`.
- Closed shapes get uniform-width strokes; open strokes get pressure-tapered ribbon fills. Set `raw:true` on a stroke to keep polygon corners sharp (needed for lightning, cursors, megaphones).
- Stretched full-width rules/underlines: `data-vb="0 0 200 40" data-par="none"` on the host.
Files in this skill
- SKILL.md
- catalog/birds.html
- catalog/concept.html
- catalog/cursor.html
- catalog/index.html
- catalog/swiss.html
- catalog/swiss2.html
- catalog/swiss3.html
- catalog/swiss5.html
- catalog/swiss7.html
- demo.html
- engine/handdrawn.js
- example.html
Attribution
Related skills
View all in ai-agents →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.