View source: R/english_wrappers.R
run_actions | R Documentation |
This function produces the animation that shows all actions performed by
Karel since its world was generated by generate_world
.
run_actions(loop = TRUE)
loop |
A logical value TRUE or FALSE indicating if the animation should repeat itself after finished or not (defaults to TRUE). |
Produces an animation with gganimate
.
generate_world
generate_world("mundo001") move() pick_beeper() turn_left() put_beeper() run_actions()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.