diffuse - simulate diffusion limited aggregation
[-width integer] [-height integer] [-levels inte-
ger] [-num integer] [-steps integer] [-invis]
[-seed integer] [-inv] [-mag integer] [-term
A special type of stochastic fractal is created by the
random action of many particles. The fractal starts out
as a single point seed that is fixed in position. Parti-
cles float about via a random walk. Whenever a floating
particle moves adjacent to fixed particle the floating
particles become frozen in place. In this way, the frac-
tal gradually grows in size.
Width of the plot in pixels.
Height of the plot in pixels.
Number of plot (gray) levels to use.
Number of floating particles.
Number of simulated steps.
-invis Invisible particles?
Random seed for initial state.
-inv Invert colors?
How to plot points.
Using invisible particle will make the simulation run much
faster under interactive graphic terminals, especially X
No sanity checks are performed to make sure that any of
the options make sense.
Copyright (c) 1997, Gary William Flake.
Permission granted for any use according to the standard
GNU ``copyleft'' agreement provided that the author's com-
ments are neither modified nor removed. No warranty is
given or implied.