library(gameboyr)
Two built in image matrices rstats
and apollo
gboy(rstats)
Running gboy_demo()
prints the original image (in greyscale), the crop
(in greyscale) and the final Game Boy image. This is slow to run if the
original image is large.
gboy_demo(apollo)
Varying crop
, ncols
and res
allows for customisation of the final
output
gboy(apollo)
gboy(apollo, crop=FALSE)
gboy(apollo, crop=FALSE, ncols =10)
gboy(apollo, crop=FALSE, ncols = 20, res=300)
Change colour gradient with cols
gboy(apollo, ncols = 4, cols=c("black", "orange", "white"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.