90f410a84442434ab458f9cf47c9a5e7b7332671
[xscreensaver] / hacks / config / voronoi.xml
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2
3 <screensaver name="voronoi" _label="Voronoi" gl="yes">
4
5   <command arg="-root"/>
6
7   <hgroup>
8    <vgroup>
9     <number id="delay" type="slider" arg="-delay %"
10             _label="Frame rate" _low-label="Slow" _high-label="Fast"
11             low="0" high="100000" default="20000"
12             convert="invert"/>
13
14     <number id="points" type="slider" arg="-points %"
15             _label="Points" _low-label="Few" _high-label="Many"
16             low="1" high="100" default="25"/>
17
18     <number id="pointSize" type="slider" arg="-point-size %"
19             _label="Point size" _low-label="0" _high-label="50 pixels"
20             low="0" high="50" default="9"/>
21
22     <boolean id="showfps" _label="Show frame rate" arg-set="-fps"/>
23    </vgroup>
24
25    <vgroup>
26     <number id="pointSpeed" type="slider" arg="-point-speed %"
27             _label="Wander speed" _low-label="Slow" _high-label="Fast"
28             low="0.0" high="10.0" default="1.0"/>
29
30     <number id="pointDelay" type="slider" arg="-point-delay %"
31             _label="Insertion speed" _low-label="Slow" _high-label="Fast"
32             low="0.0" high="3.0" default="0.05"
33             convert="invert"/>
34
35     <number id="zoomSpeed" type="slider" arg="-zoom-speed %"
36             _label="Zoom speed" _low-label="Slow" _high-label="Fast"
37             low="0.1" high="10.0" default="1.0"/>
38
39     <number id="zoomDelay" type="slider" arg="-zoom-delay %"
40             _label="Zoom frequency" _low-label="0" _high-label="60 seconds"
41             low="0" high="60" default="15"/>
42    </vgroup>
43   </hgroup>
44
45   <xscreensaver-updater />
46
47   <_description>
48 Draws a randomly-colored Voronoi tessellation, and periodically zooms 
49 in and adds new points.  The existing points also wander around.
50
51 There are a set of control points on the plane, each at the center of
52 a colored cell.  Every pixel within that cell is closer to that cell's
53 control point than to any other control point.  That is what
54 determines the cell's shapes.
55
56 http://en.wikipedia.org/wiki/Voronoi_diagram
57 http://en.wikipedia.org/wiki/Tessellation
58
59 Written by Jamie Zawinski; 2007.
60   </_description>
61 </screensaver>