radial

Copies around a circle centred on the layer inside.

radial(slots: RadialSlots): PlacementSpec

Import effects from shaders/std and use effects.instances.radial.

sweep at 360 spaces them evenly all the way round; smaller sweeps make an arc starting at startAngle.

Parameters

NameTypeNotes
slotsRadialSlots

Example

placement: radial({count: p('count'), radius: p('radius'), startAngle: p('startAngle'), sweep: p('sweep'), faceCenter: p('faceCenter')})

See also

  • grid — Copies in rows and columns, filling this layer's bounding box.
  • line — Copies in a row, marching away from the layer inside in one direction.
  • byMode — Lets one select prop switch between a grid, a radial and a linear layout.

Used by

Repeater