combine_sprite | R Documentation |
Combine two sprite
combine_sprite(img, img2, gap = 1)
img |
Sprite 1 |
img2 |
Sprite 2 (added on the right) |
gap |
Gap between the sprites |
Sprite
sprites <- define_sprite() sprite1 <- sprites[["buhu"]] sprite2 <- sprites[["sword"]] show_sprite(combine_sprite(sprite1, sprite2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.