1 <?xml version="1.0" encoding="ISO-8859-1"?>
3 <screensaver name="menger" _label="Menger" gl="yes">
7 <number id="delay" type="slider" arg="-delay %"
8 _label="Frame rate" _low-label="Low" _high-label="High"
9 low="0" high="100000" default="30000"
12 <number id="descent" type="slider" arg="-speed %"
13 _label="Duration" _low-label="Short" _high-label="Long"
14 low="2" high="500" default="150"
17 <number id="depth" type="spinbutton" arg="-depth %"
18 _label="Max depth" low="1" high="6" default="3"/>
20 <!-- #### -no-optimize -->
22 <boolean id="wander" _label="Wander" arg-unset="-no-wander"/>
24 <select id="rotation">
25 <option id="no" _label="Don't rotate" arg-set="-spin 0"/>
26 <option id="x" _label="Rotate around X axis" arg-set="-spin X"/>
27 <option id="y" _label="Rotate around Y axis" arg-set="-spin Y"/>
28 <option id="z" _label="Rotate around Z axis" arg-set="-spin Z"/>
29 <option id="xy" _label="Rotate around X and Y axes" arg-set="-spin XY"/>
30 <option id="xz" _label="Rotate around X and Z axes" arg-set="-spin XZ"/>
31 <option id="yz" _label="Rotate around Y and Z axes" arg-set="-spin YZ"/>
32 <option id="xyz" _label="Rotate around all three axes"/>
35 <boolean id="wire" _label="Wireframe" arg-set="-wireframe"/>
36 <boolean id="showfps" _label="Show frame rate" arg-set="-fps"/>
38 <xscreensaver-updater />
41 The Menger Gasket is a cube-based recursive fractal object
42 analagous to the Sierpinski Tetrahedron.
44 http://en.wikipedia.org/wiki/Menger_sponge
45 http://en.wikipedia.org/wiki/Sierpinski_carpet
47 Written by Jamie Zawinski; 2001.