Customize go images
Go game images can be customized flexibly by passing appropriate graphic parameters to functions that create images. The complete list of available parameters are given below (default values in parentheses).
targetwidthWidth to be used when exporting the image.
Other size parameters are adjusted in accordance with this parameter (5)
colorthemePredefined color template. Currently supports:
"standard", "bw", "pastel", "dark"
and "crystal" (NULL)
boardsizeSize of board (19)
xlim, ylimUse to draw a partial board image
(NULL, NULL)
boardcolorColor of board ("#ecf0b7")
boardalphaTransparency of board (1)
gridcolorColor of grid lines ("#262626")
starcolorColor of stars on board ("#262626")
starsizeSize of stars on board (1.5)
axislabelcolorColor of axis labels ("#262626")
axislabelsize(Size of axis labels 3.5)
xlables, ylabelsAxis labels
(LETTERS[-9], as.character(1:25))
axislabelsIf true, axis labels are added (TRUE)
blackcolor, whitecolorStone colors on the board
("#111111", "#f5f5f5")
stonealphaTransparency of stones (1)
stonesizeSize of stones (6)
stonelinecolorColor of stone line ("#101010")
stonelinewidthWidth of stone line (0.7)
blacknumbercolor, whitenumbercolorColor of numbers on stones ("#f0f0f0", "#0f0f0f")
numbersizeSize of numbers on stones (3)
blacklabelcolor, whitelabelcolor, emptylabelcolorColors of labels put on stones and empty points
("#f0f0f0", "#0f0f0f", "#262626")
labelsizeSize of labels (3.5)
emptylabelshadowsizeSize of background for labels
put on empty points (5)
blackmarkercolor, whitemarkercolor, emptymarkercolorColors of markers put on stones and empty points
("#f0f0f0", "#0f0f0f", "#262626")
markersizeSize of markers (2.5)
lastmovemarkerShape of marker indicating the last move (3)
territorysizeSize of territory indicators (2)
territoryshapeShape of territory indicators. Recommended
to use an integer between 21 and 25 (21)
territorylinecolorColor of lines of territory indicators ("#262626")
territorylinewidthLine width of territory indicators (0.5)
blackmark, whitemark, emptymarkLetters used to indicate
stones and empty points when printing on console ("@", "O", "+")
notebackcolorBackground color of outside note for kifu ("#eff7df")
notetextcolorColor of text used in outside note for kifu ("#101010")
notestonesizeSize of stones in outside note for kifu (5)
notenumbersizeSize of numbers on stones in outside note for kifu (2.5)
notetextsizeSize of texts in outside note for kifu (3)
moveperrowNumber of moves shown for each line of outside note for kifu (8)
adjustoriginIf true, move numbers are deducted by a multiple of hundred
when appropriate (TRUE)
adjustsizeonboardAdjust all sizes for go board image in
accordance with the board size. Not recommended to change (TRUE)
adjustsizeonnoteAdjust all sizes for outside note in
accordance with the board size (FALSE)
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.