← f_ notebook · Mirrors · Patterns

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.

f_ngon · NumPy mirror (Pyodide) · not the Max patch
Downloads about 15 MB the first time (Python and NumPy).
  • n mirrors sets the wedge width pi/n: the frame shows 2n-fold symmetry and an n=6 default gives a 12-gon.
  • rotation turns the mirror axes, radians; a full turn is the identity.
  • scale zooms 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.

reference doc · idea note · patcher · ngon_mirror.py

← ChladniQuasi →