logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

voronoi - draws a randomly-colored Voronoi tessellation

Author

       Jamie Zawinski.

X Version 11                                   6.08 (10-Oct-2023)                                    voronoi(6x)

Description

       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.

Environment

DISPLAY to get the default host and display number.

       XENVIRONMENT
               to get the  name  of  a  resource  file  that  overrides  the  global  resources  stored  in  the
               RESOURCE_MANAGER property.

       XSCREENSAVER_WINDOW
               The window ID to use with --root.

Name

       voronoi - draws a randomly-colored Voronoi tessellation

Options

--visualvisual
               Specify  which  visual  to  use.   Legal  values are the name of a visual class, or the id number
               (decimal or hex) of a specific visual.

       --window
               Draw on a newly-created window.  This is the default.

       --root  Draw on the root window.

       --window-idnumber
               Draw on the specified window.

       --pointsint
               How many points to add each time we zoom in.

       --point-sizeint
               How big to draw the stars, in pixels.  0 for no stars.

       --point-speedratio
               How fast the points should wander.  Less than 1 for slower, greater than 1 for faster.

       --point-delayseconds
               How quickly to insert new points, when adding.

       --zoom-speedratio
               How fast to zoom in.  Less than 1 for slower, greater than 1 for faster.

       --zoom-delayseconds
               Zoom in every this-many seconds.

       --fps   Display the current frame rate, CPU load, and polygon count.

See Also

X(1), xscreensaver(1)

Synopsis

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]

See Also