From http://www.jwz.org/xscreensaver/xscreensaver-5.35.tar.gz
[xscreensaver] / hacks / config / attraction.xml
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2
3 <screensaver name="attraction" _label="Attraction">
4
5   <command arg="-root"/>
6
7   <video href="https://www.youtube.com/watch?v=KAT9nkXCdms"/>
8
9   <hgroup>
10   <select id="mode">
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"/>
18   </select>
19
20   <select id="wallmode">
21     <option id="walls"   _label="Bounce off walls"/>
22     <option id="nowalls" _label="Ignore screen edges" arg-set="-nowalls"/>
23   </select>
24
25   </hgroup>
26
27   <hgroup>
28    <vgroup>
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"
35             convert="invert"/>
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"/>
42    </vgroup>
43    <vgroup>
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"
54             convert="invert"/>
55    </vgroup>
56   </hgroup>
57
58   <hgroup>
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"/>
65   </hgroup>
66
67   <!-- #### -vx [?] -->
68   <!-- #### -vy [?] -->
69   <!-- #### -glow -->
70   <!-- #### -nomaxspeed -->
71   <!-- #### -correct-bounce -->
72   <!-- #### -graphmode [none] -->
73
74   <boolean id="showfps" _label="Show frame rate" arg-set="-fps"/>
75
76   <xscreensaver-updater />
77
78   <_description>
79
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
83 nuclear forces.
84
85 Written by Jamie Zawinski and John Pezaris; 1992.
86   </_description>
87 </screensaver>