Description Usage Arguments Value Examples
View source: R/phylopic-to-magiceye.R
Pulls a random dinosaur (or other) image using rphylopic to generate a magic eye.
1  | dino_to_magiceye(colors = c("#449999", "#FFFFFF", "#010101"), dino = NULL)
 | 
colors | 
 Array of at least 2 color hex codes. Colors should be visually distinct and avoid using too many.  | 
dino | 
 UID of an image from phylopic.org. See   | 
A raster matrix for plot().
1  |  dino_to_magiceye() %>% plot()
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.