summaryrefslogtreecommitdiffstats
path: root/hacks/config/metaballs.xml
blob: 0d1a2181948cbd7da6746788df7b1ea3c3d7f18c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<?xml version="1.0" encoding="ISO-8859-1"?>

<screensaver name="metaballs" _label="MetaBalls">

  <command arg="-root"/>

  <video href="https://www.youtube.com/watch?v=wcdKHCp9foY"/>

 <!-- #### -color [random] -->

  <hgroup>
   <vgroup>
    <number id="delay" type="slider" arg="-delay %"
            _label="Frame rate" _low-label="Low" _high-label="High"
            low="0" high="100000" default="10000"
            convert="invert"/>

    <number id="cycles" type="slider" arg="-cycles %"
             _label="Duration" _low-label="Short" _high-label="Long"
            low="100" high="3000" default="1000"/>

    <number id="ncolors" type="slider" arg="-ncolors %"
              _label="Number of colors" _low-label="Two" _high-label="Many"
              low="2" high="256" default="256"/>

   </vgroup>
   <vgroup>

    <number id="count" type="slider" arg="-count %"
            _label="Metaball count" _low-label="Two" _high-label="Many"
            low="2" high="255" default="10"/>

    <number id="radius" type="slider" arg="-radius %"
            _label="MetaBall Radius" _low-label="Small" _high-label="Big" low="2" high="100" default="100"/>

    <number id="delta" type="slider" arg="-delta %"
            _label="MetaBall Movement" _low-label="Small" _high-label="Big" low="1" high="20" default="3"/>

   </vgroup>
  </hgroup>

  <boolean id="showfps" _label="Show frame rate" arg-set="-fps"/>

  <xscreensaver-updater />

  <_description>
2D meta-balls: overlapping and merging balls with fuzzy edges.

https://en.wikipedia.org/wiki/Metaballs

Written by W.P. van Paassen; 2003.
  </_description>
</screensaver>