summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/doc/shadedtiling.asy
blob: 4d3b8ae894bdb7605fa6a1d00855235c676519f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
size(0,100);
import patterns;

real d=4mm;
picture tiling;
path square=scale(d)*unitsquare;
axialshade(tiling,square,white,(0,0),black,(d,d));
fill(tiling,shift(d,d)*square,blue);
add("shadedtiling",tiling);

filldraw(unitcircle,pattern("shadedtiling"));