Description Usage Arguments Examples
Add a piece to the current plot
1 | add_piece(piece, square, perspective = "w", piece_scale = 0.825)
|
piece |
piece symbol in FEN notation ("P" = white pawn etc...) |
square |
Square to draw piece on |
perspective |
Board perspective for the added piece (needs to be set to the same as persepctive used with |
piece_scale |
Piece scaling factor (default = 0.825) |
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.