c4646eefc4b676f238f7bad3ae206b9387490a81
[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   <hgroup>
8   <select id="mode">
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"/>
16   </select>
17
18   <select id="wallmode">
19     <option id="walls"   _label="Bounce off walls"/>
20     <option id="nowalls" _label="Ignore screen edges" arg-set="-nowalls"/>
21   </select>
22
23   </hgroup>
24
25   <hgroup>
26    <vgroup>
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"
33             convert="invert"/>
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"/>
40    </vgroup>
41    <vgroup>
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"
52             convert="invert"/>
53    </vgroup>
54   </hgroup>
55
56   <hgroup>
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"/>
63   </hgroup>
64
65   <!-- #### -vx [?] -->
66   <!-- #### -vy [?] -->
67   <!-- #### -glow -->
68   <!-- #### -nomaxspeed -->
69   <!-- #### -correct-bounce -->
70   <!-- #### -graphmode [none] -->
71
72   <boolean id="showfps" _label="Show frame rate" arg-set="-fps"/>
73
74   <_description>
75
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
79 nuclear forces.
80
81 Written by Jamie Zawinski and John Pezaris; 1992.
82   </_description>
83 </screensaver>