apply_dither
Apply ordered Bayer matrix dithering to a canvas to create pixel art textures, adjusting intensity spread and matrix size for desired effect.
Instructions
Applies ordered Bayer matrix dithering across 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": {
"canvas_id": "<canvas_id>"
},
"name": "apply_dither"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spread | No | Dither intensity spread (default: 0.25) | |
| canvas_id | Yes | Target canvas ID | |
| matrix_size | No | Bayer matrix dimension (default: '4') |