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