Cellular Automata and Lattice Gases
HPP and FHP Models of Gases or Fluids



Here is the Java code :

Cellular.java
Lattice.java