Ase Dither Gradient
ase_dither_gradientCreate a two-color Bayer ordered-dither gradient fill on a sprite, preserving the original palette without intermediate colors.
Instructions
Fill a rectangle with a two-color Bayer 4x4 ordered-dither gradient (the classic pixel-art blend: no new intermediate colors). Top-to-bottom by default; horizontal=true runs left-to-right. Coordinates are sprite-global (the cel is normalized to the canvas).
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": {
"sprite_path": "<sprite_path>",
"x": "<x>",
"y": "<y>",
"width": "<width>",
"height": "<height>",
"color_start": "<color_start>",
"color_end": "<color_end>"
},
"name": "ase_dither_gradient"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| frame | No | ||
| layer | No | ||
| width | Yes | ||
| height | Yes | ||
| color_end | Yes | ||
| horizontal | No | ||
| color_start | Yes | ||
| sprite_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||