Cellular Automata Rectangular Mesh HPP update rule The software uses the HPP update in a rectangular mesh to simulate the behavior of a lattice gas or a cellular automata. Note that this update rule and simmetry grid will always remember the starting condition and return to it after several iterations About the Software: Compiled in VC++ 6.0, Win NT 4.0 using MFC. Usage: Some default matrices can be loaded: EMPTY = well, you guess is empty. The simulation can be controled (start, stop, and one step) using the RUN, STOP, and STEP from the window or the icons in the toolbar. The period between updates is controled by the "speed" slider. The drawing controls will draw (i.e. put particles) in the desired cell (using the left
button of the mouse). The number and position of the particles is controlled using the
radio buttons in the drawing section. Each radio button is labeled with the
"direction" convention and the actual "base two" number. (i.e, 3 (4)
is the third direction, the base two is the number four). If you select to draw Ones and
Zeros, each drawn cell will contain exactly the particle distribution that is seen in the
"Drawing" section. If just "ones" or "zeros" are being
drawn, just those particles will be "added" (ones) or "removed"
(zeros). The gray scale represents the number of particles in each cell. White means no
particles, Black means 4 particles. FOLLOW A PARTICLE! Yes, i'm proud of this function. If you want to follow the path of a single particle, go to the drawing section and select just one particle, and use the right button of the mouse to set that particle in the grid with a "vivid" color (i.e. not grey). To follow the particle, the update rules have to be "more specific" than in FHP to decide "where" is the particle going after a multiple particle collision. The rule that i follow is to select the "closest" path to the original particle after collision. If two options are avilable, they will be alternated. |
Ricardo A. Garcia MIT Media Lab © 2001 |