1 <?xml version="1.0" encoding="ISO-8859-1"?>
3 <screensaver name="glschool" _label="GLSchool" gl="yes">
7 <video href="https://www.youtube.com/watch?v=SuMIatcSPdU"/>
11 <number id="delay" type="slider" arg="-delay %"
12 _label="Frame rate" _low-label="Low" _high-label="High"
13 low="0" high="100000" default="20000" convert="invert"/>
15 <number id="NFish" type="slider" arg="-nfish %"
16 _label="Fish count" _low-label="Few" _high-label="Lots"
17 low="5" high="500" default="100"/>
19 <number id="AvoidFact" type="slider" arg="-avoidfact %" _label="Avoidance" _low-label="None" _high-label="High" low="0" high="10" default="1.5"/>
22 <number id="MatchFact" type="slider" arg="-matchfact %" _label="Velocity matching" _low-label="None" _high-label="High" low="0" high="3" default="0.15"/>
23 <number id="CenterFact" type="slider" arg="-centerfact %" _label="Centering" _low-label="None" _high-label="High" low="0" high="1.0" default="0.1"/>
24 <number id="TargetFact" type="slider" arg="-targetfact %" _label="Goal following" _low-label="None" _high-label="High" low="0" high="400" default="80"/>
29 <boolean id="wire" _label="Wireframe" arg-set="-wireframe"/>
30 <boolean id="fog" _label="Fog" arg-set="-fog"/>
31 <boolean id="drawgoal" _label="Draw goal" arg-set="-drawgoal"/>
32 <boolean id="drawbbox" _label="Draw bounding box" arg-unset="-no-drawbbox"/>
33 <boolean id="showfps" _label="Show frame rate" arg-set="-fps"/>
36 <xscreensaver-updater />
39 A school of fish, using the classic "Boids" algorithm by Craig Reynolds.
41 https://en.wikipedia.org/wiki/Boids
43 Written by David C. Lambert and Jamie Zawinski; 2006.