X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fconfig%2Ftessellimage.xml;h=f6e1a3caf4cddf5e860deff65993d33c51def44e;hb=c85f503f5793839a6be4c818332aca4a96927bb2;hp=b7a4face226e75871d3d4fa0e50f86c8fd00f36b;hpb=8afc01a67be4fbf3f1cc0fce9adf01b5289a21c6;p=xscreensaver
diff --git a/hacks/config/tessellimage.xml b/hacks/config/tessellimage.xml
index b7a4face..f6e1a3ca 100644
--- a/hacks/config/tessellimage.xml
+++ b/hacks/config/tessellimage.xml
@@ -4,6 +4,8 @@
+
+
-
+
+
+
@@ -37,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.