You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Custom Parts 3: gradient, noise and the full tool set #1216
A Human shades and textures their Custom Parts like a pixel artist, with tools that keep the recolor-friendly data model: gradient (stepped tones with ordered dithering), noise (tone jitter), line, rectangle and eyedropper. Touch users get an offset cursor so their finger never hides the target pixel. Tool behavior follows the pixel-part editor research.
Acceptance criteria
Gradient is a region-bounded linear fill that steps through tone values (not RGB blending), with Bayer 4×4 dithering by default and 2×2 as an option. Results are baked into cells.
Noise jitters existing colored cells by ±1 tone with an amount control and re-roll. Its seed is used at draw time only, and results are baked into cells.
Line and rectangle are pixel-perfect, and Shift snaps to straight angles and squares.
Eyedropper picks a color source plus tone, not a hex value, via Alt-click or long-press.
A shade modifier on the pencil moves an existing cell's tone ±1 once per stroke and skips empty cells.
Every tool honors mirror. Each stroke or tool action is one undo step. On touch, two-finger tap undoes and three-finger tap redoes.
An optional offset cursor with a separate draw button is available on touch devices.
After any tool, changing the appearance's hair or body color recolors the part with tones intact.
BotPixel unit tests cover the dither pattern, gradient stepping, noise determinism for a given seed and mirror behavior for each tool.
Tools: line and rectangle (Shift snap), a dithered tone gradient, noise with amount and re-roll, an eyedropper (Alt-click or long-press), and a shade pencil. Every tool mirrors, and each action is one undo step.
Touch: a two-finger tap undoes and a three-finger tap redoes, and an offset cursor draws through a separate button.
Reviews: CodeRabbit and an independent review agent checked it. Their findings are fixed; the two trivial nitpicks are answered on the PR.
Evidence:docs/assets/pr/1216-drawing-tools/.
Waiting for human QA: how the touch gestures feel on a real device.
Activity
feat(avatar): line, rectangle, gradient, noise and shade drawing tools
fix(avatar): symmetric mirrored gradient inside a region shared by bo…
feat(avatar): line, rectangle, gradient, noise and shade drawing tools (
DoodleBears commentedon Oct 8, 2026
Claimed by the cloud agent session
claude/cloud/session_01MozvQ2eMvqX1MzSqm9G2o8.@botharness/pixel-avatar0.8.0.Generated by Claude Code
Shade and texture Custom Parts with the full drawing tool set
Make part editor gestures cancel cleanly and stay on the grid
feat(avatar): shade and texture Custom Parts with the full drawing to…
DoodleBears commentedon Oct 8, 2026
Outcome: implemented in #1245 (merged as 66d2767), on top of BotHarness/BotPixel#16 (
@botharness/pixel-avatar0.8.0).docs/assets/pr/1216-drawing-tools/.The claim is released.
Generated by Claude Code