Create step repeat (brick/grid tiling)
create_step_repeatTile any TOP source into a rows×cols grid or brick pattern with per-cell gaps, position/rotation jitter, and optional half-tile row offset. Outputs a nullTOP with live controls and preview.
Instructions
Tile a source TOP into a rows×cols brick/grid pattern with per-cell gap, position jitter, rotation jitter, and an optional brick/masonry half-tile row offset — all computed per-cell in a single GLSL TOP shader (stock TOPs only, no external files besides the optional source). Defaults to a built-in synthetic Noise TOP so the grid previews standalone on any install without a source (no external asset). Output is a nullTOP. Returns a summary plus JSON with node paths, live controls, warnings, and an inline preview image.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "create_step_repeat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gap | No | Fractional inset per cell (0 = tiles touch, 0.5 = half the cell is gap). | |
| cols | No | Number of tile columns (horizontal repeats). | |
| rows | No | Number of tile rows (vertical repeats). | |
| jitter_pos | No | Per-cell random position offset, fraction of a cell. | |
| jitter_rot | No | Per-cell random rotation, max radians. | |
| resolution | No | Output resolution [width, height] in pixels. | |
| parent_path | No | Parent COMP path the self-contained 'step_repeat' container is created inside. | /project1 |
| source_path | No | Absolute path of a TOP to tile (pulled in via selectTOP so it can live anywhere). Omit to use a built-in synthetic Noise TOP so the grid previews standalone on any install (no external asset needed). | |
| brick_offset | No | Shift alternating rows by half a tile (brick/masonry layout). |