← f_ notebook · Mirrors · Space & Optics

f_sirds, live ​

A single-image random-dot stereogram: a dot-pattern texture is displaced strip by strip by the depth map, and fused in the viewer's eyes the flat image shows a 3D shape.

The cell below steps the NumPy mirror that f_sirds'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_sirds · NumPy mirror (Pyodide) · not the Max patch
Downloads about 15 MB the first time (Python and NumPy).
  • depth factor scales how far each strip's dots are pushed horizontally by the depth map (sign flips the direction).
  • pattern anim slides the dot pattern sideways a little each frame, which helps the eyes hold the fusion.
  • pattern gain sets the dot contrast about mid-gray.
  • Input source picks the depth map: blobs (3-D islands), ramp (a smooth depth wedge), noise (rough depth).

reference doc · patcher · sirds_mirror.py

← PoincareStereo →