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