Seems to be closely related to Cellular automaton, except this creates a complex pattern from a mathematical function you input. See website for examples/live applets. This program makes use of an old GPL version of the JEP equation parser.
This compact functionparser module written in Fortran95 is intended for applications where a set of Fortran-style mathematical expressions is specified at runtime and is then evaluated for a large number of variable values.