summaryrefslogtreecommitdiffstats
path: root/hacks/config/demon.xml
blob: bd78bf10dc58f72f933fbb6339d309050f575953 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?xml version="1.0" encoding="ISO-8859-1"?>

<screensaver name="demon" _label="Demon">

  <command arg="-root"/>

  <video href="https://www.youtube.com/watch?v=OhHI-pIHddA"/>

  <number id="delay" type="slider" arg="-delay %"
          _label="Frame rate" _low-label="Low" _high-label="High"
          low="0" high="100000" default="50000"
          convert="invert"/>

  <number id="count" type="slider" arg="-count %"
          _label="States" _low-label="0" _high-label="20"
           low="0" high="20" default="0"/>

  <number id="cycles" type="slider" arg="-cycles %"
           _label="Timeout" _low-label="Small" _high-label="Large"
          low="0" high="800000" default="1000"/>

  <number id="ncolors" type="slider" arg="-ncolors %"
            _label="Number of colors" _low-label="Two" _high-label="Many"
            low="1" high="255" default="64"/>

  <number id="size" type="spinbutton" arg="-size %"
           _label="Cell size" low="-40" high="40" default="-30"/>

  <boolean id="showfps" _label="Show frame rate" arg-set="-fps"/>

  <xscreensaver-updater />

  <_description>
A cellular automaton that starts with a random field, and organizes
it into stripes and spirals.

https://en.wikipedia.org/wiki/Maxwell%27s_demon

Written by David Bagley; 1999.
  </_description>
</screensaver>