Writes an ASCII grid to an HTML file with the rain animation

ascii_rain(text_grid, file, fontsize = "5px", lineheight = "4px",
  turnon = 0.1, turnoff = 0.025)

Arguments

text_grid

Matrix from ascii_grid

file

Path to HMTL file

fontsize

How big is the text

lineheight

How tall is a line

turnon

Animation parameter

turnoff

Animation parameter

Value

A matrix, invisibly

Examples

## Not run: bayes_img <- ascii_data("bayes.png") # path to the bayes image bayes_map <- ascii_map(bayes_img) # construct ASCII map
#> Warning: Assuming third dimension corresponds to colour
#> Warning: Using a rescale value of 0.175
bayes_grid <- ascii_grid(bayes_map) # make grid ascii_rain(bayes_grid, file = "bayes_rain.html") ## End(Not run)