palette_ramp_walk
Shades pixel art by walking a hand-ordered palette ramp ±N indices toward lighter or darker colors, so luminance jumps and broken shading order are avoided. One undo step.
Instructions
Shade by WALKING the arranged palette ±N indices toward lighter/darker
(per light direction), instead of snapping to the luminance-nearest color —
so hand-ordered shading ramps are respected. steps = max indices to walk
at the fully-lit/shadowed edges. RGB sprite with an ordered ramp palette;
one undo step. Headless: pass file.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"x": "<x>",
"y": "<y>",
"width": "<width>",
"height": "<height>",
"light_direction": "<light_direction>"
},
"name": "palette_ramp_walk"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| file | No | ||
| steps | No | ||
| width | Yes | ||
| height | Yes | ||
| light_direction | Yes |