summaryrefslogtreecommitdiffstats
path: root/hacks/config/apollonian.xml
blob: 72d0e415d23ff9a6d5ec88e4097c7422ef4bb3f4 (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
42
<?xml version="1.0" encoding="ISO-8859-1"?>

<screensaver name="apollonian" _label="Apollonian">

  <command arg="-root"/>

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

  <boolean id="label" _label="Draw labels" arg-unset="-no-label"/>

  <boolean id="altgeom" _label="Include alternate geometries"
           arg-unset="-no-altgeom"/>

<!-- don't know what -count does -->

  <number id="cycles" type="slider" arg="-cycles %"
           _label="Depth" _low-label="Shallow" _high-label="Deep"
          low="1" high="20" default="20"/>

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

  <number id="delay" type="slider" arg="-delay %"
          _label="Speed" _low-label="Slow" _high-label="Fast"
          low="0" high="1000000" default="1000000"
          convert="invert"/>

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

  <xscreensaver-updater />

  <_description>
A fractal packing of circles with smaller circles, demonstrating
Descartes's theorem.

https://en.wikipedia.org/wiki/Apollonian_gasket
https://en.wikipedia.org/wiki/Descartes%27_theorem

Written by Allan R. Wilks and David Bagley; 2002.
  </_description>
</screensaver>