Skip to content

Custom Parts 3: gradient, noise and the full tool set #1216

Closed

Description

@DoodleBears

Parent

Part of #1209.

What to build

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.

Blocked by

Activity

  1. added this to the v1.2 milestone on Oct 8, 2026
  2. added
    area:ui-uxInteraction and visual experience; may accompany a code-layer area
    feature:avatarPersonaBot avatar media and activity frame
    scope:tracerHuman-testable implementation slice
    on Oct 8, 2026
  3. DoodleBears commented on Oct 8, 2026

    @DoodleBears
    ContributorAuthor

    Claimed by the cloud agent session claude/cloud/session_01MozvQ2eMvqX1MzSqm9G2o8.


    Generated by Claude Code

  4. added
    agent:activeOne or more coding-agent tasks currently claim this issue; see claim comments for task IDs
    on Oct 8, 2026
  5. removed
    agent:activeOne or more coding-agent tasks currently claim this issue; see claim comments for task IDs
    on Oct 8, 2026
  6. DoodleBears commented on Oct 8, 2026

    @DoodleBears
    ContributorAuthor

    Outcome: implemented in #1245 (merged as 66d2767), on top of BotHarness/BotPixel#16 (@botharness/pixel-avatar 0.8.0).

    • 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.

    The claim is released.


    Generated by Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:ui-uxInteraction and visual experience; may accompany a code-layer areafeature:avatarPersonaBot avatar media and activity frameready-for-agentFully specified, ready for an AFK agentscope:tracerHuman-testable implementation slice

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions