1 <?xml version="1.0" encoding="ISO-8859-1"?>
3 <screensaver name="glschool" _label="GLSchool" gl="yes">
9 <number id="delay" type="slider" arg="-delay %"
10 _label="Frame rate" _low-label="Low" _high-label="High"
11 low="0" high="100000" default="20000" convert="invert"/>
13 <number id="NFish" type="slider" arg="-nfish %"
14 _label="Fish count" _low-label="Few" _high-label="Lots"
15 low="5" high="500" default="100"/>
17 <number id="AvoidFact" type="slider" arg="-avoidfact %" _label="Avoidance" _low-label="None" _high-label="High" low="0" high="10" default="1.5"/>
20 <number id="MatchFact" type="slider" arg="-matchfact %" _label="Velocity matching" _low-label="None" _high-label="High" low="0" high="3" default="0.15"/>
21 <number id="CenterFact" type="slider" arg="-centerfact %" _label="Centering" _low-label="None" _high-label="High" low="0" high="1.0" default="0.1"/>
22 <number id="TargetFact" type="slider" arg="-targetfact %" _label="Goal following" _low-label="None" _high-label="High" low="0" high="400" default="80"/>
27 <boolean id="wire" _label="Wireframe" arg-set="-wireframe"/>
28 <boolean id="fog" _label="Fog" arg-set="-fog"/>
29 <boolean id="drawgoal" _label="Draw goal" arg-set="-drawgoal"/>
30 <boolean id="drawbbox" _label="Draw bounding box" arg-unset="-no-drawbbox"/>
31 <boolean id="showfps" _label="Show frame rate" arg-set="-fps"/>
35 Uses Craig Reynolds' classic "Boids" algorithm to simulate a school of fish.
37 http://en.wikipedia.org/wiki/Boids
39 Written by David C. Lambert; 2006.