version 4, including all changes.
.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
Kaleidescpe |
|
|
2 |
!!!Kaleidescpe |
|
|
3 |
NAME |
|
|
4 |
SYNOPSIS |
|
|
5 |
DESCRIPTION |
|
|
6 |
OPTIONS |
|
|
7 |
ENVIRONMENT |
|
|
8 |
SEE ALSO |
|
|
9 |
COPYRIGHT |
|
|
10 |
AUTHOR |
|
|
11 |
---- |
|
|
12 |
!!NAME |
|
|
13 |
|
|
|
14 |
|
|
|
15 |
Kaleidescope - rotating line segments |
|
|
16 |
!!SYNOPSIS |
|
|
17 |
|
|
|
18 |
|
|
|
19 |
__kaleidescope__ [[-display ''host:display.screen''] |
|
|
20 |
[[-foreground ''color''] [[-background ''color''] |
|
|
21 |
[[-window] [[-root] [[-install] [[-visual ''visual''] |
|
|
22 |
[[-color_mode ''mono | nice | greedy''] [[-nsegments |
|
|
23 |
''int''] [[-ntrails ''int''] [[-local_rotation |
|
|
24 |
''int''] [[-global_rotation ''int''] [[-delay |
|
|
25 |
''usecs''] [[-redmin ''int''] [[-greenmin ''int''] |
|
|
26 |
[[-bluemin ''int''] [[-redrange ''int''] [[-greenrange |
|
|
27 |
''int''] [[-bluerange ''int''] |
|
|
28 |
!!DESCRIPTION |
|
|
29 |
|
|
|
30 |
|
|
|
31 |
The ''kaleidescope'' program draws line segments in a |
|
|
32 |
symmetric pattern that evolves over time. |
|
|
33 |
!!OPTIONS |
|
|
34 |
|
|
|
35 |
|
|
|
36 |
''kaleidescope'' accepts the following |
|
|
37 |
options: |
|
|
38 |
|
|
|
39 |
|
|
|
40 |
__-root__ |
|
|
41 |
|
|
|
42 |
|
|
|
43 |
Draw on the root window. |
|
|
44 |
|
|
|
45 |
|
|
|
46 |
__-color_mode mono | nice | greedy__ |
|
|
47 |
|
|
|
48 |
|
|
|
49 |
Specify how kaleidescope uses colors. Mono uses just the |
|
|
50 |
default foreground and background colors. Nice uses one |
|
|
51 |
color for each segment (specified by nsegments). Greedy uses |
|
|
52 |
(ntrails * nsegments) + 1 colors. |
|
|
53 |
|
|
|
54 |
|
|
|
55 |
__-install__ |
|
|
56 |
|
|
|
57 |
|
|
|
58 |
Install a private colormap for the window. |
|
|
59 |
|
|
|
60 |
|
|
|
61 |
__-visual__ ''visual'' |
|
|
62 |
|
|
|
63 |
|
|
|
64 |
Specify which visual to use. Legal values are the name of a |
|
|
65 |
visual class, or the id number (decimal or hex) of a |
|
|
66 |
specific visual. |
|
|
67 |
|
|
|
68 |
|
|
|
69 |
__-nsegments integer__ |
|
|
70 |
|
|
|
71 |
|
|
|
72 |
The number of segments to draw. Default is 7. |
|
|
73 |
|
|
|
74 |
|
|
|
75 |
__-ntrails integer__ |
|
|
76 |
|
|
|
77 |
|
|
|
78 |
The number of trails to draw. Default is 100. |
|
|
79 |
|
|
|
80 |
|
|
|
81 |
__-local_rotation integer__ |
|
|
82 |
|
|
|
83 |
|
|
|
84 |
The rate at which segments rotate around their center. |
|
|
85 |
Default is -59. |
|
|
86 |
|
|
|
87 |
|
|
|
88 |
__-global_rotation integer__ |
|
|
89 |
|
|
|
90 |
|
|
|
91 |
The rate at which segments rotate around the center of the |
|
|
92 |
window. Default is 1. |
|
|
93 |
|
|
|
94 |
|
|
|
95 |
__-redmin, -greenmin, -bluemin, -redrange, -greenrange, |
|
|
96 |
-bluerange__ |
|
|
97 |
|
|
|
98 |
|
|
|
99 |
All take an integer argument. When colors are randomly |
|
|
100 |
chosen, they are chosen from the interval min to min plus |
|
|
101 |
range. The minimums default to 30000. The ranges default to |
|
|
102 |
20000. |
|
|
103 |
|
|
|
104 |
|
|
|
105 |
__-delay microseconds__ |
|
|
106 |
|
|
|
107 |
|
|
|
108 |
How much of a delay should be introduced between steps of |
|
|
109 |
the animation. Default is 20000, or about 5 frames a |
|
|
110 |
second. |
|
|
111 |
!!ENVIRONMENT |
|
|
112 |
|
|
|
113 |
|
|
|
114 |
__DISPLAY__ |
|
|
115 |
|
|
|
116 |
|
|
|
117 |
to get the default host and display number. |
|
|
118 |
|
|
|
119 |
|
|
|
120 |
__XENVIRONMENT__ |
|
|
121 |
|
|
|
122 |
|
|
|
123 |
to get the name of a resource file that overrides the global |
|
|
124 |
resources stored in the RESOURCE_MANAGER |
|
|
125 |
property. |
|
|
126 |
!!SEE ALSO |
|
|
127 |
|
|
|
128 |
|
4 |
perry |
129 |
X(1), kaleidescope(1) |
1 |
perry |
130 |
!!COPYRIGHT |
|
|
131 |
|
|
|
132 |
|
|
|
133 |
Copyright 1997 by Ron Tapia. Permission to use, copy, |
|
|
134 |
modify, distribute, and sell this software and its |
|
|
135 |
documentation for any purpose is hereby granted without fee, |
|
|
136 |
provided that the above copyright notice appear in all |
|
|
137 |
copies and that both that copyright notice and this |
|
|
138 |
permission notice appear in supporting documentation. No |
|
|
139 |
representations are made about the suitability of this |
|
|
140 |
software for any purpose. It is provided |
|
|
141 |
!!AUTHOR |
|
|
142 |
|
|
|
143 |
|
|
|
144 |
Ron Tapia |
|
|
145 |
---- |