/clawd:clawd-halftonefrom clawd
Generates dotted halftone backdrops (rooms, landscapes, interiors) in the lo-fi Clawd mascot video style using SVG and a dot-screening script. Use when creating Clawd scenes or environments.
Ships in clawd. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
The videos' backdrops are precise flat illustrations, front-on, seen through a halftone screen:
one round dot per 9 x 9 px cell, the dot's size following the picture's tone. Draw the illustration
as an SVG at screen size, then scripts/svg2dots.py turns it into dots exactly like the videos
(each cell averages the 9 x 9 px under it, so shape edges get smaller dots — the smooth contours).
What the user wants, in their words: 视频动画里的那种细节,精度 — "the detail and precision of the video animation, so it looks like a refined animation". What they rejected on the way:
svgkit.L); differences under ~.15
vanish. Night rooms use 0 (walls) · .09 (far) · .19 (floor, thin frames) · .3 (curtains, stone) ·
.85 (the key objects); day rooms paper · .18 (floor) · .25 (panels) · .38 (sun, lines) · .95 (the
dense plant, a chair seat). Full tables: references/style.md §2.row/col/frame); details and
gaps ≥ 1 cell, lines ≥ 6 px; a near shape gets a 1-cell margin of ground/paper so it separates from
what is behind (with s.cut():). Text as bitmap glyphs (bitmap_text, seg7), never SVG text.scripts/cellkit.py); the soft averaged edge of plain SVG is for big soft things only. Objects
≥ ~7 cells; parts that differ by ≤ .15 or sit within 2 cells merge.cyl, pot, cellkit.lump_shade, leaves lit/dark at the midrib); smooth gradients
only for big soft things (clouds, ground). Light sources crisp, their glows tiny; carve after glows.with s.plane(op=…)), near planes denser
with heavier outlines; one or two key objects at the top level, everything else at least a level
lower.assets/refs/*.png (1080p frames; not shipped in the public repo, see below) and crop the kind of object you are about
to draw at full size. Read references/style.md (tones, object recipes, depth).scripts/cellcanvas.py (the recommended way, from the round-3 test that
gave the best results): masks in px → cells (R rrect circ ell poly line edge grow shrink shift below right_of cols_every rows_every checker), a Canvas(theme) with put carve cut obj lift glow text seg7, save(name, ref) renders through svg2dots into ./scenes. Study examples/round3/*.py.
Or draw free SVG with scripts/svgkit.py (read its docstring): Svg(theme), ink(v) and the
L levels; grid pieces row col frame panel snap shift; plane cut blend glow; objects leaf pot cyl cloud canopy tuft sun moon skyline; text bitmap_text seg7. For objects with curved
silhouettes, scripts/cellkit.py: cell_mask / cells / CellPaint (cell-exact fills, -1 =
carve), lump_shade, outline_mask, top_edge_mask, dilate, gap, checker, star.
style.md §5 has recipes (train side, platform, lantern, sofa, rug, trees, hills, clouds).python scripts/svg2dots.py scene.svg out.png --theme light|dark --debug — the debug
sheet puts the raster before the screen next to the dots. A raster that looks great can still fail
as dots: judge the dots.python scripts/compare.py out.png --ref <assets/refs/frame.png | ref_map name>
(it shows both value maps too), then crop the same kind of object from both at 1:1. Check tones (dot sizes), outline rows, gaps,
shading direction, far planes lighter. Iterate until a viewer could not tell which is which.scripts/svg2dots.py — SVG → value map → round-dot halftone (the main path)scripts/svgkit.py — SVG helpers: levels, grid pieces, planes, cut, blend, glow, objects, textscripts/cellkit.py — cell-exact masks and fills (stair-stepped silhouettes, carving, lump shading)scripts/halftone.py — the calibrated screen (render), and study tools (dehalf, fit, round)scripts/paint.py — older cell-grid painter (value maps directly on cells), still usablescripts/compare.py — side-by-side with a reference frame or recovered mapscripts/halftone_runtime.js — the same screen live in an HTML compreferences/style.md — measured tones, how each kind of object is drawn, depth, themesreferences/film.md — films: layers, windows, parallax, compsreferences/ref_maps/ — recovered value maps of the reference rooms (not shipped publicly)assets/refs/ — not included in the public repo (they are frames of Anthropic's lo-fi Clawd
videos). Save your own 1080p screenshots of those videos here under these names; compare.py and
style.md §7 refer to them. Reference frames named by room (night: study, fireplace, music room, kitchen,
bedroom/disco, space; day: patio, building site, hill + clouds, pool, disco); style.md §7 says what
each one showsexamples/patio_day.py (SVG, day) → examples/out/examples/round3/ — the best test run (cellcanvas): carriage_night.py (night interior, two
windows on a moonlit lake, lamp vs moonlight), station_night.py, home_day.py, park_day.py;
renders in round3/out/scripts/cellcanvas.py — the cell-exact value canvas (recommended)examples/promo_day/ (beach, kitchen, sports ground, bedroom) and examples/promo_night/
(lounge, office, stage, snowy street — all drawn in the day theme) — light-theme scenes with a calm
centre for a GIF/Clawd to play in (*_square.png shows the calm zone); renders in scenes/examples/round2/ — an earlier test run: station_night.py (carved train side,
lit windows, lanterns, clock, sign), home_day.py (bookshelf, sofa, rug, plants, window),
park_day.py (cell-level trees, layered hills, clouds, tufts); renders in round2/out/examples/fireplace_room.py — older cell-grid painter example (night)examples/depth_street.py (opens in a new tab)examples/fireplace_room.py (opens in a new tab)examples/out/depth_street.png (opens in a new tab)examples/out/depth_street_value.png (opens in a new tab)examples/out/fireplace_room.png (opens in a new tab)examples/out/fireplace_room_value.png (opens in a new tab)examples/out/patio_day.png (opens in a new tab)examples/out/patio_day.svg (opens in a new tab)examples/out/patio_day_debug.png (opens in a new tab)examples/out/patio_day_value.png (opens in a new tab)examples/patio_day.py (opens in a new tab)examples/promo_day/beach_day.py (opens in a new tab)examples/promo_day/bedroom_day.py (opens in a new tab)examples/promo_day/common.py (opens in a new tab)examples/promo_day/kitchen_day.py (opens in a new tab)examples/promo_day/parts.py (opens in a new tab)examples/promo_day/scenes/beach_day.png (opens in a new tab)examples/promo_day/scenes/beach_day_square.png (opens in a new tab)examples/promo_day/scenes/bedroom_day.png (opens in a new tab)examples/promo_day/scenes/bedroom_day_square.png (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub khiqwq/clawd-400 --plugin clawd2 skills in this plugin
Other plugins' skills for the same job