Soubor:Blank Go board.png
Z Wikipedie, otevřené encyklopedie
Velikost tohoto náhledu je: 600 × 600 pixelů
Obrázek ve vyšším rozlišení (rozměr: 2000 × 2000 pixelů • velikost souboru: 63 kB • MIME typ: image/png)
| | Tento soubor pochází z Wikimedia Commons. Můžete se podívat na jeho tamější stránku s popisem. |
Následující informace pocházejí z Wikimedia Commons:
A blank 19 by 19 Go board, used to illustrate the rules of Go. The nine handicap points are indicated, as is typical in real boards.
David Benbennick made this image with the following Metapost program:
scale=0.6in; % scale is the diameter of a stone
linethickness = scale/20;
pickup pencircle scaled linethickness;
boardwidth = 19;
boardheight = 19;
% a 5-by-5 positions of a go board.
beginfig(1);
pickup pencircle scaled linethickness;
fill unitsquare xscaled ((boardwidth+0.2)*scale)
yscaled ((boardheight+0.2)*scale) shifted (-0.6*scale, -0.6scale)
withcolor (0.86,0.70,0.36);
for i = 0 upto boardwidth - 1 :
draw (scale*i,0) -- (scale*i, (boardheight-1)*scale);
endfor;
for j = 0 upto boardheight - 1 :
draw (0,scale*j) -- ((boardwidth-1)*scale,scale*j);
endfor;
pickup pencircle scaled (8*linethickness);
for i = 3, 9, 15 :
for j = 3, 9, 15 :
draw (scale*i,scale*j);
endfor;
endfor;
endfig;
end;
Save it as Blank_Go_board.mp, then run the following commands:
mpost Blank_Go_board.mp convert -density 400 Blank_Go_board.1 Blank_Go_board.pnm pnmcrop Blank_Go_board.pnm | pnmtopng > Blank_Go_board.png.uncrush pngcrush -reduce -brute -l 9 Blank_Go_board.png.uncrush Blank_Go_board.png
(I was tempted to use density 800 instead of 400, but when the resulting image crashed my browser, I decided 4600 by 4600 was high enough resolution.)
|
Odkazy k souboru
Na soubor odkazují tyto stránky:

