source: trunk/third/xscreensaver/hacks/bubbles.man @ 20148

Revision 20148, 4.7 KB checked in by ghudson, 21 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r20147, which included commits to RCS files with non-trunk default branches.
Line 
1.de EX          \"Begin example
2.ne 5
3.if n .sp 1
4.if t .sp .5
5.nf
6.in +.5i
7..
8.de EE
9.fi
10.in -.5i
11.if n .sp 1
12.if t .sp .5
13..
14.TH XScreenSaver 1 "14-Dec-95" "X Version 11"
15.SH NAME
16bubbles - frying pan / soft drink simulation
17.SH SYNOPSIS
18.B bubbles
19[\-display \fIhost:display.screen\fP] [\-foreground \fIcolor\fP] [\-background \fIcolor\fP] [\-window] [\-root] [\-mono] [\-install] [\-visual \fIvisual\fP] [\-simple] [\-broken] [\-3D]
20.SH DESCRIPTION
21\fIBubbles\fP sprays lots of little random bubbles all over the window which
22then grow until they reach their maximum size and go pop.  The inspiration
23for this was watching little globules of oil on the bottom of a frying pan
24and it also looks a little like bubbles in fizzy soft drink.  The default
25mode uses fancy ray-traced bubbles but there is also a mode which just draws
26circles in case the default mode is too taxing on your hardware.
27.SH OPTIONS
28Depending on how your
29.I bubbles
30was compiled, it accepts the following options:
31.TP 8
32.B \-foreground
33Colour of circles if \fI\-simple\fP mode is selected.
34.TP 8
35.B \-background
36Colour of window background.
37.TP 8
38.B \-window
39Draw on a newly-created window.  This is the default.
40.TP 8
41.B \-root
42Draw on the root window.
43.TP 8
44.B \-mono
45If on a color display, pretend we're on a monochrome display.
46.TP 8
47.B \-install
48Install a private colormap for the window.
49.TP 8
50.B \-visual \fIvisual\fP
51Specify which visual to use.  Legal values are the name of a visual class,
52or the id number (decimal or hex) of a specific visual.
53.TP 8
54.B \-delay microseconds
55How much of a delay should be introduced between steps of the animation.
56Default 1, or about 1 microsecond.  Actually, this is the delay between each
57group of 15 new bubbles since such a delay between each step results in a
58very slow animation rate.
59.TP 8
60.B \-nodelay
61Same as \fI\-delay 0\fP.
62.TP 8
63.B \-simple
64Don't use the default fancy pixmap bubbles.  Just draw circles instead.
65This may give more bearable performance if your hardware wasn't made for
66this sort of thing.
67.TP 8
68.B \-broken
69Don't hide bubbles when they pop.  This was a bug during development
70but the results were actually quite attractive.
71.TP 8
72.B \-3D
73Normally, the simulation is done completely in two dimensions.  When a
74bubble swallows up another bubble, the areas of each are added to get
75the area of the resulting bubble.  This option changes the algorithm
76to instead add volume (imagining each to be a sphere in 3D space).  The
77whole thing looks more realistic but I find it attracts attention to
78the flickering of each bubble as they are move and are redrawn.  Your
79mileage may vary.
80.TP 8
81.B \-quiet
82Don't print messages explaining why one or several command line options
83were ignored.  This is disabled by default.
84.SH NOTES
85If you find the pace of things too slow, remember that there is a delay
86even though you specify no \fI\-delay\fP option.  Try using \fI\-nodelay\fP
87although beware of the effects of irritation of other users if you're on a
88shared system as you bleed their CPU time away.
89
90Some tools to assist in creation of new bubbles are included in the source
91distribution.  These can either be loaded with the \fI\-file\fP or
92\fI\-directory\fP options (if available) or they can be used in place
93of the distributed default bubble (bubble_default.c).
94You might like to copy these scripts to a permanent location and
95use them.  Read bubbles.README.
96
97Rendered bubbles are not supported on monochrome displays.  I'm not
98convinced that small bubbles, even dithered properly are going to look
99like anything more than a jumble of random dots.
100.SH BUGS
101There is a delay before something appears on the screen when using
102rendered bubbles.  The XPM library seems to take a \fBlong\fP time to make
103pixmaps out of raw data.  This can be irritating on slower systems.
104
105The movement of the bubbles looks jerky if an incomplete set of bubbles
106is used. 
107
108The hide/display algorithm could do with some work to avoid flickering
109when \fI\-nodelay\fP is set.
110.SH ENVIRONMENT
111.PP
112.TP 8
113.B DISPLAY
114to get the default host and display number.
115.TP 8
116.B XENVIRONMENT
117to get the name of a resource file that overrides the global resources
118stored in the RESOURCE_MANAGER property.
119.SH SEE ALSO
120.BR X (1),
121.BR xscreensaver (1)
122.SH DISTRIBUTION POLICY
123This work is Copyright \(co 1995, 1996 by James Macnicol.  Permission
124to use, copy, modify, distribute, and sell this software and its
125documentation for any purpose is hereby granted without fee, provided
126that the above copyright notice appear in all copies and that both that
127copyright notice and this permission notice appear in supporting
128documentation.  No representations are made about the suitability of
129this software for any purpose.  It is provided "as is" without express
130or implied warranty.
131.SH AUTHOR
132James Macnicol <james.macnicol@mailexcite.com>
Note: See TracBrowser for help on using the repository browser.