View source: R/turtle_bounce.R
turtle_bounce | R Documentation |
A turtle walks randomly, but bounces back from the edge of its containing field.
turtle_bounce(side = 60, step= 10)
side |
side-lengths of the containing square |
step |
length of one turtle step (side-length/2 must be a multiple of step). |
side effects
Homer White homerhanumat@gmail.com
## turtle_bounce(side = 80, step = 10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.