From http://www.jwz.org/xscreensaver/xscreensaver-5.39.tar.gz
[xscreensaver] / hacks / tessellimage.man
1 .TH XScreenSaver 1 "" "X Version 11"
2 .SH NAME
3 tessellimage - Converts an image to triangles using Delaunay tessellation.
4 .SH SYNOPSIS
5 .B tessellimage
6 [\-display \fIhost:display.screen\fP]
7 [\-visual \fIvisual\fP]
8 [\-window]
9 [\-root]
10 [\-delay \fInumber\fP]
11 [\-duration \fInumber\fP]
12 [\-duration2 \fInumber\fP]
13 [\-max-depth \fInumber\fP]
14 [\-max-resolution \fIpixels\fP]
15 [\-no-outline]
16 [\-no-fill-screen]
17 [\-fps]
18 .SH DESCRIPTION
19 Converts an image to triangles using Delaunay tessellation, and animates
20 the result at various depths. More triangles are allocated to visually
21 complex parts of the image. This is accomplished by first computing the
22 first derivative of the image: the distance between each pixel and its
23 neighbors. Then the Delaunay control points are chosen by selecting those
24 pixels whose distance value is above a certain threshold: those are the
25 pixels that have the largest change in color/brightness. 
26 .SH OPTIONS
27 .TP 8
28 .B \-visual \fIvisual\fP
29 Specify which visual to use.  Legal values are the name of a visual class,
30 or the id number (decimal or hex) of a specific visual.
31 .TP 8
32 .B \-window
33 Draw on a newly-created window.  This is the default.
34 .TP 8
35 .B \-root
36 Draw on the root window.
37 .TP 8
38 .B \-delay \fInumber\fP
39 Per-frame delay, in microseconds.  Default: 30000 (0.03 seconds).
40 .TP 8
41 .B \-duration \fInumber\fP
42 Length of time until loading a new image. Default: 2 minutes.
43 .TP 8
44 .B \-duration2 \fInumber\fP
45 Length of time until increasing or decreasing the triangulation depth.
46 Default: 0.4 seconds.
47 .TP 8
48 .B \-max-depth \fInumber\fP
49 The maximum number of triangles to render.  Default: 40000.
50 .TP 8
51 .B \-max-resolution \fIpixels\fP
52 The size of the loaded image will be constrained to this width or
53 height, to reduce the number of pixels examined.  Think of it as
54 an initial low-pass filter.  Default 1024.
55 .TP 8
56 .B \-outline | \-no-outline
57 Whether to outline the triangles.
58 .TP 8
59 .B \-fill-screen | \-no-fill-screen
60 Whether to zoom in on the image to completely fill the screen,
61 or to center it.
62 .TP 8
63 .B \-fps | \-no-fps
64 Whether to show a frames-per-second display at the bottom of the screen.
65 .SH ENVIRONMENT
66 .PP
67 .TP 8
68 .B DISPLAY
69 to get the default host and display number.
70 .TP 8
71 .B XENVIRONMENT
72 to get the name of a resource file that overrides the global resources
73 stored in the RESOURCE_MANAGER property.
74 .SH SEE ALSO
75 .BR X (1),
76 .BR xscreensaver (1)
77 .SH COPYRIGHT
78 Copyright \(co 2014-2018 by Jamie Zawinski.  Permission to use, copy, modify, 
79 distribute, and sell this software and its documentation for any purpose is 
80 hereby granted without fee, provided that the above copyright notice appear 
81 in all copies and that both that copyright notice and this permission notice
82 appear in supporting documentation.  No representations are made about the 
83 suitability of this software for any purpose.  It is provided "as is" without
84 express or implied warranty.
85 .SH AUTHOR
86 Jamie Zawinski.