1 <?xml version="1.0" encoding="ISO-8859-1"?>
3 <screensaver name="sierpinski" _label="Sierpinski">
7 <video href="https://www.youtube.com/watch?v=m0zdPWuFhjA"/>
9 <number id="delay" type="slider" arg="-delay %"
10 _label="Frame rate" _low-label="Low" _high-label="High"
11 low="0" high="1000000" default="400000"
14 <number id="count" type="slider" arg="-count %"
15 _label="Points" _low-label="Few" _high-label="Many"
16 low="10" high="10000" default="2000"/>
18 <number id="cycles" type="slider" arg="-cycles %"
19 _label="Timeout" _low-label="Small" _high-label="Large"
20 low="0" high="1000" default="100"/>
22 <number id="ncolors" type="slider" arg="-ncolors %"
23 _label="Number of colors" _low-label="Two" _high-label="Many"
24 low="1" high="255" default="64"/>
26 <boolean id="showfps" _label="Show frame rate" arg-set="-fps"/>
28 <xscreensaver-updater />
31 The 2D Sierpinski triangle fractal. See also the "Sierpinski3D" screen saver.
33 https://en.wikipedia.org/wiki/Sierpinski_triangle
35 Written by Desmond Daignault; 1997.