1 <?xml version="1.0" encoding="ISO-8859-1"?>
3 <screensaver name="voronoi" _label="Voronoi" gl="yes">
7 <video href="https://www.youtube.com/watch?v=hD_8cBvknUM"/>
11 <number id="delay" type="slider" arg="-delay %"
12 _label="Frame rate" _low-label="Slow" _high-label="Fast"
13 low="0" high="100000" default="20000"
16 <number id="points" type="slider" arg="-points %"
17 _label="Points" _low-label="Few" _high-label="Many"
18 low="1" high="100" default="25"/>
20 <number id="pointSize" type="slider" arg="-point-size %"
21 _label="Point size" _low-label="0" _high-label="50 pixels"
22 low="0" high="50" default="9"/>
24 <boolean id="showfps" _label="Show frame rate" arg-set="-fps"/>
28 <number id="pointSpeed" type="slider" arg="-point-speed %"
29 _label="Wander speed" _low-label="Slow" _high-label="Fast"
30 low="0.0" high="10.0" default="1.0"/>
32 <number id="pointDelay" type="slider" arg="-point-delay %"
33 _label="Insertion speed" _low-label="Slow" _high-label="Fast"
34 low="0.0" high="3.0" default="0.05"
37 <number id="zoomSpeed" type="slider" arg="-zoom-speed %"
38 _label="Zoom speed" _low-label="Slow" _high-label="Fast"
39 low="0.1" high="10.0" default="1.0"/>
41 <number id="zoomDelay" type="slider" arg="-zoom-delay %"
42 _label="Zoom frequency" _low-label="0" _high-label="60 seconds"
43 low="0" high="60" default="15"/>
47 <xscreensaver-updater />
50 A Voronoi tessellation. Periodically zooms in and adds new points.
51 The existing points also wander around.
53 There are a set of control points on the plane, each at the center of
54 a colored cell. Every pixel within that cell is closer to that cell's
55 control point than to any other control point. That is what
56 determines the cell's shapes.
58 https://en.wikipedia.org/wiki/Voronoi_diagram
59 https://en.wikipedia.org/wiki/Tessellation
61 Written by Jamie Zawinski; 2007.