This simulation uses a cellular automaton to illustrate diffusion, the distribution in 2-dimensional cell space over time of randomly moving particles.
Clicking on labels provides extra information and the ability to change INPUT parameters. Parameters should not change if incorrect values are entered.
The real duration of the simulation in seconds
The time of the simulation in iterations
The number of cells in the cell space
The summed values of cells in the cell space
The averaged values of cells in the cell space
The number of square cells in the cell space.
WARNING: Drawing routines require considerable processing power. The browser of your mobile phone or older computer can become unresponsive when cell numbers are too high. In that case, change INPUT parameters. For instance, first select 1D-graph under Dimension, uncheck Grid and increase Interval, before selecting high cell numbers and starting simulation.
Forced real time delay in milliseconds between iterations
The number of iterations of the simulation
Check the box to activate manual filling or emptying of cells
Fill or empty individual cells manually by moving the mouse while left mouse key is pressed
NOTE: May not work with touch on certain screens
The pattern by which the cells in the cell space are filled with initial values
The minimum value of cells in the cell space
The maximum value of cells in the cell space
The horizontal position of the cell in cell space
The vertical position of the cell in cell space
The value of the cell at position XY of the cell space
Select either the graph that shows the 2-dimensional distribution of the values of cells with higher values in darker shades of grey or, the graph that shows the 1-dimensional distribution of the cells along a horizontal line section at half the height of the cell space
Graph shows cell boundaries
1-Dimensional graph replaces earlier plots
Graph shows either absolute values or values relative to maximum and minimum values
Number of iterations between showing of graphs