← f_ notebook · Mirrors · Space & Optics

f_stereo, live ​

Wraps any texture onto a rotating sphere and shows it as a circular image: orthographic at proj 0, stereographic at proj 1.

The cell below steps the NumPy mirror that f_stereo'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_stereo · NumPy mirror (Pyodide) · not the Max patch
Downloads about 15 MB the first time (Python and NumPy).
  • lon spins the globe on its vertical axis (one full revolution across the range).
  • lat tilts the pole toward or away from the viewer; 0.5 is the equatorial view.
  • spin rolls the picture around the viewing axis, independent of the globe rotation; the range covers a half turn.
  • proj blends the projection: 0 is orthographic (natural globe), 1 is stereographic (edges expanded).
  • shape picks the circle output or the full projected rectangle including the corners.
  • Input select: bars shows color wrapping, rings show the geometry of the projection.

reference doc · patcher · stereo_mirror.py

← SIRDSChannel Grader →