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