piecewise(6)

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

🌸 piecewise(6) β€” the XScreenSaver manual, but make it bestie-coded 🌸

okay so you opened the manual page for piecewise(6) and it’s giving β€œmath but make it sparkle.” The XScreenSaver manual is right here, folded in near the top like a little name tag, and we’re gonna walk through every single bit together. no skipping, no cap. πŸ’–


✨ NAME ✨

piecewise β€” lots of moving circles intersecting in interesting ways. periodt. That’s the whole official vibe in one line. πŸŒ€


πŸ¦‹ SYNOPSIS πŸ¦‹

bestie, here’s the summoning spell exactly as written:

piecewise [--display host:display.screen] [--visual visual] [--window]
       [--root] [--window-id number] [--delay number] [--count number]
       [--ncolors number] [--colorspeed number] [--minradius number]
       [--maxradius number] [--no-db] [--fps]

🌈 DESCRIPTION 🌈

This draws a bunch of moving circles which switch from visibility to invisibility when they intersect. that’s literally the plot. circles move, circles meet, circles ghost each other. iconic behavior tbh. πŸ‘»β­•


πŸ’… OPTIONS πŸ’…

okay, option-by-option, all of them, no leaving anyone out:

  • --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.
  • --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.
  • --delay number β€” Per-frame delay, in microseconds. Default: 5000 (0.01 seconds.).
  • --count number β€” Number of circles. Default: 32.
  • --ncolors number β€” Number of colors, only one of which is used at a time. Default: 256.
  • --colorspeed number β€” How fast the color changes (0 - 100). Default: 10.
  • --minradius number β€” Minimum circle radius (as a proportion of screen height). Default: 0.05.
  • --maxradius number β€” Maximum circle radius (as a proportion of screen height). Default: 0.2.
  • --db | --no-db β€” Whether to double buffer.
  • --fps β€” Display the current frame rate and CPU load.

see? every flag got its moment. slay. ✨


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

environment variables really said β€œwe’re part of the story too.” and they are. πŸ’œ


πŸ”₯ SEE ALSO πŸ”₯

go look at X(1) and xscreensaver(1). that’s the required reading, bestie. πŸ“š


Copyright Β© 2003 by Geoffrey Irving. 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, that’s the whole legal bit β€” untouched, because we do not mess with copyright text. πŸ’€


🧚 AUTHOR 🧚

Geoffrey Irving.


okay bye bestie πŸ’… β€” this page comes from X Version 11, version 6.15 (30-Mar-2026), and its manual name is piecewise(6). πŸŽ€

πŸ“¦ where this page comes from