f_ngon, live
A kaleidoscope fold of the input: coordinates reflect across two mirror lines until they land in a wedge, so the frame gains 2n-fold symmetry.
The cell below steps the NumPy mirror that f_ngon's tests are written against, in your browser. It is the NumPy mirror, not the Max patch, and it is not claimed to match the patch bit for bit.
Downloads about 15 MB the first time (Python and NumPy).
n mirrorssets the wedge width pi/n: the frame shows 2n-fold symmetry and an n=6 default gives a 12-gon.rotationturns the mirror axes, radians; a full turn is the identity.scalezooms the folded coordinate (divides by scale); larger values push the source outward.- The input selector picks the source texture: rings show the geometry, bars show the color.