voronoi(6)

πŸ“¦
version 6.15 Β· 2 versions
, in alpine 3.24, arch rolling, nixpkgs unstable

🌈 voronoi(6) β€” the XScreenSaver manual, but make it a vibe

okay so bestie, this one is from the XScreenSaver manual and it's called voronoi, and it is genuinely one of the prettiest things in the whole screensaver collection, no cap πŸ’…


✨ NAME ✨

voronoi β€” draws a randomly-colored Voronoi tessellation πŸ¦‹


πŸŽ€ 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]

πŸ’– DESCRIPTION πŸ’–

So it draws a randomly-colored Voronoi tessellation β€” gorgeous β€” and periodically it zooms in and adds new points. And the points that are already there? They wander around. main character energy fr fr 🌸

Here's the tea: there's a set of control points on the plane, and each one sits at the center of a colored cell. Every single pixel inside that cell is closer to that cell's control point than to any other control point β€” that's literally what decides the shapes of the cells. iykyk ✨

When it's running in a window, you can click to insert a new point at the mouse position 🫢. And clicking on an existing point lets you drag it around β€” yes queen, you get to rearrange the whole tessellation with your bare hands πŸ˜­πŸ’œ

And the implementation? She's clever: it takes advantage of the OpenGL depth buffer to compute the cells for us, by rendering the intersection of overlapping cones in an orthographic plane. iconic behavior honestly πŸ‘‘


πŸ’… OPTIONS πŸ’…

  • --visual visual β€” 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. ur choice bestie ⭐
  • --window β€” draw on a newly-created window. This is the default. πŸŽ€
  • --root β€” draw on the root window. 🌸
  • --window-id number β€” draw on the specified window. πŸ¦‹
  • --points int β€” how many points to add each time we zoom in. πŸ”₯
  • --point-size int β€” how big to draw the stars, in pixels. 0 for no stars. ✨
  • --point-speed ratio β€” how fast the points should wander. Less than 1 for slower, greater than 1 for faster. 🧚
  • --point-delay seconds β€” how quickly to insert new points, when adding. ⏱️
  • --zoom-speed ratio β€” how fast to zoom in. Less than 1 for slower, greater than 1 for faster. 🌈
  • --zoom-delay seconds β€” zoom in every this-many seconds. πŸ’«
  • --fps β€” display the current frame rate, CPU load, and polygon count. ngl this is the flex option πŸ“Š

🌿 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.

πŸ¦‹ SEE ALSO πŸ¦‹

X(1), xscreensaver(1)


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. ⚠️ (yes bestie, that's the legal-eagle part, read it, it matters)


πŸ’€ AUTHOR πŸ’€

Jamie Zawinski.


ok that's the whole page, nothing skipped, every flag accounted for 🫢 go forth and tessellate πŸ’œ

X Version 11 Β· 6.15 (30-Mar-2026) β€” and that's the version + date sign-off, mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from