penrose(6)

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

πŸ’« penrose(6) β€” the XScreenSaver manual, bestie edition πŸ’«

okay so you found penrose(6) in the XScreenSaver manual and I'm obsessed actually. it draws quasiperiodic tilings. that's it, that's the vibe. let's get into it πŸ¦‹


✨ NAME ✨

penrose β€” draws quasiperiodic tilings. literally that's her whole job πŸ’…


🌸 SYNOPSIS 🌸

penrose [--display host:display.screen] [--foreground color]
[--background color] [--window] [--root] [--window-id number][--mono]
[--install] [--visual visual] [--ncolors integer] [--delay microseconds]
[--size integer] [--ammann] [--no-ammann]

[--fps]

πŸŽ€ DESCRIPTION πŸŽ€

The penrose program draws quasiperiodic tilings. no notes. iconic behavior.

if you wanna read the lore, go see Onoda, Steinhardt, DiVincenzo and Socolar in Phys. Rev. Lett. 60, #25, 1988 β€” or Strandburg in Computers in Physics, Sep/Oct 1991. cite your sources, girlies πŸ“š

so this implementation uses the simpler version of the growth algorithm, iykyk β€” meaning: if there are no forced vertices, a randomly chosen tile is added to a randomly chosen vertex. and note ✨ there is no preference for those 108 degree angles. equal opportunity vertex choosing.

now here's where it gets interesting, there are two essential differences from the algorithm presented in the literature:

  1. we do not allow the tiling to enclose an untiled area. whenever this is in danger of happening, we just do not add the tile β€” manifesting a better random choice next time πŸ™
  2. when choosing a vertex randomly, we will take one that lies within the viewport if available. if this seems to cause enclosures in the forced rule case, we will allow invisible vertices to be chosen. ghost vertices get a turn too πŸ‘»
tiling gets restarted whenever one of these happens, keep up: - there are no incomplete vertices within the viewport - the tiling has extended a window's length beyond the edge of the window horizontally or vertically - forced rule choice has failed 100 times due to areas about to become enclosed

and a lil plot twist for you 🫢 although quasiperiodic tilings are produced, the tiles themselves are not penrose tiles (darts and kites). in contrast to penrose tiles, these tiles can be arranged to form a periodic tiling. the name is kind of a vibe, not a promise πŸ’€


πŸ’– OPTIONS πŸ’–

penrose accepts the following options:

  • --window β€” draw on a newly-created window. this is the default, bestie 🌈
  • --root β€” draw on the root window.
  • --window-id number β€” draw on the specified window.
  • --mono β€” if on a color display, pretend we're on a monochrome display. delusion but make it aesthetic πŸŽ€
  • --install β€” install a private colormap for the window.
  • --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.
  • --ncolors integer β€” how many colors should be used (if possible). default 64. the colors are chosen randomly 🎨
  • --size integer β€” how big the tiles should be. default 40 pixels.
  • --delay milliseconds β€” how long (in 1/1,000,000'ths of a second) to wait between drawing each tile. default 10,000 or .01 seconds.
  • --ammann
  • --no-ammann β€” whether Ammann lines should be added.
  • --fps β€” display the current frame rate and CPU load. numbers! stats! main character energy πŸ‘‘

πŸ¦‹ 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), xlock(1)

go read those next, bestie, i'll wait 🫢


Copyright Β© 1996 by Timo Korvola.

Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation.

(like yes, do whatever, just keep the notice. respect the craft πŸ’œ)


🌟 AUTHOR 🌟

Timo Korvola <tkorvola@dopey.hut.fi>, 1996.

ability to run standalone or with xscreensaver added by Jamie Zawinski <jwz@jwz.org>, 10-May-97.


that's the whole thing, no cap. this lil legend is X Version 11, version 6.15, dated 30-Mar-2026 β€” and she's still out here drawing quasiperiodic tilings for us. slay forever, penrose(6) πŸ’…βœ¨πŸŒΈ

πŸ“¦ where this page comes from