pause button for Dynamic?
- To: mathgroup at smc.vnet.net
- Subject: [mg113738] pause button for Dynamic?
- From: Gianluca Gorni <gianluca.gorni at uniud.it>
- Date: Tue, 9 Nov 2010 03:55:32 -0500 (EST)
Hello,
I have a simple simulation of a Brownian motion
DynamicModule[{brown = {0, 0}},
Framed@Graphics[
Dynamic[Point[
brown += RandomReal[NormalDistribution[0, 1/300], 2]]],
PlotRange -> 1]]
How can I add a pause/play button?
At the moment the only way I know to stop the animation
is to delete the output cell.
Thank you in advance,
Gianluca Gorni