The Computational Beauty of Nature
Computer Explorations of Fractals, Chaos,
Complex Systems, and Adaptation


About the Book
  · title page
  · home*
  · cover artwork
  · jacket text
  · table of contents
  · the author*
  · ordering information
Book Contents
  · three themes
  · part synopses
  · selected excerpts
  · all figures from book
  · quotes from book
  · glossary from book
  · bibliography
  · slide show
Source Code
  · overview &
documentation
  · FAQ list*
  · download source code
  · java applets
Miscellany
  · news*
  · reviews & awards
  · errata
  · for educators
  · bibliography (BibTeX format)
  · other links
DIFFUSE Documentation


 



NAME

       diffuse - simulate diffusion limited aggregation


SYNOPSIS

       diffuse -help
         or
       diffuse
              [-width  integer]  [-height integer] [-levels inte-
              ger]  [-num  integer]  [-steps  integer]   [-invis]
              [-seed   integer]   [-inv]  [-mag  integer]  [-term
              string]


DESCRIPTION

       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.


OPTIONS

       -width integer
              Width of the plot in pixels.

       -height integer
              Height of the plot in pixels.

       -levels integer
              Number of plot (gray) levels to use.

       -num integer
              Number of floating particles.

       -steps integer
              Number of simulated steps.

       -invis Invisible particles?

       -seed integer
              Random seed for initial state.

       -inv   Invert colors?

       -mag integer
              Magnification factor.

       -term string
              How to plot points.


MISCELLANY

       Using invisible particle will make the simulation run much
       faster  under  interactive graphic terminals, especially X
       Windows.


BUGS

       No sanity checks are performed to make sure  that  any  of
       the options make sense.


AUTHOR

       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.

Copyright © Gary William Flake, 1998-2002. All Rights Reserved. Last modified: 30 Nov 2002