← f_ notebook · Mirrors · Tensor Effects

f_tf_hatch, live ​

Marches short streamlines along the structure axis of a tensor field and dabs sparse noise blobs along them: directional engraving strokes.

The cell below steps the NumPy mirror that f_tf_hatch'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_tf_hatch · NumPy mirror (Pyodide) · not the Max patch
Downloads about 15 MB the first time (Python and NumPy).
  • density sets how often the noise lattice lights up, so denser strokes; 0 is nearly empty.
  • contrast stretches the stroke field around its mean, dim strokes to saturated.
  • length scales how far each streamline marches each way from its pixel.
  • grain scales the noise cell size: small value = fine speckle, large = coarse blobs.
  • line blends the smooth stroke field into a hard engraved-line threshold.
  • steps per side caps the march distance (steps x half-length); fewer steps is faster.
  • angle offset rotates the stroke axis from the structure axis.
  • coherence floor ends strokes where the field is undirected and fades those regions to black.
  • The input select picks the tensor source: rings (geometry) or noise (texture).

reference doc · patcher · tf_hatch_mirror.py

← GlyphAxis Flow →