A triangular "spot function"

53 Views Asked by At

z = (cos πx + cos πy) represents the classical "spot function", made by square cells, used in every laser printer's halftone screening. Does anyone knows the corresponding function to produce TRIANGULAR cells instead of squared ones?

1

There are 1 best solutions below

1
On BEST ANSWER

That is, you want a function such that the contour $z=0$ is a triangle (or triangular lattice)? I suggest $$ z(x,y)=\sin\left(\tfrac{2 y}{\sqrt 3}\right)\cdot \sin\left(x+\tfrac y{\sqrt 3}\right)\cdot \sin\left(x-\tfrac y{\sqrt 3}\right)$$