Brownian Motion in a circle
Several points moving randomly in a circle.
BM.circle(n = 20, col = rainbow(n), ...)
n |
number of points |
col |
colors of points |
... |
other parameters passed to |
This is a solution to the question raised in R-help: https://stat.ethz.ch/pipermail/r-help/2008-December/183018.html.
Invisible NULL
.
The maximum number of steps in the motion is specified in
ani.options('nmax')
.
Yihui Xie
Examples at https://yihui.name/animation/example/bm-circle/
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.