Radial Symmetry
Repeats an object or array of renderables around a center point with N-fold rotational or mirrored symmetry.
Node id transform/radial-symmetry
The Radial Symmetry node creates N-fold rotational symmetry ($C_n$ cyclic) or alternating mirrored symmetry ($D_n$ dihedral) around a center point. It returns a Group containing all transformed instances.
Inputs
| Name | Type | Default | Notes |
|---|---|---|---|
| object | Renderable | — | multiarrays |
| slices | number | 6 | |
| center | Point | { x: 0, y: 0 } | |
| mirror | boolean | false |
Outputs
| Name | Type | Notes |
|---|---|---|
| group | Group |
Inputs
- object. A shape, line, group or array of renderable objects to repeat.
- slices. The integer number of rotational slices $N \ge 1$ (default 6).
- center. The pivot Point around which instances are rotated and mirrored (default (0, 0)).
- mirror. When
false(default), generates $N$ evenly rotated copies around the center ($C_n$ cyclic rosette). Whentrue, alternates normal and axis-reflected instances across sector axes ($D_n$ dihedral rosette, generating $2N$ instances).
Output
- group. A Group containing all cloned and transformed instances.