Creates an ShinyGadget to retrieve pixels.
1 2 3 4 |
pixels |
The pixels to render as a 1-dimensional vector, row-first order expected. |
grid |
The grid dimensions specified as a vector. |
size |
The canvas dimensions specified as a vector. |
brush |
The brush specified as a matrix. |
params |
A set of parameters to customize the visual appearance. #' @examples library(pixels) if (interactive()) get_pixels() |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.