4 XScreenSaver(1) XScreenSaver(1)
8 critical - Draw a system showing self-organizing critical-
11 S
\bSY
\bYN
\bNO
\bOP
\bPS
\bSI
\bIS
\bS
12 c
\bcr
\bri
\bit
\bti
\bic
\bca
\bal
\bl [-display _
\bh_
\bo_
\bs_
\bt_
\b:_
\bd_
\bi_
\bs_
\bp_
\bl_
\ba_
\by_
\b._
\bs_
\bc_
\br_
\be_
\be_
\bn] [-foreground
13 _
\bc_
\bo_
\bl_
\bo_
\br] [-background _
\bc_
\bo_
\bl_
\bo_
\br] [-window] [-root] [-mono]
14 [-install] [-visual _
\bv_
\bi_
\bs_
\bu_
\ba_
\bl] [-delay _
\bs_
\be_
\bc_
\bo_
\bn_
\bd_
\bs] [-random
15 _
\bb_
\bo_
\bo_
\bl_
\be_
\ba_
\bn] [-ncolors _
\bi_
\bn_
\bt] [-offset _
\bi_
\bn_
\bt]
17 D
\bDE
\bES
\bSC
\bCR
\bRI
\bIP
\bPT
\bTI
\bIO
\bON
\bN
18 The _
\bc_
\br_
\bi_
\bt_
\bi_
\bc_
\ba_
\bl program displays a self-organizing critical
19 system that gradually emerges from chaos.
21 _
\bc_
\br_
\bi_
\bt_
\bi_
\bc_
\ba_
\bl performs a simulation on a two-dimensional array
22 of integers. The array is initialized to random values.
23 On each iteration, it draws a line to the array position
24 with the greatest value. It then replaces that location
25 and the eight neighboring locations with randomly-selected
28 The lines are initially random, but over time a chaotic
29 self-organizing system evolves: areas of the screen which
30 happen to have lower values are less likely to be updated
31 to new values, and so the line tends to avoid those areas.
32 Eventually, the histogram of changes approaches the power-
33 law curve typical of such systems.
35 The simplest documented self-organizing system is the one-
36 dimensional equivalent of _
\bc_
\br_
\bi_
\bt_
\bi_
\bc_
\ba_
\bl.
38 I heard about this algorithm second-hand: apparently there
39 was an article in _
\bS_
\bc_
\bi_
\be_
\bn_
\bt_
\bi_
\bf_
\bi_
\bc _
\bA_
\bm_
\be_
\br_
\bi_
\bc_
\ba_
\bn describing it some-
42 O
\bOP
\bPT
\bTI
\bIO
\bON
\bNS
\bS
43 _
\bc_
\br_
\bi_
\bt_
\bi_
\bc_
\ba_
\bl accepts the following options:
45 -
\b-w
\bwi
\bin
\bnd
\bdo
\bow
\bw Draw on a newly-created window. This is the
48 -
\b-r
\bro
\boo
\bot
\bt Draw on the root window.
50 -
\b-m
\bmo
\bon
\bno
\bo If on a color display, pretend we're on a
53 -
\b-i
\bin
\bns
\bst
\bta
\bal
\bll
\bl
54 Install a private colormap for the window.
56 -
\b-v
\bvi
\bis
\bsu
\bua
\bal
\bl _
\bv_
\bi_
\bs_
\bu_
\ba_
\bl
57 Specify which visual to use. Legal values are the
58 name of a visual class, or the id number (decimal
59 or hex) of a specific visual.
64 X Version 11 13-Nov-98 1
70 XScreenSaver(1) XScreenSaver(1)
73 -
\b-d
\bde
\bel
\bla
\bay
\by _
\bu_
\bs_
\be_
\bc_
\bs
74 Number of microseconds to wait after drawing each
77 -
\b-r
\bra
\ban
\bnd
\bdo
\bom
\bm _
\bb_
\bo_
\bo_
\bl_
\be_
\ba_
\bn
78 Whether to use randomly selected colours rather
79 than a cycle around the colour wheel.
81 -
\b-o
\bof
\bff
\bfs
\bse
\bet
\bt _
\bi_
\bn_
\bt_
\be_
\bg_
\be_
\br
82 The maximum random radius increment to use.
84 -
\b-n
\bnc
\bco
\bol
\blo
\bor
\brs
\bs _
\bi_
\bn_
\bt_
\be_
\bg_
\be_
\br
85 How many colors should be allocated in the color
86 ramp (note that this value interacts with _
\bo_
\bf_
\bf_
\bs_
\be_
\bt.)
88 E
\bEN
\bNV
\bVI
\bIR
\bRO
\bON
\bNM
\bME
\bEN
\bNT
\bT
89 D
\bDI
\bIS
\bSP
\bPL
\bLA
\bAY
\bY to get the default host and display number.
91 X
\bXE
\bEN
\bNV
\bVI
\bIR
\bRO
\bON
\bNM
\bME
\bEN
\bNT
\bT
92 to get the name of a resource file that overrides
93 the global resources stored in the RESOURCE_MAN-
96 S
\bSE
\bEE
\bE A
\bAL
\bLS
\bSO
\bO
97 X
\bX(1), x
\bxs
\bsc
\bcr
\bre
\bee
\ben
\bns
\bsa
\bav
\bve
\ber
\br(1) x
\bxs
\bsc
\bcr
\bre
\bee
\ben
\bns
\bsa
\bav
\bve
\ber
\br-
\b-c
\bco
\bom
\bmm
\bma
\ban
\bnd
\bd(1) x
\bxs
\bsc
\bcr
\bre
\bee
\ben
\bn-
\b-
98 s
\bsa
\bav
\bve
\ber
\br-
\b-d
\bde
\bem
\bmo
\bo(1)
100 C
\bCO
\bOP
\bPY
\bYR
\bRI
\bIG
\bGH
\bHT
\bT
101 Copyright (C) 1998 by Martin Pool.
103 Permission to use, copy, modify, distribute, and sell this
104 software and its documentation for any purpose is hereby
105 granted without fee, provided that the above copyright
106 notice appear in all copies and that both that copyright
107 notice and this permission notice appear in supporting
108 documentation. No representations are made about the
109 suitability of this software for any purpose. It is pro-
110 vided "as is" without express or implied warranty.
112 A
\bAU
\bUT
\bTH
\bHO
\bOR
\bR
113 Martin Pool <mbp@humbug.org.au>, 13-Nov-1998. Based in
114 part on the XScreenSaver code by Jamie Zawinski
130 X Version 11 13-Nov-98 2