← f_ notebook · Mirrors · Color / Tone

f_halftone, live ​

Turns the image into halftone marks: rotated dot or line lattices, ordered Bayer or random dither, per color channel or one combined plate.

The cell below steps the NumPy mirror that f_halftone'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_halftone · NumPy mirror (Pyodide) · not the Max patch
Downloads about 15 MB the first time (Python and NumPy).
  • screen picks the screen: rotated dot or line lattice, hard threshold, or Bayer / Random dither (Blue needs a shipped threshold file the cell bundle does not carry).
  • plates channels screens each color channel as its own plate (color separation); single screens the brightest channel once, color normalized.
  • pitch is the screen pitch in frame heights; dot and line are floored by the mirror at 0.009.
  • angle sets the third plate's angle in degrees (the one the single path uses); the other two plates stay at 15 and 75.
  • softness widens the mark edges; soft edges blend gray, 0 gives hard marks.
  • shape morphs the dot spot from a round area to a square.
  • jitter moves each dot off its lattice cell by a hashed amount.
  • level is the cutoff for the threshold screen (ignored by the other screens).
  • Input select picks the source picture: bars, rings or a gradient.
  • Reseed changes the seed, which moves the Random dither hash and the jittered dots.

reference doc · patcher · halftone_mirror.py

← ErodeHue Processor →