generate_texture
Generate a 2D retro pixel art texture (wood, stone, brick, grass, metal, water) on a target canvas using deterministic algorithms. Specify texture type and optional seed, palette, and options for consistent results.
Instructions
Procedurally synthesizes a 2D retro pixel art texture (wood, stone, brick, grass, metal, water) using deterministic algorithms.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | Deterministic random seed (e.g. 1337) | |
| options | No | Generator-specific options (e.g. { brickWidth: 16, mortarThickness: 2 }) | |
| palette | No | Optional palette to switch to before generating | |
| canvas_id | Yes | Target canvas ID | |
| texture_type | Yes | Procedural texture generator type |