Each time you press enter, the horse keeps going...and going...
Usage
endless_horse(
what = "Hello world!",
endless = TRUE,
wait = 0.5,
what_color = NULL,
horse_color = NULL
)
Arguments
- what
(character) What do you want to say? See details.
- endless
(logical) Should horse be endless, you better say yes. Default:
TRUE
- wait
How long to wait between leg segments (time grows geometrically after the first iteration in order to keep the horse on screen for a while, but it will keep going forever. Or until you hit escape/Ctrl-C depending on your platform).
- what_color
(character or crayon function) A
crayon
-suported text color orcrayon style function
to colorwhat
. You might trycolors()
or?rgb
for ideas.- horse_color
(character or crayon function) A
crayon
-suported text color orcrayon style function
to color your steed.
Examples
endless_horse(endless = FALSE)
#>
#> ______________
#> < Hello world! >
#> --------------
#> \
#> \
#>
#> ,
#> _,,)\.~,,._
#> (()` ``)\))),,_
#> | \ ''((\)))),,_ ____
#> |6` | ''((\())) "-.____.-" `-.-,
#> | .'\ ''))))' \)))
#> | | `. '' ((((
#> \, _) \/ |))))
#> `' | (((((
#> \ | ))))))
#> `| | ,\ /((((((
#> | / `-.______.< \ | )))))
#> | | / `. \ \ ((((
#> | / \ | `.\ | (((
#> \ | | | )| | ))
#> | | | | || | ' [endless.horse]
#> | | | | || |
if (FALSE) { # interactive()
endless_horse()
endless_horse(what_color = crayon::bgBlue)
}