Project:Brownian

Provides applet to demonstrate Brownian motion.

This applet, originally written by Drew Dolgert for Michael Fowler, was available at http://galileoandeinstein.physics.virginia.edu/more_stuff/Applets/brownian/applet.html under GPL license. Audrius Meskauskas added the "temperature regulator" and migrated applet to Java 1.5.

The applet can run without any parameters but accepts some:

  • nballs, integer [40], Number of red balls
  • massratio, double [20.0], Ratio of the mass of the big blue ball to the red ones
  • averagevelocity, double [5.0], Average velocity of the red balls in pixels per timestep.
  • threadsleep, integer [20], Number of milliseconds the gas thread should sleep.
  • magnification, double [10.0], The magnification of the microscope view over over the atomic view.

It also has good localization capabilities, while only English and French are supported at the moment. Interestingly, the image is created using canvas only: the applet uses no prepared images. There are also some original solutions on how the particle track is preserved.

Prof Michael Fowler has been contacted and in general approves inclusion of his applets to Ultrastudio.org