From http://www.jwz.org/xscreensaver/xscreensaver-5.27.tar.gz
[xscreensaver] / hacks / config / tessellimage.xml
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2
3 <screensaver name="tessellimage" _label="Tessellimage">
4
5   <command arg="-root"/>
6
7   <hgroup>
8    <vgroup>
9     <number id="delay" type="slider" arg="-delay %"
10             _label="Frame rate" _low-label="Low" _high-label="High"
11             low="0" high="100000" default="30000"
12             convert="invert"/>
13
14     <number id="duration2" type="slider" arg="-duration2 %"
15             _label="Speed" _low-label="0.1 second" _high-label="4 seconds"
16             low="0.1" high="4.0" default="0.4"/>
17
18     <number id="duration" type="slider" arg="-duration %"
19             _label="Duration" _low-label="10 seconds" _high-label="10 minutes"
20             low="10" high="600" default="120"/>
21
22     <number id="depth" type="slider" arg="-max-depth %"
23             _label="Complexity" _low-label="Shallow" _high-label="Deep"
24             low="1000" high="100000" default="30000"/>
25
26    </vgroup>
27
28    <vgroup>
29     <xscreensaver-image />
30
31     <boolean id="fill"    _label="Fill screen" arg-unset="-no-fill-screen"/>
32     <boolean id="outline" _label="Outline triangles" arg-unset="-no-outline"/>
33     <boolean id="showfps" _label="Show frame rate" arg-set="-fps"/>
34
35     <xscreensaver-updater />
36    </vgroup>
37   </hgroup>
38
39   <_description>
40 Converts an image to triangles using Delaunay tessellation, and
41 animates the result at various depths.
42
43 More triangles are allocated to visually complex parts of the image.
44 This is accomplished by first computing the first derivative of the
45 image: the distance between each pixel and its neighbors (which is
46 essentially edge detection or embossing).  Then the Delaunay control
47 points are chosen by selecting those pixels whose distance value is
48 above a certain threshold: those are the pixels that have the largest
49 change in color/brightness.
50
51 http://en.wikipedia.org/wiki/Delaunay_triangulation
52
53 Written by Jamie Zawinski; 2014.
54   </_description>
55 </screensaver>