art.detail.texture
Apply texture patterns to rectangular regions on a canvas to add surface detail and visual variety to pixel-art assets.
Instructions
Apply a texture pattern to a rectangular region on the canvas.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | Top-left X coordinate | |
| y | Yes | Top-left Y coordinate | |
| seed | Yes | Random seed | |
| width | Yes | Region width | |
| colors | Yes | Array of hex colors to use | |
| height | Yes | Region height | |
| density | Yes | Pattern density (0-1) | |
| pattern | Yes | Texture pattern name (noise_cluster/voronoi/grain/crack/speckle/cavity/edge_breakup) | |
| session_id | Yes | Canvas session ID |