Slika:Blank Go board.png

Iz Wikipedije, proste enciklopedije

Logo Wikimedijine zbirke Datoteka je del Wikimedijine zbirke. Najverjetneje so vsi navedeni podatki s tamkajšnje opisne strani.

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.)

I, the author of this work, hereby publish it under the following licenses:
GNU head Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License".

العربية | Česky | Deutsch | English | Español | Français | Italiano | 日本語 | 한국어 | Nederlands | Polski | Português | Slovenčina | Svenska | עברית +/-

Creative Commons License
Creative Commons Attribution iconCreative Commons Share Alike icon
This file is licensed under Creative Commons Attribution ShareAlike 2.0 License
You may select the license of your choice.

Datoteka je del naslednjih strani slovenske Wikipedije (strani drugih projektov niso navedene):