Open anthonypileggi opened 5 years ago
Example w/ cowplot
package:
banana <- "https://upload.wikimedia.org/wikipedia/commons/9/96/Tux_Paint_banana.svg"
words <- c("banana", "apple", "grapes", "orange", "pear", "kumquat")
x <- wordsearch(words, r = 20, c = 20, image = banana)
cowplot::ggdraw() +
cowplot::draw_image(banana) +
cowplot::draw_plot(plot(x, solution = TRUE))
Do this
When providing an image file to guide the wordsearch/crossword shape, give an option to display the actual image (possibly with some transparence) in the background.