1penrose(6x) XScreenSaver manual penrose(6x)
2
3
4
6 penrose - draws quasiperiodic tilings
7
9 penrose [-display host:display.screen] [-foreground color] [-background
10 color] [-window] [-root] [-mono] [-install] [-visual visual] [-ncolors
11 integer] [-delay microseconds] [-size integer] [-ammann] [-no-ammann]
12
13
15 The penrose program draws quasiperiodic tilings.
16
17 See Onoda, Steinhardt, DiVincenzo and Socolar in Phys. Rev. Lett. 60,
18 #25, 1988 or Strandburg in Computers in Physics, Sep/Oct 1991.
19
20 This implementation uses the simpler version of the growth algorithm,
21 i.e., if there are no forced vertices, a randomly chosen tile is added
22 to a randomly chosen vertex (no preference for those 108 degree
23 angles).
24
25 There are two essential differences to the algorithm presented in the
26 literature: First, we do not allow the tiling to enclose an untiled
27 area. Whenever this is in danger of happening, we just do not add the
28 tile, hoping for a better random choice the next time. Second, when
29 choosing a vertex randomly, we will take one that lies withing the
30 viewport if available. If this seems to cause enclosures in the forced
31 rule case, we will allow invisible vertices to be chosen.
32
33 Tiling is restarted whenever one of the following happens: there are no
34 incomplete vertices within the viewport or the tiling has extended a
35 window's length beyond the edge of the window horizontally or verti‐
36 cally or forced rule choice has failed 100 times due to areas about to
37 become enclosed.
38
39 Although quasiperiodic tilings are produced, the tiles themselves are
40 not penrose tiles (darts and kites). In contrast to penrose tiles,
41 these tiles can be arranged to form a periodic tiling.
42
43
45 penrose accepts the following options:
46
47 -window Draw on a newly-created window. This is the default.
48
49 -root Draw on the root window.
50
51 -mono If on a color display, pretend we're on a monochrome display.
52
53 -install
54 Install a private colormap for the window.
55
56 -visual visual
57 Specify which visual to use. Legal values are the name of a
58 visual class, or the id number (decimal or hex) of a specific
59 visual.
60
61 -ncolors integer
62 How many colors should be used (if possible). Default 64. The
63 colors are chosen randomly.
64
65 -size integer
66 How big the tiles should be. Default 40 pixels.
67
68
69 -delay milliseconds
70 How long (in 1/1,000,000'ths of a second) to wait between draw‐
71 ing each tile. Default 10,000 or .01 seconds.
72
73
74 -ammann
75
76 -no-ammann
77 Whether Ammann lines should be added.
78
79
81 DISPLAY to get the default host and display number.
82
83 XENVIRONMENT
84 to get the name of a resource file that overrides the global
85 resources stored in the RESOURCE_MANAGER property.
86
88 X(1), xscreensaver(1), xlock(1)
89
91 Copyright © 1996 by Timo Korvola.
92
93 Permission to use, copy, modify, and distribute this software and its
94 documentation for any purpose and without fee is hereby granted, pro‐
95 vided that the above copyright notice appear in all copies and that
96 both that copyright notice and this permission notice appear in sup‐
97 porting documentation.
98
100 Timo Korvola <tkorvola@dopey.hut.fi>, 1996.
101
102 Ability to run standalone or with xscreensaver added by Jamie Zawinski
103 <jwz@jwz.org>, 10-May-97.
104
105
106
107X Version 11 5.05-3 (06-Apr-2008) penrose(6x)