40333a99c5821bdd83bd9acc61b2e52c89a2366c
[xscreensaver] / hacks / config / fluidballs.xml
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2
3 <screensaver name="fluidballs" _label="FluidBalls">
4
5   <command arg="-root"/>
6
7   <video href="http://www.youtube.com/watch?v=5Iz9V-vOrxA"/>
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="10000"
14             convert="invert"/>
15
16     <number id="count" type="slider" arg="-count %"
17              _label="Number of balls" _low-label="Few" _high-label="Many"
18             low="1" high="3000" default="300"/>
19
20     <number id="size" type="slider" arg="-size %"
21              _label="Ball size" _low-label="Small" _high-label="Large"
22             low="3" high="200" default="25"/>
23    </vgroup>
24    <vgroup>
25     <number id="gravity" type="slider" arg="-gravity %"
26              _label="Gravity" _low-label="      Freefall" _high-label="Jupiter"
27             low="0.0" high="0.1" default="0.01"/>
28
29     <number id="wind" type="slider" arg="-wind %"
30              _label="Wind" _low-label="Still" _high-label="Hurricane"
31             low="0.0" high="0.1" default="0.00"/>
32
33     <number id="elasticity" type="slider" arg="-elasticity %"
34              _label="Friction" _low-label="Clay" _high-label="Rubber"
35             low="0.2" high="1.0" default="0.97"/>
36    </vgroup>
37   </hgroup>
38
39   <hgroup>
40    <boolean id="random" _label="Various ball sizes"    arg-unset="-no-random"/>
41    <boolean id="shake"  _label="Shake box"             arg-unset="-no-shake"/>
42    <boolean id="showfps" _label="Show frame rate" arg-set="-fps"/>
43   </hgroup>
44
45   <xscreensaver-updater />
46
47   <_description>
48 Models the physics of bouncing balls, or of particles in a gas or
49 fluid, depending on the settings.  If "Shake Box" is selected, then
50 every now and then, the box will be rotated, changing which direction
51 is down (in order to keep the settled balls in motion.)
52
53 Written by Peter Birtles and Jamie Zawinski; 2002.
54   </_description>
55 </screensaver>