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).
targetwidth
Width to be used when exporting the image.
Other size parameters are adjusted in accordance with this parameter (5
)
colortheme
Predefined color template. Currently supports:
"standard"
, "bw"
, "pastel"
, "dark"
and "crystal"
(NULL
)
boardsize
Size of board (19
)
xlim
, ylim
Use to draw a partial board image
(NULL
, NULL
)
boardcolor
Color of board ("#ecf0b7"
)
boardalpha
Transparency of board (1
)
gridcolor
Color of grid lines ("#262626"
)
starcolor
Color of stars on board ("#262626"
)
starsize
Size of stars on board (1.5
)
axislabelcolor
Color of axis labels ("#262626"
)
axislabelsize
(Size of axis labels 3.5
)
xlables
, ylabels
Axis labels
(LETTERS[-9]
, as.character(1:25)
)
axislabels
If true, axis labels are added (TRUE
)
blackcolor
, whitecolor
Stone colors on the board
("#111111"
, "#f5f5f5"
)
stonealpha
Transparency of stones (1
)
stonesize
Size of stones (6
)
stonelinecolor
Color of stone line ("#101010"
)
stonelinewidth
Width of stone line (0.7
)
blacknumbercolor
, whitenumbercolor
Color of numbers on stones ("#f0f0f0"
, "#0f0f0f"
)
numbersize
Size of numbers on stones (3
)
blacklabelcolor
, whitelabelcolor
, emptylabelcolor
Colors of labels put on stones and empty points
("#f0f0f0"
, "#0f0f0f"
, "#262626"
)
labelsize
Size of labels (3.5
)
emptylabelshadowsize
Size of background for labels
put on empty points (5
)
blackmarkercolor
, whitemarkercolor
, emptymarkercolor
Colors of markers put on stones and empty points
("#f0f0f0"
, "#0f0f0f"
, "#262626"
)
markersize
Size of markers (2.5
)
lastmovemarker
Shape of marker indicating the last move (3
)
territorysize
Size of territory indicators (2
)
territoryshape
Shape of territory indicators. Recommended
to use an integer between 21 and 25 (21
)
territorylinecolor
Color of lines of territory indicators ("#262626"
)
territorylinewidth
Line width of territory indicators (0.5
)
blackmark
, whitemark
, emptymark
Letters used to indicate
stones and empty points when printing on console ("@"
, "O"
, "+"
)
notebackcolor
Background color of outside note for kifu ("#eff7df"
)
notetextcolor
Color of text used in outside note for kifu ("#101010"
)
notestonesize
Size of stones in outside note for kifu (5
)
notenumbersize
Size of numbers on stones in outside note for kifu (2.5
)
notetextsize
Size of texts in outside note for kifu (3
)
moveperrow
Number of moves shown for each line of outside note for kifu (8
)
adjustorigin
If true, move numbers are deducted by a multiple of hundred
when appropriate (TRUE
)
adjustsizeonboard
Adjust all sizes for go board image in
accordance with the board size. Not recommended to change (TRUE
)
adjustsizeonnote
Adjust 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.