Compute positions for items
place_itemsRead-only
Where to put N items: around a circle, along an arc, in a grid, evenly along a line or a path. Returns each centre, the top-left x/y for an item of item_size, and the rotation that faces along the layout. Use it for radial menus, timelines and grids.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | How many places. | |
| intent | No | Optional: a few words on why. | |
| layout | Yes | The shape to place them on, e.g. `{kind: "circle", center: [540, 540], radius: 300}`. | |
| item_size | No | The items' size [width, height], to also get each top-left x/y. |