summaryrefslogtreecommitdiffstats
path: root/hacks/config/cloudlife.xml
diff options
context:
space:
mode:
Diffstat (limited to 'hacks/config/cloudlife.xml')
-rw-r--r--hacks/config/cloudlife.xml41
1 files changed, 41 insertions, 0 deletions
diff --git a/hacks/config/cloudlife.xml b/hacks/config/cloudlife.xml
new file mode 100644
index 0000000..767a8ea
--- /dev/null
+++ b/hacks/config/cloudlife.xml
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<screensaver name="cloudlife" _label="CloudLife">
+
+ <command arg="-root"/>
+
+ <video href="https://www.youtube.com/watch?v=TkVDO3nTTsE"/>
+
+ <number id="delay" type="slider" arg="-cycle-delay %"
+ _label="Frame rate" _low-label="Low" _high-label="High"
+ low="0" high="100000" default="25000"
+ convert="invert"/>
+
+ <number id="maxage" type="slider" arg="-max-age %"
+ _label="Max age" _low-label="Young" _high-label="Old"
+ low="2" high="255" default="64"/>
+
+ <number id="density" type="slider" arg="-initial-density %"
+ _label="Initial density" _low-label="Low" _high-label="High"
+ low="1" high="99" default="30"/>
+
+ <number id="cellsize" type="slider" arg="-cell-size %"
+ _label="Cell size" _low-label="Small" _high-label="Large"
+ low="1" high="20" default="3"/>
+
+ <boolean id="showfps" _label="Show frame rate" arg-set="-fps"/>
+
+ <xscreensaver-updater />
+
+ <_description>
+
+Generates cloud-like formations based on a variant of Conway's Life. The
+difference is that cells have a maximum age, after which they count as
+3 for populating the next generation. This makes long-lived formations
+explode instead of just sitting there.
+
+https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life
+
+Written by Don Marti; 2003.
+ </_description>
+</screensaver>