X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fconfig%2Ftessellimage.xml;fp=hacks%2Fconfig%2Ftessellimage.xml;h=b7a4face226e75871d3d4fa0e50f86c8fd00f36b;hp=0000000000000000000000000000000000000000;hb=8afc01a67be4fbf3f1cc0fce9adf01b5289a21c6;hpb=3f1091236d800c43a3124c44c7da54e53f205b13 diff --git a/hacks/config/tessellimage.xml b/hacks/config/tessellimage.xml new file mode 100644 index 00000000..b7a4face --- /dev/null +++ b/hacks/config/tessellimage.xml @@ -0,0 +1,55 @@ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
+ + <_description> +Converts an image to triangles using Delaunay tessellation, and +animates the result at various depths. + +More triangles 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. + +http://en.wikipedia.org/wiki/Delaunay_triangulation + +Written by Jamie Zawinski; 2014. + +