Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2010

[Date Index] [Thread Index] [Author Index]

Search the Archive

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




  • Prev by Date: Fonts in Demonstrations and Player Notebooks
  • Next by Date: Re: Infix doesn't worj with precedence and grouping
  • Previous by thread: Fonts in Demonstrations and Player Notebooks
  • Next by thread: Re: pause button for Dynamic?