X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fconfig%2Ftessellimage.xml;h=f6e1a3caf4cddf5e860deff65993d33c51def44e;hb=HEAD;hp=5093ece38fffe1f3cf1bd15775d91fdbf7f3750c;hpb=d5186197bc394e10a4402f7f6d23fbb14103bc50;p=xscreensaver
diff --git a/hacks/config/tessellimage.xml b/hacks/config/tessellimage.xml
index 5093ece3..f6e1a3ca 100644
--- a/hacks/config/tessellimage.xml
+++ b/hacks/config/tessellimage.xml
@@ -4,7 +4,7 @@
-
+
@@ -24,10 +24,16 @@
-
+
+
+
@@ -39,18 +45,21 @@
<_description>
-Converts an image to triangles using Delaunay tessellation, and
-animates the result at various depths.
+Converts an image to triangles using Delaunay tessellation, or to
+polygons using Voronoi tesselation, and animates the result at
+various depths.
-More triangles are allocated to visually complex parts of the image.
+More polygons are allocated to visually complex parts of the image.
This is accomplished by first computing the first derivative of the
image: the distance between each pixel and its neighbors (which is
-essentially edge detection or embossing). Then the Delaunay control
-points are chosen by selecting those pixels whose distance value is
-above a certain threshold: those are the pixels that have the largest
-change in color/brightness.
+essentially edge detection or embossing). Then the Delaunay or
+Voronoi control points are chosen by selecting those pixels whose
+distance value is above a certain threshold: those are the pixels that
+have the largest change in color/brightness.
-http://en.wikipedia.org/wiki/Delaunay_triangulation
+https://en.wikipedia.org/wiki/Delaunay_triangulation
+https://en.wikipedia.org/wiki/Voronoi_diagram
+https://en.wikipedia.org/wiki/Tessellation
Written by Jamie Zawinski; 2014.