Create step repeat (brick/grid tiling)
create_step_repeatTiles any source TOP into a grid of cells with adjustable gap, position jitter, rotation jitter, and optional brick offset. Uses a built-in noise pattern if no source is provided.
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.
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). |