1 <?xml version="1.0" encoding="ISO-8859-1"?>
3 <screensaver name="attraction" _label="Attraction">
7 <video href="http://www.youtube.com/watch?v=KAT9nkXCdms"/>
11 <option id="balls" _label="Balls"/>
12 <option id="lines" _label="Lines" arg-set="-mode lines"/>
13 <option id="tails" _label="Tails" arg-set="-mode tails"/>
14 <option id="polygons" _label="Polygons" arg-set="-mode polygons"/>
15 <option id="splines" _label="Splines" arg-set="-mode splines"/>
16 <option id="fsplines" _label="Filled splines"
17 arg-set="-mode filled-splines"/>
20 <select id="wallmode">
21 <option id="walls" _label="Bounce off walls"/>
22 <option id="nowalls" _label="Ignore screen edges" arg-set="-nowalls"/>
29 <number id="points" type="spinbutton" arg="-points %"
30 _label="Ball count" low="0" high="200" default="0"/>
31 <number id="viscosity" type="slider" arg="-viscosity %"
32 _label="Environmental viscosity"
33 _low-label="Low" _high-label="High"
34 low="0.0" high="1.0" default="1.0"
36 <number id="segments" type="slider" arg="-segments %"
37 _label="Trail length" _low-label="Short" _high-label="Long"
38 low="2" high="1000" default="500"/>
39 <number id="ncolors" type="slider" arg="-colors %"
40 _label="Number of colors" _low-label="Two" _high-label="Many"
41 low="1" high="255" default="200"/>
44 <number id="size" type="slider" arg="-size %"
45 _low-label="Ball mass" _high-label="High"
46 low="0" high="100" default="0"/>
47 <number id="threshold" type="slider" arg="-threshold %"
48 _label="Repulsion threshold"
49 _low-label="Small" _high-label="Large"
50 low="0" high="600" default="200"/>
51 <number id="delay" type="slider" arg="-delay %"
52 _label="Speed" _low-label="Slow" _high-label="Fast"
53 low="0" high="40000" default="10000"
59 <boolean id="orbit" _label="Orbital mode" arg-set="-orbit"/>
60 <number id="radius" type="spinbutton" arg="-radius %"
61 _label="Radius" low="0" high="1000" default="0"/>
62 <number id="vmult" type="slider" arg="-vmult %"
63 _low-label="Outward" _high-label="Inward"
64 low="-5.0" high="5.0" default="0.9"/>
70 <!-- #### -nomaxspeed -->
71 <!-- #### -correct-bounce -->
72 <!-- #### -graphmode [none] -->
74 <boolean id="showfps" _label="Show frame rate" arg-set="-fps"/>
76 <xscreensaver-updater />
80 Points attract each other up to a certain distance, and then begin to
81 repel each other. The attraction/repulsion is proportional to the
82 distance between any two particles, similar to the strong and weak
85 Written by Jamie Zawinski and John Pezaris; 1992.