| get_pixels {pixels} | R Documentation | 
Gets Pixels
Description
Creates an ShinyGadget to retrieve pixels.
Usage
get_pixels(pixels = NULL, grid = c(28, 28), size = c(250, 250),
  brush = matrix(c(0, 0.5, 0.8, 0.5, 0, 0.5, 1, 1, 1, 0.5, 0.8, 1, 1, 1, 0.8,
  0.5, 1, 1, 1, 0.5, 0, 0.5, 0.8, 0.5, 0), 5, 5), params = list(fill =
  list(color = "#555555"), grid = list(color = "#EEEEEE")))
Arguments
| 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() | 
[Package pixels version 0.1.1 Index]