Image:Blank Go board.png

From Wikipedia, the free encyclopedia

Wikimedia Commons logo This is a file from the Wikimedia Commons. The description on its description page there is shown below.
Commons is attempting to create a freely licensed media file repository. You can help.

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

العربية | Asturianu | Български | বাংলা | ইমার ঠার | Brezhoneg | Bosanski | Català | Sinugboanong Binisaya | Česky | Dansk | Deutsch | Ελληνικά | English | Esperanto | Español | Eesti | Euskara | فارسی | Suomi | Français | Galego | עברית | Hrvatski | Magyar | Bahasa Indonesia | Ido | Íslenska | Italiano | 日本語 | ქართული | 한국어 | Kurdî / كوردي | Latina | Lëtzebuergesch | Lietuvių | Bahasa Melayu | Nnapulitano | Nederlands | Norsk (nynorsk) | Norsk (bokmål) | Polski | Português | Română | Русский | Slovenčina | Slovenščina | Shqip | Српски | Svenska | తెలుగు | ไทย | Türkçe | Українська | اردو | Tiếng Việt | Volapük | 中文(简体) | 中文(繁體) | +/-

Creative Commons License
Creative Commons Attribution iconCreative Commons Share Alike icon
This file is licensed under Creative Commons Attribution ShareAlike 2.0 License. In short: you are free to share and make derivative works of the file under the conditions that you appropriately attribute it, and that you distribute it only under a license identical to this one.
You may select the license of your choice.

The following pages on the English Wikipedia link to this file (pages on other projects are not listed):