3 ms·
I agree; it's also nice for writing little obfuscated signatures, such as %!PS % -John Tromp http://tromp.github.io/ /t{dup 1
by tromp 5y ago
I agree; it's also nice for writing little obfuscated signatures, such as
%!PS % -John Tromp http://tromp.github.io/
/t{dup 1 sub gsave dup 0 gt{[.4 .2 -.2 .4 .4 .2]concat t currentgray
.8 mul .2 add setgray -1 1 scale t -1 2 translate t 1 -1 scale t[0 1
1 0 0 2]concat t pop}{0 moveto 1 0 lineto 0 2 lineto closepath clip
fill}ifelse grestore}def 10 10 translate 600 600 scale 5 t showpage
for producing a pinwheel tiling [1].
[1] https://tromp.github.io/img/pinwheel.pdf https://tromp.github.io/img/pinwheel.pdf