Intro: Cellular Automata (link to Code Included)
I created this Java code to produce 2D Cellular Automata patterns. It takes in a rule number (0-255) and iteration number.
For example, the pattern in the main image was produced by inputting (126 50).
Here is a link to a text file containing the source code: bit.ly/1lQvlT7
Feel free to improve it!