47dbecbbff7eada842eb011642eae5c265afc0ea
[xscreensaver] / hacks / config / glschool.xml
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2
3 <screensaver name="glschool" _label="GLSchool">
4
5         <command arg="-root"/>
6
7         <number id="NFish" type="slider" arg="-nfish %"
8            _label="Fish Count" _low-label="Few" _high-label="Lots"
9            low="5" high="500" default="100"/>
10
11         <number id="delay" type="slider" arg="-delay %" _label="Speed" _low-label="Slow" _high-label="Fast" low="0" high="50000" default="20000" convert="invert"/>
12
13         <number id="AvoidFact" type="slider" arg="-avoidfact %" _label="Avoidance" _low-label="None" _high-label="High" low="0" high="10" default="1.5"/>
14         <number id="MatchFact" type="slider" arg="-matchfact %" _label="Velocity Matching" _low-label="None" _high-label="High" low="0" high="3" default="0.15"/>
15         <number id="CenterFact" type="slider" arg="-centerfact %" _label="Centering" _low-label="None" _high-label="High" low="0" high="1.0" default="0.1"/>
16         <number id="TargetFact" type="slider" arg="-targetfact %" _label="Goal Following" _low-label="None" _high-label="High" low="0" high="400" default="80"/>
17
18         <hgroup>
19         <boolean id="wire"   _label="Wireframe" arg-set="-wireframe"/>
20         <boolean id="fog"    _label="Fog" arg-set="-fog"/>
21         <boolean id="drawgoal" _label="Draw Goal" arg-set="-drawgoal"/>
22         <boolean id="drawbbox" _label="Draw Bounding Box" arg-set="-drawbbox"/>
23         </hgroup>
24         <boolean id="showfps" _label="Show Frames-per-Second" arg-set="-fps"/>
25
26         <_description>
27
28 Uses Craig Reynolds' Boids algorithm to simulate a school of fish.
29 Looks best with more fish, so raise the number of fish until the
30 frame rate declines to 25-30 fps.
31
32 Written by David C. Lambert; 2006.
33         </_description>
34 </screensaver>