← f_ notebook · Mirrors · Space & Optics

f_mobius, live ​

Warps the input image around a center point: rotate, logarithmic zoom, and a blend toward a 1/z circular inversion.

The cell below steps the NumPy mirror that f_mobius'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_mobius · NumPy mirror (Pyodide) · not the Max patch
Downloads about 15 MB the first time (Python and NumPy).
  • center x sets the pivot's horizontal position; the center is also the point the inversion pulls out to infinity.
  • center y sets the pivot's vertical position.
  • rotate turns the whole frame around that center; 0 to 1 is one full revolution.
  • zoom scales logarithmically, 0.5 = no zoom; below it zooms in, above it zooms out.
  • invert blends the rotate+zoom result toward a 1/z inversion of the offset from the center.
  • Input select: the source image fed through the transform (rings shows the geometry best, bars the color).

reference doc · patcher · mobius_mirror.py

← LensPoincare →