The applet below simulates the trajectory of a 2D brownian motion.

The simulation stops once we exit the circle.

Note: Click in the applet to generate a new simulation