animation (version 2.6)

BM.circle: Brownian Motion in a circle

Description

Several points moving randomly in a circle.

Usage

BM.circle(n = 20, col = rainbow(n), ...)

Arguments

n

number of points

col

colors of points

other parameters passed to points

Value

Invisible NULL.

Details

This is a solution to the question raised in R-help: https://stat.ethz.ch/pipermail/r-help/2008-December/183018.html.

References

Examples at https://yihui.name/animation/example/bm-circle/

See Also

brownian.motion, rnorm