1critical(6x)                  XScreenSaver manual                 critical(6x)
2
3
4

NAME

6       critical - Draw a system showing self-organizing criticality
7

SYNOPSIS

9       critical  [-display  host:display.screen]  [-foreground  color] [-back‐
10       ground color] [-window] [-root]  [-mono]  [-install]  [-visual  visual]
11       [-delay seconds] [-random boolean] [-ncolors int] [-offset int]
12

DESCRIPTION

14       The  critical  program  displays a self-organizing critical system that
15       gradually emerges from chaos.
16
17       critical performs a simulation on a two-dimensional array of  integers.
18       The array is initialized to random values.  On each iteration, it draws
19       a line to the array position with the greatest value.  It then replaces
20       that  location  and  the  eight  neighboring  locations  with randomly-
21       selected values.
22
23       The lines are initially random, but over time a chaotic self-organizing
24       system  evolves:  areas of the screen which happen to have lower values
25       are less likely to be updated to new values, and so the line  tends  to
26       avoid those areas.  Eventually, the histogram of changes approaches the
27       power-law curve typical of such systems.
28
29       The simplest documented self-organizing system is  the  one-dimensional
30       equivalent of critical.
31
32       I heard about this algorithm second-hand: apparently there was an arti‐
33       cle in Scientific American describing it sometime in 1997.
34

OPTIONS

36       critical accepts the following options:
37
38       -window Draw on a newly-created window.  This is the default.
39
40       -root   Draw on the root window.
41
42       -mono   If on a color display, pretend we're on a monochrome display.
43
44       -install
45               Install a private colormap for the window.
46
47       -visual visual
48               Specify which visual to use.  Legal values are the  name  of  a
49               visual  class,  or the id number (decimal or hex) of a specific
50               visual.
51
52       -delay usecs
53               Number of microseconds to wait after drawing each line.
54
55       -random boolean
56               Whether to use randomly selected colours rather  than  a  cycle
57               around the colour wheel.
58
59       -offset integer
60               The maximum random radius increment to use.
61
62       -ncolors integer
63               How  many  colors  should  be allocated in the color ramp (note
64               that this value interacts with offset.)
65
66       -trail integer
67               Length of the trail: between 5 and 100 is nice.
68

ENVIRONMENT

70       DISPLAY to get the default host and display number.
71
72       XENVIRONMENT
73               to get the name of a resource file that  overrides  the  global
74               resources stored in the RESOURCE_MANAGER property.
75

SEE ALSO

77       X(1), xscreensaver(1) xscreensaver-command(1) xscreensaver-demo(1)
78
80       Copyright © 1998 by Martin Pool.
81
82       Permission to use, copy, modify, distribute, and sell this software and
83       its documentation for any purpose is hereby granted without  fee,  pro‐
84       vided  that  the  above  copyright notice appear in all copies and that
85       both that copyright notice and this permission notice  appear  in  sup‐
86       porting documentation.  No representations are made about the suitabil‐
87       ity of this software for any purpose.  It is provided "as  is"  without
88       express or implied warranty.
89

AUTHOR

91       Martin  Pool  <mbp@humbug.org.au>,  1998-2000.   Based  in  part on the
92       XScreenSaver code by Jamie Zawinski <jwz@jwz.org>.
93
94
95
96X Version 11                 5.05-3 (06-Apr-2008)                 critical(6x)
Impressum