voronoi(6x) | XScreenSaver manual | voronoi(6x) |
voronoi - draws a randomly-colored Voronoi tessellation
voronoi [--display host:display.screen] [--visual visual] [--window] [--root] [--window-id number] [--points int] [--point-size int] [--point-speed ratio] [--point-delay seconds] [--zoom-speed ratio] [--zoom-delay seconds] [--fps]
Draws a randomly-colored Voronoi tessellation, and periodically zooms in and adds new points. The existing points also wander around.
There are a set of control points on the plane, each at the center of a colored cell. Every pixel within that cell is closer to that cell's control point than to any other control point. That is what determines the cell's shapes.
When running in a window, you can click to insert a new point at the mouse position. Clicking on an existing point lets you drag it around.
This implementation takes advantage of the OpenGL depth buffer to compute the cells for us, by rendering the intersection of overlapping cones in an orthographic plane.
Copyright © 2007 by Jamie Zawinski. Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation. No representations are made about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty.
Jamie Zawinski.
6.06 (11-Dec-2022) | X Version 11 |