Brownian Motion Simulation demonstrates the phenomenon of brownian motion, where microscopic particles display a random walk due to molecular collisions. For instance, particles suspended in liquid move due to random collisions by water molecules that are in constant motion.

The Brownian Motion Simulation script was coded in Python and Pygame. To run in the web browser, the script was compiled to JavaScript with Transcrypt and the Pyjsdl-ts library.

Brownian Motion

The app was compiled to JavaScript from a script coded in Python and the Pyjsdl module.

lmouse/touch to activate particle trace
key-p/swipe-down to add particle
key-i/swipe-up for info
key-r/swipe-right to reset