Wolfram rules

"Without a tagline since 2010"

This page takes a simple rule and uses it to generate a pattern. The colour of each cell depends on the colours of the cells above it in a way determined by the rule.

The rule takes the form of one dimensional array of size $$2^n$$, where $$n$$ is the number of neighbouring cells that are taken into account. Each value in the rule corresponds to a different value of the bitmap.

For example if a cell considers its two immediate neighbours and itself then it considers three cells in total, and there will be $$2^3=8$$ possible outcomes. The eight values in the rule will correspond to these values.

For Sierpinski's triangle try the pattern 01011010. 10000101 is also quite pretty.