4 ! a screen saver and locker for the X window system
10 ! See "man xscreensaver" for more info. The latest version is always
11 ! available at http://www.jwz.org/xscreensaver/
14 ! These resources, when placed in the system-wide app-defaults directory
15 ! (e.g., /usr/lib/X11/app-defaults/XScreenSaver) will provide the default
16 ! settings for new users. However, if you have a ".xscreensaver" file in
17 ! your home directory, the settings in that file take precedence.
20 ! Don't hand this file to "xrdb" -- that isn't how app-defaults files work.
21 ! Though app-defaults files have (mostly) the same syntax as your ~/.Xdefaults
22 ! file, they are used differently, and if you run this file through xrdb,
23 ! you will probably mess things up.
25 #error Do not run app-defaults files through xrdb!
26 #error That does not do what you might expect.
27 #error Put this file in /usr/lib/X11/app-defaults/XScreenSaver instead.
29 ! /* (xrdb prevention kludge: whole file)
49 *overlayTextForeground: #FFFF00
50 *overlayTextBackground: #000000
52 *font: *-medium-r-*-140-*-m-*
54 ! The default is to use these extensions if available (as noted.)
55 *sgiSaverExtension: True
56 *mitSaverExtension: False
60 ! This is what the "Demo" button on the splash screen runs (/bin/sh syntax.)
61 *demoCommand: xscreensaver-demo
63 ! This is what the "Prefs" button on the splash screen runs (/bin/sh syntax.)
64 *prefsCommand: xscreensaver-demo -prefs
66 ! This is the URL that the "Help" button on the splash screen loads.
67 *helpURL: http://www.jwz.org/xscreensaver/man.html
69 ! This is how the "Help" button loads URLs (/bin/sh syntax.)
70 ! The "helpURL" will be substituted for up to two occurrences of "%s".
71 *loadURL: netscape -remote 'openURL(%s)' || netscape '%s'
73 ! This is what the "Manual" button in xscreensaver-demo runs (/bin/sh syntax.)
74 *manualCommand: xterm +sb -fg black -bg gray75 -T '%s manual' \
75 -e /bin/sh -c 'man "%s" || read foo'
76 ! Gnome folks might prefer this:
77 !*manualCommand: gnome-help-browser 'man:%s'
80 ! The format used for printing the date and time in the password dialog box
81 ! (see the strftime(3) manual page for details.)
82 *dateFormat: %d-%b-%y (%a); %I:%M %p
83 ! To show the time only:
84 ! *dateFormat: %I:%M %p
89 ! Turning on "installColormap" interacts erratically with twm and tvtwm,
90 ! but seems to work fine with mwm and olwm. Try it and see. If your
91 ! screen turns some color other than black, the window manager is buggy,
92 ! and you need to set this resource to False (or get a WM that works.)
94 *installColormap: True
97 ! Any program which can draw on the root window will work as a screensaver.
98 ! The following resource enumerates them.
100 ! Programs are separated by newlines (specified in resource files with \n).
101 ! Lines may be continued with a lone \ at the end of the line.
103 ! Each line is an `sh' command.
105 ! If the first (non-blank) character on the line is "-", then that means
106 ! that this command is disabled: it's still in the list, but it won't ever
107 ! be used. (This is just to make it easy to disable and then re-enable
110 ! If the first word on the line is the name of a visual followed by a
111 ! colon, then that visual will be used for the program, if it is available.
112 ! If no such visual is available, then the program will be skipped. In
113 ! this way, you can specify that you want certain programs to run only
114 ! on color screens, and others only on mono screens, by making use of the
115 ! magic visual names "color" and "mono". Likewise, if some hacks prefer
116 ! colormaps, but others prefer 24-bit windows, that also can be arranged
117 ! (in this case, by using "PseudoColor:" versus "TrueColor:".)
119 ! Some of the screenhacks are written using OpenGL. OpenGL programs are
120 ! a bit different than normal X programs, in that they prefer visuals that
121 ! are *half* as deep as the screen. You can tell xscreensaver to select a
122 ! good visual for a GL program by using the magic visual name "GL".
124 ! All programs must be launched in such a way that they draw on the root
125 ! window; they should not be spawned in the background with "&". If shell
126 ! metacharacters are used, they must be understandable to `sh', not `csh'
127 ! (the $SHELL variable is not consulted, for unfortunate but good reasons.)
129 ! Be sure to check out Demo Mode: run the `xscreensaver-demo' program to
130 ! edit the current list of programs interactively, try out the various modes,
131 ! and change other parameters. See the man page for details.
134 "Qix (solid)" qix -root -solid -delay 0 -segments 100 \n\
135 "Qix (transparent)" qix -root -count 4 -solid -transparent \n\
136 "Qix (linear)" qix -root -count 5 -solid -transparent \
137 -linear -segments 250 -size 100 \n\
138 - mono: "Qix (xor)" qix -root -linear -count 5 -size 200 \
139 -spread 30 -segments 75 -solid -xor \n\
141 "Attraction (balls)" attraction -root -mode balls \n\
142 "Attraction (lines)" attraction -root -mode lines -points 3 \
144 - "Attraction (poly)" attraction -root -mode polygons \n\
145 "Attraction (splines)" attraction -root -mode splines -segments \
147 "Attraction (orbital)" attraction -root -mode lines -radius 300 \
148 -orbit -vmult 0.5 \n\
154 rorschach -root -offset 7 \n\
159 slidescreen -root \n\
160 decayscreen -root \n\
162 blitspin -root -grab \n\
166 "Ripples (oily)" ripples -root -oily -light 2 \n\
167 "Ripples (stir)" ripples -root -oily -light 2 -stir \n\
168 "Ripples (desktop)" ripples -root -water -light 6 \n\
183 "Grav (trails)" grav -root -trail -decay \n\
198 goop -root -max-velocity 0.5 -elasticity \
201 "Starfish (blob)" starfish -root -blob \n\
204 coral -root -delay 0 \n\
206 triangle -root -delay 1 \n\
213 kaleidescope -root \n\
215 xlyap -root -randomize \n\
219 interference -root \n\
220 truchet -root -randomize \n\
226 "RD-Bomb (mobile)" rd-bomb -root -speed 1 -size 0.1 \n\
235 "Wander (spots)" wander -root -advance 0 -size 10 -circles \
236 True -length 10000 -reset 100000 \n\
240 petri -root -size 2 -count 20 \n\
241 "Petri 2" petri -root -minlifespeed 0.02 \
242 -maxlifespeed 0.03 -minlifespan 1 \
243 -maxlifespan 1 -instantdeathchan 0 \
244 -minorchan 0 -anychan 0.3 \n\
250 xspirograph -root \n\
252 - "NerveRot (dense)" nerverot -root -count 1000 \n\
253 - "NerveRot (thick)" nerverot -root -count 64 -line-width 4 \n\
254 color: bubbles -root \n\
255 default-n: webcollage -root \n\
256 default-n: "WebCollage (whacked)" \
257 webcollage -root -filter \
258 'vidwhacker -stdin -stdout' \n\
259 - default-n: vidwhacker -root \n\
261 @GL_KLUDGE@ GL: gears -root \n\
262 @GL_KLUDGE@ GL: superquadrics -root \n\
263 @GL_KLUDGE@ GL: morph3d -root \n\
264 @GL_KLUDGE@ GL: cage -root \n\
265 @GL_KLUDGE@ GL: moebius -root \n\
266 @GL_KLUDGE@ GL: stairs -root \n\
267 @GL_KLUDGE@ GL: pipes -root \n\
268 @GL_KLUDGE@ GL: sproingies -root \n\
269 @GL_KLUDGE@ GL: rubik -root \n\
270 @GL_KLUDGE@ GL: atlantis -root \n\
271 @GL_KLUDGE@ GL: lament -root \n\
272 @GL_KLUDGE@ GL: bubble3d -root \n\
273 @GL_KLUDGE@ GL: glplanet -root \n\
274 @GL_KLUDGE@ GL: pulsar -root \n\
275 - GL: "Pulsar (textures)" \
276 pulsar -root -texture -mipmap \
277 -texture_quality -light -fog \n\
278 @GLE_KLUDGE@GL: extrusion -root \n\
279 @GL_KLUDGE@ GL: sierpinski3d -root \n\
280 @GL_KLUDGE@ GL: starwars -root \n\
282 - xdaliclock -root -builtin3 -cycle \n\
283 - default-n: xearth -nofork -nostars -ncolors 50 \
284 -night 3 -wait 0 -timewarp 400.0 -pos \
286 - ssystem -fullscreen :32 \n\
287 - xmountains -b -M -Z 0 -r 1 \n\
288 - "XMountains (top)" xmountains -b -M -Z 0 -r 1 -m \n\
289 - xaos -root -autopilot -incoloring -1 \
290 -nogui -outcoloring -1 \n\
291 - xfishtank -d -s \n\
297 ! To display a randomized slideshow of images, you can do something like this:
299 ! default-n: "Slideshow" xv -root -rmode 5 -random -viewonly \
300 ! -wloop -wait 30 $HOME/bitmaps/*.jpg \n\
302 ! or, if you prefer "xli" to "xv", like this: (but note that xli's "-delay"
303 ! option doesn't work in conjunction with "-onroot", so you need to add a
304 ! line for each image individually... "xv" is better in this respect.)
306 ! default-n: xli -quiet -onroot -center -border black \
307 ! $HOME/bitmaps/pic1.jpg \n\
308 ! default-n: xli -quiet -onroot -center -border black \
309 ! $HOME/bitmaps/pic2.jpg \n\
310 ! default-n: xli -quiet -onroot -center -border black \
311 ! $HOME/bitmaps/pic3.jpg \n\
313 ! Note that we've used "default-n" as the visual name, rather than just
314 ! "default": this means "default visual, no install", that is, it's like
315 ! specifying the command-line arguments "-visual default -no-install".
316 ! This is necessary because, when XV or XLI arerunning in "-root" mode, they
317 ! always assume that the default visual and colormap are being used, rather
318 ! than examining the window it is drawing on to see what visual and colormap
319 ! it has. If we didn't force the default visual to be used, we would get an
320 ! X error. If we didn't force the default colormap to be installed, the
321 ! colors would be all wrong. "default-i" may also be used as a visual name
322 ! (meaning, "-visual default -install") but you probably won't ever need
326 ! Some of the GL demos that SGI ships work with XScreenSaver; most don't.
327 ! XScreenSaver includes a program (not built or installed by default)
328 ! called "xscreensaver-sgigl". To use the SGI demos with XScreenSaver,
329 ! build that program, and use it to launch the SGI demos. For example,
330 ! on Irix 6.2, you can do this:
332 ! xscreensaver-sgigl /usr/demos/bin/ep -S
333 ! xscreensaver-sgigl /usr/demos/bin/bongo
335 ! On Irix 6.3, things have moved, so you need to do it like this:
337 ! xscreensaver-sgigl /usr/sbin/ep -S
339 ! You can also use the "ant" demo, but first you need to wrap a shell script
340 ! around it that cds to its home directory, so that it can find its files;
341 ! and also pass it the -S argument, to prevent it from forking. What a mess!
342 ! Basically, the SGI demo writers went out of their way to make my life hell.
346 !=============================================================================
348 ! You probably don't want to change anything after this point.
350 !=============================================================================
353 XScreenSaver.pointerPollTime: 5
354 XScreenSaver.initialDelay: 0
355 XScreenSaver.windowCreationTimeout: 30
356 XScreenSaver.bourneShell: /bin/sh
359 ! Resources for the password and splash-screen dialog boxes of
360 ! the "xscreensaver" daemon.
362 *Dialog.headingFont: *-times-bold-r-*-*-*-180-*-*-*-iso8859-1
363 *Dialog.bodyFont: *-helvetica-bold-r-*-*-*-140-*-*-*-iso8859-1
364 *Dialog.labelFont: *-helvetica-bold-r-*-*-*-140-*-*-*-iso8859-1
365 *Dialog.buttonFont: *-helvetica-bold-r-*-*-*-140-*-*-*-iso8859-1
366 *Dialog.dateFont: *-courier-medium-r-*-*-*-80-*-*-*-iso8859-1
367 *Dialog.foreground: #000000
368 *Dialog.background: #BFBFBF
369 *Dialog.Button.foreground: #000000
370 *Dialog.Button.background: #D0D0D0
371 *Dialog.text.foreground: #000000
372 *Dialog.text.background: #FFFFFF
373 *Dialog.logo.foreground: #FF0000
374 *Dialog.logo.background: #FFFFFF
375 *Dialog.topShadowColor: #E7E7E7
376 *Dialog.bottomShadowColor: #737373
377 *Dialog.logo.width: 200
378 *Dialog.logo.height: 200
379 *Dialog.internalBorderWidth: 30
380 *Dialog.borderWidth: 1
381 *Dialog.shadowThickness: 4
383 *passwd.heading.label: XScreenSaver %s
384 *passwd.body.label: This display is locked.
385 *passwd.user.label: User:
386 *passwd.passwd.label: Password:
387 *passwd.passwdFont: *-courier-medium-r-*-*-*-140-*-*-*-iso8859-1
388 *passwd.thermometer.width: 8
390 *splash.heading.label: XScreenSaver %s
391 *splash.body.label: Copyright © 1991-1999 by
392 *splash.body2.label: Jamie Zawinski <jwz@jwz.org>
393 *splash.demo.label: Demo
394 *splash.prefs.label: Prefs
395 *splash.help.label: Help
398 ! Resources for the Motif dialog boxes of the "xscreensaver-demo" program.
400 *fontList: *-helvetica-medium-r-*-*-*-120-*-*-*-iso8859-1
401 *demoDialog*label1.fontList: *-helvetica-medium-r-*-*-*-140-*-*-*-iso8859-1
402 *cmdText.fontList: *-courier-medium-r-*-*-*-120-*-*-*-iso8859-1
403 *label0.fontList: *-helvetica-bold-r-*-*-*-140-*-*-*-iso8859-1
404 XScreenSaver*doc.fontList: *-helvetica-medium-r-*-*-*-100-*-*-*-iso8859-1
405 ! above must be fully qualified to get around *sgiMode.
409 *XmTextField.foreground: #000000
410 *XmTextField.background: #FFFFFF
411 *list.foreground: #000000
412 *list.background: #FFFFFF
414 *ApplicationShell.title: XScreenSaver
415 *warning.title: XScreenSaver
416 *warning_popup.title: XScreenSaver
417 *allowShellResize: True
420 *menubar*file.labelString: File
421 *menubar*file.mnemonic: F
422 *file.blank.labelString: Blank Screen Now
423 *file.blank.mnemonic: B
424 *file.lock.labelString: Lock Screen Now
425 *file.lock.mnemonic: L
426 *file.kill.labelString: Kill Daemon
427 *file.kill.mnemonic: K
428 *file.restart.labelString: Restart Daemon
429 *file.restart.mnemonic: R
430 *file.exit.labelString: Exit
431 *file.exit.mnemonic: E
433 *menubar*edit.labelString: Edit
434 *menubar*edit.mnemonic: E
435 *edit.cut.labelString: Cut
436 *edit.cut.mnemonic: u
437 *edit.copy.labelString: Copy
438 *edit.copy.mnemonic: C
439 *edit.paste.labelString: Paste
440 *edit.paste.mnemonic: P
442 *menubar*help.labelString: Help
443 *menubar*help.mnemonic: H
444 *help.about.labelString: About...
445 *help.about.mnemonic: A
446 *help.docMenu.labelString: Documentation...
447 *help.docMenu.mnemonic: D
449 *demoTab.marginWidth: 10
450 *optionsTab.marginWidth: 10
452 *XmScrolledWindow.topOffset: 10
453 *XmScrolledWindow.leftOffset: 10
454 *demoTab.topOffset: 4
455 *form1.bottomOffset: 10
456 *form3.leftOffset: 10
457 *form3.rightOffset: 10
459 *frame.bottomOffset: 10
460 *enabled.topOffset: 10
461 *visLabel.topOffset: 10
463 *form4.bottomOffset: 4
465 *XmComboBox.marginWidth: 0
466 *XmComboBox.marginHeight: 0
468 *demo.marginWidth: 30
469 *demo.marginHeight: 4
474 *down.marginHeight: 4
477 *frame.traversalOn: False
479 *list.automaticSelection: True
480 *list.visibleItemCount: 20
484 *demoTab.labelString: Graphics Demos
485 *optionsTab.labelString: Screensaver Options
486 *down.labelString: \\/
488 *frameLabel.labelString:
489 *cmdLabel.labelString: Command Line:
490 *cmdLabel.alignment: ALIGNMENT_BEGINNING
491 *enabled.labelString: Enabled
492 *visLabel.labelString: Visual:
493 *visLabel.alignment: ALIGNMENT_END
494 *visLabel.leftOffset: 20
495 *demo.labelString: Demo
496 *man.labelString: Documentation...
497 *done.labelString: Quit
499 *preferencesLabel.labelString: XScreenSaver Parameters
501 *timeoutLabel.labelString: Saver Timeout
502 *cycleLabel.labelString: Cycle Timeout
503 *fadeSecondsLabel.labelString: Fade Duration
504 *fadeTicksLabel.labelString: Fade Ticks
505 *lockLabel.labelString: Lock Timeout
506 *passwdLabel.labelString: Password Timeout
507 *preferencesForm*XmTextField.columns: 8
509 *verboseToggle.labelString: Verbose
510 *cmapToggle.labelString: Install Colormap
511 *fadeToggle.labelString: Fade Colormap
512 *unfadeToggle.labelString: Unfade Colormap
513 *lockToggle.labelString: Require Password
520 *Cancel.marginWidth: 30
521 *Cancel.marginHeight: 4
522 *Cancel.rightOffset: 10
523 *Cancel.bottomOffset: 10
528 !=============================================================================
530 ! Online documentation for xscreensaver-demo.
532 !=============================================================================
534 ! sanity check -- hands off.
535 *hacks.documentation.isInstalled: True
537 *hacks.qix.documentation: \
538 This is the swiss army chainsaw of qix programs. It bounces a series \
539 of line segments around the screen, and uses variations on this basic \
540 motion pattern to produce all sorts of different presentations: line \
541 segments, filled polygons, overlapping translucent areas... Written \
544 *hacks.attraction.documentation: \
545 Like qix, this uses a simple simple motion model to generate many \
546 different display modes. The control points attract each other up to \
547 a certain distance, and then begin to repel each other. The \
548 attraction/repulsion is proportional to the distance between any two \
549 particles, similar to the strong and weak nuclear forces. \
551 One of the most interesting ways to watch this hack is simply as \
552 bouncing balls, because their motions and interactions with each \
553 other are so odd. Sometimes two balls will get into a tight orbit \
554 around each other, to be interrupted later by a third, or by the edge \
555 of the screen. It looks quite chaotic. \
557 Written by Jamie Zawinski, based on Lisp code by John Pezaris.
559 *hacks.pyro.documentation: \
560 Pyro draws exploding fireworks. Blah blah blah. Written by Jamie \
563 *hacks.helix.documentation: \
564 This repeatedly generates spirally string-art-ish patterns. Written \
567 *hacks.pedal.documentation: \
568 This is sort of a combination spirograph/string-art. It generates a \
569 large, complex polygon, and lets the X server do the bulk of the work \
570 by giving it an even/odd winding rule. Written by Dale Moore, based \
571 on some ancient PDP-11 code.
573 *hacks.rorschach.documentation: \
574 This generates random inkblot patterns. The algorithm is deceptively \
575 simple for how well it works; it merely walks a dot around the screen \
576 randomly, and then reflects the image horizontally, vertically, or \
577 both. Any deep-seated neurotic tendencies which this program reveals \
578 are your own problem. Written by Jamie Zawinski.
580 *hacks.hopalong.documentation: \
581 This draws lacy fractal patterns, based on iteration in the imaginary \
582 plane, from a 1986 Scientific American article. Mostly written by \
585 *hacks.greynetic.documentation: \
586 This draws random colored and stippled rectangles. Written by Jamie \
589 *hacks.xroger.documentation: \
590 The XScreenSaver logo. Don't you hate it? So do I. Would you like \
591 to design a new logo for XScreenSaver? If so, send jwz your \
594 *hacks.imsmap.name: IMSmap
595 *hacks.imsmap.documentation: \
596 This generates random cloud-like patterns. It looks quite different \
597 in monochrome and color. The basic idea is to take four points on \
598 the edge of the image, and assign each a random ``elevation''. Then \
599 find the point between them, and give it a value which is the average \
600 of the other four, plus some small random offset. Then coloration is \
601 done based on elevation. \
603 The color selection is done by binding the elevation to either hue, \
604 saturation, or brightness, and assigning random values to the others. \
605 The ``brightness'' mode tends to yield cloudlike patterns, and the \
606 others tend to generate images that look like heat-maps or CAT-scans. \
607 Written by Juergen Nickelsen and Jamie Zawinski.
609 *hacks.slidescreen.name: SlideScreen
610 *hacks.slidescreen.documentation: \
611 This grabs an image of whatever is on your screen, divides it into a \
612 grid, and then randomly shuffles the squares around as if it was one \
613 of those annoying ``16-puzzle'' games, where there is a grid of \
614 squares, one of which is missing. I hate trying to solve those \
615 puzzles, but watching one permute itself is more amusing. Written by \
618 *hacks.decayscreen.name: DecayScreen
619 *hacks.decayscreen.documentation: \
620 This grabs an image of whatever is on your screen, and makes it melt. \
621 You've no doubt seen this effect before, but no screensaver would \
622 really be complete without it. It works best if there's something \
623 colorful visible. Warning, if the effect continues after the screen \
624 saver is off, seek medical attention. Written by David Wald and \
627 A number of these screenhacks have the ability to take an image of \
628 your desktop and manipulate it in some way. On SGI systems, these \
629 programs are able to (at random) pull their source image from the \
630 system's video input instead! This works nicely if you leave some \
631 some random television station plugged in.
633 *hacks.jigsaw.documentation: \
634 This grabs a screen image, carves it up into a jigsaw puzzle, \
635 shuffles it, and then solves the puzzle. This works especially well \
636 when you feed it an external video signal instead of letting it grab \
637 the screen image (actually, I guess this is generally true...) When \
638 it is grabbing a video image, it is sometimes pretty hard to guess \
639 what the image is going to look like once the puzzle is solved. \
640 Written by Jamie Zawinski.
642 *hacks.blitspin.name: BlitSpin
643 *hacks.blitspin.documentation: \
644 The ``blitspin'' hack repeatedly rotates a bitmap by 90 degrees by \
645 using logical operations: the bitmap is divided into quadrants, and \
646 the quadrants are shifted clockwise. Then the same thing is done \
647 again with progressively smaller quadrants, except that all \
648 sub-quadrants of a given size are rotated in parallel. Written by \
649 Jamie Zawinski based on some cool SmallTalk code seen in in Byte \
652 As you watch it, the image appears to dissolve into static and then \
653 reconstitute itself, but rotated. You can provide the image to use, \
654 as an XBM or XPM file, or tell it to grab a screen image and rotate \
657 *hacks.slip.documentation: \
658 This program throws some random bits on the screen, then sucks them \
659 through a jet engine and spews them out the other side. To avoid \
660 turning the image completely to mush, every now and then it will and \
661 then it interjects some splashes of color into the scene, or go into \
662 a spin cycle, or stretch the image like taffy, or (this is my \
663 addition) grab an image of your current desktop to chew on. \
664 Originally written by Scott Draves; whacked on by Jamie Zawinski.
666 *hacks.distort.documentation: \
667 This hack grabs an image of the screen, and then lets a transparent \
668 lens wander around the screen, magnifying whatever is underneath. \
669 Written by Jonas Munsin.
671 *hacks.spotlight.documentation: \
672 Draws a spotlight scanning across a black screen, illumnating the \
673 underlying desktop when it passes. Written by Rick Schultz.
675 *hacks.hypercube.documentation: \
676 This displays 2D projections of the sequence of 3D objects which are \
677 the projections of the 4D analog to the cube: as a square is composed \
678 of four lines, each touching two others; and a cube is composed of \
679 six squares, each touching four others; a hypercube is composed of \
680 eight cubes, each touching six others. To make it easier to \
681 visualize the rotation, it uses a different color for the edges of \
682 each face. Don't think about it too long, or your brain will melt. \
683 Written by Joe Keane, Fritz Mueller, and Jamie Zawinski.
685 *hacks.halo.documentation: \
686 This draws trippy psychedelic circular patterns that hurt to look at. \
687 It can also animate the control-points, but that takes a lot of CPU \
688 and bandwidth. Written by Jamie Zawinski.
690 *hacks.maze.documentation: \
691 This is the ancient X maze demo, modified to work with xscreensaver. \
692 It generates a random maze, then solves it with visual feedback. \
693 Originally by Jim Randell; modified by a cast of thousands.
695 *hacks.noseguy.documentation: \
696 A little man with a big nose wanders around your screen saying \
697 things. The things which he says can come from a file, or from an \
698 external program like `zippy' or `fortune'. This was extracted from \
699 `xnlock' by Dan Heller. Colorized by Jamie Zawinski.
701 *hacks.flame.documentation: \
702 Another iterative fractal generator. Written by Scott Draves.
704 *hacks.lmorph.name: LMorph
705 *hacks.lmorph.documentation: \
706 This generates random spline-ish line drawings and morphs between \
707 them. Written by Sverre H. Huseby and Glenn T. Lines.
709 *hacks.deco.documentation: \
710 This one subdivides and colors rectangles randomly. It looks kind of \
711 like Brady-Bunch-era rec-room wall paneling. (Raven says: ``this \
712 screensaver is ugly enough to peel paint.'') Written by Jamie \
713 Zawinski, inspired by Java code by Michael Bayne.
715 *hacks.moire.documentation: \
716 This one draws cool circular interference patterns. Most of the \
717 circles you see aren't explicitly rendered, but show up as a result \
718 of interactions between the other pixels that were drawn. Written by \
719 Jamie Zawinski, inspired by Java code by Michael Bayne. As he \
720 pointed out, the beauty of this one is that the heart of the display \
721 algorithm can be expressed with just a pair of loops and a handful of \
722 arithmetic, giving it a high ``display hack metric''.
724 *hacks.moire2.documentation: \
725 Another example of the fun you can have with moire \
726 interference patterns; this hack generates fields of concentric \
727 circles or ovals, and combines the planes with various operations. \
728 The planes are moving independently of one another, causing the \
729 interference lines to ``spray.'' Written by Jamie Zawinski.
731 *hacks.lightning.documentation: \
732 This one draws crackling fractal lightning bolts. It's simple, \
733 direct, and to the point. If only it had sound... Written by Keith \
736 *hacks.strange.documentation: \
737 This draws strange attractors: it's a colorful, \
738 unpredictably-animating field of dots that swoops and twists around. \
739 The motion is very nice. Written by Massimino Pascal.
741 *hacks.spiral.documentation: \
742 Moving circular patterns, by Peter Schmitzberger. Moving circular \
743 patterns means moire; interference patterns, of course.
745 *hacks.laser.documentation: \
746 Moving radiating lines, that look vaguely like scanning laser beams. \
747 Written by Pascal Pensa. (Frankie say: relax.)
749 *hacks.grav.documentation: \
750 This program draws a simple orbital simulation. If you turn on \
751 trails, it looks kind of like a cloud-chamber photograph. Written \
754 *hacks.drift.documentation: \
755 How could one possibly describe this except as ``drifting recursive \
756 fractal cosmic flames?'' Another fine hack from the Scott Draves \
757 collection of fine hacks.
760 *hacks.ifs.documentation: \
761 This one draws spinning, colliding iterated-function-system images. \
762 Written by Massimino Pascal.
764 *hacks.julia.documentation: \
765 This one draws spinning, animating (are you detecting a pattern here \
766 yet?) explorations of the Julia set. You've probably seen static \
767 images of this fractal form before, but it's a lot of fun to watch in \
768 motion as well. One interesting thing is that there is a small \
769 swinging dot passing in front of the image, which indicates the \
770 control point from which the rest of the image was generated. \
771 Written by Sean McCullough.
773 *hacks.penrose.documentation: \
774 Draws quasiperiodic tilings; think of the implications on modern \
775 formica technology. Written by Timo Korvola. \
777 In April 1997, Sir Roger Penrose, a British math professor who has \
778 worked with Stephen Hawking on such topics as relativity, black \
779 holes, and whether time has a beginning, filed a \
780 copyright-infringement lawsuit against the Kimberly-Clark \
781 Corporation, which Penrose said copied a pattern he created (a \
782 pattern demonstrating that ``a nonrepeating pattern could exist in \
783 nature'') for its Kleenex quilted toilet paper. Penrose said he \
784 doesn't like litigation but, ``When it comes to the population of \
785 Great Britain being invited by a multinational to wipe their bottoms \
786 on what appears to be the work of a Knight of the Realm, then a last \
787 stand must be taken.'' \
789 As reported by News of the Weird #491, 4-jul-1997.
791 *hacks.sierpinski.documentation: \
792 This draws the two-dimensional variant of the recursive Sierpinski \
793 triangle fractal. Written by Desmond Daignault.
795 *hacks.braid.documentation: \
796 Draws random color-cycling inter-braided concentric circles. Written \
799 *hacks.galaxy.documentation: \
800 This draws spinning galaxies, which then collide and scatter their \
801 stars to the, uh, four winds or something. Originally an Amiga \
802 program by Uli Siegmund.
804 *hacks.bouboule.documentation: \
805 This draws what looks like a spinning, deforming baloon with \
806 varying-sized spots painted on its invisible surface. Written by \
809 *hacks.swirl.documentation: \
810 More flowing, swirly patterns. This version is by M. Dobie and R. \
811 Taylor, but you might have seen a Mac program similar to this called \
812 FlowFazer. There is also a cool Java applet of a similar concept
814 *hacks.flag.documentation: \
815 This draws a waving colored flag, that undulates its way around the \
816 screen. The trick is the flag can contain arbitrary text and images. \
817 By default, it displays either the current system name and OS \
818 type, or a picture of ``Bob,'' but you can replace the text or the \
819 image with a command-line option. Written by Charles Vidal and Jamie \
822 *hacks.sphere.documentation: \
823 Another of the classic screenhacks of the distant past, this one \
824 draws shaded spheres in multiple colors. This hack traces its \
825 lineage back to Tom Duff in 1982.
827 *hacks.forest.documentation: \
828 This draws fractal trees. Written by Peter Baumung. Everybody loves \
831 *hacks.lisa.documentation: \
832 This draws Lisajous loops, by Caleb Cullen. Remember that device \
833 they had the Phantom Zone prisoners in during their trial in \
834 Superman? I think that was one of these.
836 *hacks.lissie.documentation: \
837 Another Lissajous figure. This one draws the progress of circular \
838 shapes along a path. Written by Alexander Jolk.
840 *hacks.goop.documentation: \
841 This draws set of animating, transparent, amoeba-like blobs. The \
842 blobs change shape as they wander around the screen, and they are \
843 translucent, so you can see the lower blobs through the higher ones, \
844 and when one passes over another, their colors merge. Written by \
845 Jamie Zawinski. I got the idea for this from a cool mouse pad I \
846 have, which achieves the same kind of effect in real life by having \
847 several layers plastic with colored oil between them. Written by \
850 *hacks.starfish.documentation: \
851 This generates a sequence of undulating, throbbing, star-like \
852 patterns which pulsate, rotate, and turn inside out. Another display \
853 mode uses these shapes to lay down a field of colors, which are then \
854 cycled. The motion is very organic. Written by Jamie Zawinski.
856 *hacks.munch.documentation: \n\
863 As reported by HAKMEM, in 1962, Jackson Wright wrote the above PDP-1 \
864 code. That code still lives on in this screenhack, some 35 years \
865 later. The number of lines of enclosing code has increased \
866 substantially, however. This version is by Tim Showalter.
868 *hacks.fadeplot.name: FadePlot
869 *hacks.fadeplot.documentation: \
870 Draws what looks like a waving ribbon following a sinusoidal path. \
871 Written by Bas van Gaalen and Charles Vidal.
873 *hacks.coral.documentation: \
874 Simulates coral growth, albeit somewhat slowly. This image doesn't \
875 really do it justice. Written by Frederick Roeber.
877 *hacks.mountain.documentation: \
878 Generates random 3d plots that look vaguely mountainous. Written by \
881 *hacks.triangle.documentation: \
882 Generates random mountain ranges using iterative subdivision of \
883 triangles. Written by Tobias Gloth.
885 *hacks.worm.documentation: \
886 An ancient xlock hack that draws multicolored worms that crawl around \
887 the screen. Written by Brad Taylor, Dave Lemke, Boris Putanec, and \
890 *hacks.rotor.documentation: \
891 Another ancient xlock demo, this one by Tom Lawrence. It draws a \
892 line segment moving along a complex spiraling curve. I tweaked this \
893 to generate curvier lines, but still frames of it don't look like \
896 *hacks.ant.documentation: \
897 A cellular automaton that is really a two-dimensional Turing machine: \
898 as the heads (``ants'') walk along the screen, they change pixel \
899 values in their path. Then, as they pass over changed pixels, their \
900 behavior is influenced. Written by David Bagley.
902 *hacks.demon.documentation: \
903 A cellular automaton that starts with a random field, and organizes \
904 it into stripes and spirals. Written by David Bagley.
906 *hacks.loop.documentation: \
907 This one produces loop-shaped colonies that spawn, age, and \
908 eventually die. Written by David Bagley.
910 *hacks.vines.documentation: \
911 This one generates a continuous sequence of small, curvy geometric \
912 patterns. It scatters them around your screen until it fills up, \
913 then it clears the screen and starts over. Written by Tracy Camp and \
916 *hacks.kaleidescope.documentation: \
917 Another clone of an ancient meme, consisting largely of frenetic \
918 rotational motion of colored lines. This one is by Ron Tapia. The \
919 motion is nice, but I think it needs more solids, or perhaps just \
920 brighter colors. More variations in the rotational speed might help, \
923 *hacks.xjack.documentation: \
924 This program behaves schizophrenically and makes a lot of typos. \
925 Written by Jamie Zawinski. If you haven't seen Stanley Kubrick's \
926 masterpiece, ``The Shining,'' you won't get it. Those who have \
927 describe this hack as ``inspired.''
929 *hacks.xlyap.documentation: \
930 This generates pretty fractal pictures by doing funky math involving \
931 the ``Lyapunov exponent.'' It has a cool interactive mode, too. \
932 Written by Ron Record.
934 *hacks.cynosure.documentation: \
935 A hack similar to `greynetic', but less frenetic. The first \
936 implementation was by Stephen Linhart; then Ozymandias G. Desiderata \
937 wrote a Java applet clone. That clone was discovered by Jamie \
938 Zawinski, and ported to C for inclusion here.
940 *hacks.flow.documentation: \
941 Another series of strange attractors: a flowing series of points, \
942 making strange rotational shapes. Written by Jeff Butterworth.
944 *hacks.epicycle.documentation: \
945 This program draws the path traced out by a point on the edge of a \
946 circle. That circle rotates around a point on the rim of another \
947 circle, and so on, several times. These were the basis for the \
948 pre-heliocentric model of planetary motion. Written by James \
951 *hacks.interference.documentation: \
952 Another color-field hack, this one works by computing decaying \
953 sinusoidal waves, and allowing them to interfere with each other as \
954 their origins move. Written by Hannu Mallat.
956 *hacks.truchet.documentation: \
957 This draws line- and arc-based Truchet patterns that tile the screen. \
958 Written by Adrian Likins.
960 *hacks.bsod.name: BSOD
961 *hacks.bsod.documentation: \
962 BSOD stands for ``Blue Screen of Death.'' The finest in personal \
963 computer emulation, this hack simulates popular screen savers from a \
964 number of less robust operating systems. Written by Jamie Zawinski.
966 *hacks.crystal.documentation: \
967 Moving polygons, similar to a kaleidescope (more like a kaleidescope \
968 than the hack called `kaleid,' actually.) This one by Jouk Jansen.
970 *hacks.discrete.documentation: \
971 More ``discrete map'' systems, including new variants of Hopalong and \
972 Julia, and a few others. Written by Tim Auckland.
974 *hacks.kumppa.documentation: \
975 Spiraling, spinning, and very, very fast splashes of color rush \
976 toward the screen. Written by Teemu Suutari.
978 *hacks.rd-bomb.name: RD-Bomb
979 *hacks.rd-bomb.documentation: \
980 Another variation of the `Bomb' program by Scott Draves. This draws \
981 a grid of growing square-like shapes that, once they overtake each \
982 other, react in unpredictable ways. ``RD'' stands for \
985 *hacks.sonar.documentation: \
986 This program draws a simulation of a sonar screen. Written by \
987 default, it displays a random assortment of ``bogies'' on the screen, \
988 but if compiled properly, it can ping (pun intended) your local \
989 network, and actually plot the proximity of the other hosts on your \
990 network to you. It would be easy to make it monitor other sources of \
991 data, too. (Processes? Active network connections? CPU usage per \
992 user?) Written by Stephen Martin.
995 *hacks.t3d.documentation: \
996 This draws a working analog clock composed of floating, throbbing \
997 bubbles. Written by Bernd Paysan.
999 *hacks.penetrate.documentation: \
1000 This hack simulates the classic arcade game Missile Command. Written \
1003 *hacks.deluxe.documentation: \
1004 This draws a pulsing sequence of stars, circles, and lines. It would \
1005 look better if it was faster, but as far as I can tell, there is no \
1006 way to make this be both: fast, and flicker-free. Yet another reason \
1007 X sucks. Written by Jamie Zawinski.
1009 *hacks.compass.documentation: \
1010 This draws a compass, with all elements spinning about randomly, for \
1011 that ``lost and nauseous'' feeling. Written by Jamie Zawinski.
1013 *hacks.squiral.documentation: \
1014 Draws a set of interacting, square-spiral-producing automata. The \
1015 spirals grow outward until they hit something, then they go around \
1016 it. Written by Jeff Epler.
1018 *hacks.xflame.documentation: \
1019 Draws a simulation of pulsing fire. It can also take an arbitrary \
1020 image and set it on fire too. Written by Carsten Haitzler, hacked on \
1023 *hacks.wander.documentation: \
1024 Draws a colorful random-walk, in various forms. Written by Rick \
1027 *hacks.critical.documentation: \
1028 Draws a system of self-organizing lines. It starts out as random \
1029 squiggles, but after a few iterations, order begins to appear. \
1030 Written by Martin Pool.
1032 *hacks.phosphor.documentation: \
1033 Draws a simulation of an old terminal, with large pixels and \
1034 long-sustain phosphor. It can run any program as a source of the text \
1035 it displays. Written by Jamie Zawinski.
1037 *hacks.xmatrix.documentation: \
1038 A rendition of the text scrolls seen in the movie ``The Matrix.'' \
1039 Written by Jamie Zawinski.
1041 *hacks.petri.documentation: \
1042 This simulates colonies of mold growing in a petri dish. Growing \
1043 colored circles overlap and leave spiral interference in their wake. \
1044 Written by Dan Bornstein.
1046 *hacks.shadebobs.name: ShadeBobs
1047 *hacks.shadebobs.documentation: \
1048 This draws smoothly-shaded oscilating oval patterns, that look \
1049 something like vapor trails or neon tubes. Written by Shane Smit.
1051 *hacks.ccurve.name: C Curve
1052 *hacks.ccurve.documentation: \
1053 Generates self-similar linear fractals, including the classic ``C \
1054 Curve.'' Written by Rick Campbell.
1056 *hacks.blaster.documentation: \
1057 Draws a simulation of flying space-combat robots (cleverly disguised \
1058 as colored circles) doing battle in front of a moving star field. \
1059 Written by Jonathan Lin.
1061 *hacks.bumps.documentation: \
1062 A bit like `Spotlight', except that instead of merely exposing part \
1063 of your desktop, it creates a bump map from it. Basically, it \
1064 3D-izes a roaming section of your desktop, based on color intensity. \
1065 Written by Shane Smit.
1067 *hacks.xteevee.name: XTeeVee
1068 *hacks.xteevee.documentation: \
1069 XTeeVee simulates various television problems, including static, \
1070 loss of vertical hold, and a test pattern. By Greg Knauss.
1072 *hacks.xspirograph.name: XSpiroGraph
1073 *hacks.xspirograph.documentation: \
1074 Simulates that pen-in-nested-plastic-gears toy from your childhood. \
1077 *hacks.nerverot.name: NerveRot
1078 *hacks.nerverot.documentation: \
1079 Draws a rolling tube, composed of nervously vibrating squiggles. \
1082 *hacks.webcollage.name: WebCollage
1083 *hacks.webcollage.documentation: \
1084 This program makes collages out of random images pulled off of the \
1085 World Wide Web. It finds these images by doing random web searches, \
1086 and then extracting images from the returned pages. It can also be \
1087 set up to filter the images through the `VidWhacker' program, above, \
1088 which looks really great. \
1090 (Note that most of the images it finds are text, and not pictures. \
1091 This is because most of the web is pictures of text. Which is pretty \
1092 sad.) Written by Jamie Zawinski.
1094 *hacks.vidwhacker.name: VidWhacker
1095 *hacks.vidwhacker.documentation: \
1096 This is actually just a shell script that grabs a frame of video from \
1097 the system's video input, and then uses some PBM filters (chosen at \
1098 random) to manipulate and recombine the video frame in various ways \
1099 (edge detection, subtracting the image from a rotated version of \
1100 itself, etc.) Then it displays that image for a few seconds, and \
1101 does it again. This works really well if you just feed broadcast \
1102 television into it. \
1104 Currently, the three lines of the script that actually grab the \
1105 source picture are SGI specific, but it should be trivial to adapt it \
1106 to work on other systems that can grab video (please send me the \
1107 changes if you do this...)
1109 *hacks.rocks.documentation: \
1110 This draws an animation of flight through an asteroid field, with \
1111 changes in rotation and direction. It can also display 3D \
1112 separations for red/blue glasses! Mostly written by Jamie Zawinski.
1114 *hacks.bubbles.documentation: \
1115 This simulates the kind of bubble formation that happens when water \
1116 boils:small bubbles appear, and as they get closer to each other, \
1117 they combine to form larger bubbles, which eventually pop. Written \
1120 *hacks.gears.documentation: \
1121 This draws a set of turning, interlocking gears, rotating in three \
1122 dimensions. Another GL hack, by Danny Sung, Brian Paul, and Ed \
1125 *hacks.superquadrics.documentation: \
1126 Ed Mackey reports that he wrote the first version of this program in \
1127 BASIC on a Commodore 64 in 1987, as a 320x200 black and white \
1128 wireframe. Now it is GL and has specular reflections.
1130 *hacks.morph3d.name: Morph3D
1131 *hacks.morph3d.documentation: \
1132 Another 3d shape-changing GL hack, by Marcelo Vianna. It has the \
1133 same shiny-plastic feel as Superquadrics, as many computer-generated \
1136 *hacks.cage.documentation: \
1137 This draws Escher's ``Impossible Cage,'' a 3d analog of a moebius \
1138 strip, and rotates it in three dimensions. Written by Marcelo \
1141 *hacks.moebius.documentation: \
1142 Another M. C. Escher hack by Marcelo Vianna, this one draws \
1143 ``Moebius Strip II,'' a GL image of ants walking along the surface of \
1146 *hacks.stairs.documentation: \
1147 by Marcelo Vianna's third Escher GL hack, this one draws an \
1148 ``infinite'' staircase.
1150 *hacks.pipes.documentation: \
1151 If you've ever been in the same room with a Windows NT machine, \
1152 you've probably seen this GL hack. This version is by Marcelo \
1155 *hacks.sproingies.documentation: \
1156 Q-Bert meets Marble Madness! Written by Ed Mackey.
1158 *hacks.rubik.documentation: \
1159 Draws a Rubik's Cube that rotates in three dimensions and repeatedly \
1160 shuffles and solves itself. Another fine GL hack by Marcelo Vianna.
1162 *hacks.atlantis.documentation: \
1163 This is xfishtank writ large: a GL animation of a number of sharks, \
1164 dolphins, and whales. The swimming motions are great. Originally \
1165 written by Mark Kilgard.
1167 *hacks.lament.documentation: \
1168 Animates a simulation of Lemarchand's Box, repeatedly solving itself. \
1169 Requires OpenGL, and a machine with fast hardware support for texture \
1170 maps. Warning: occasionally opens doors. Written by Jamie Zawinski.
1172 *hacks.bubble3d.name: Bubble3D
1173 *hacks.bubble3d.documentation: \
1174 Draws a stream of rising, undulating 3D bubbles, rising toward the \
1175 top of the screen, with nice specular reflections. Written by Richard \
1178 *hacks.glplanet.name: GLPlanet
1179 *hacks.glplanet.documentation: \
1180 Draws a planet bouncing around in space. Written by David Konerding. \
1181 The built-in image is a map of the earth (extracted from `xearth'), \
1182 but you can wrap any texture around the sphere, e.g., the planetary \
1183 textures that come with `ssystem'.
1185 *hacks.pulsar.documentation: \
1186 Draws some intersecting planes, making use of alpha blending, fog, \
1187 textures, and mipmaps, plus a ``frames per second'' meter so that you \
1188 can tell how fast your graphics card is... Requires OpenGL. Written \
1191 *hacks.extrusion.documentation: \
1192 Draws various rotating extruded shapes that twist around, lengthen, \
1193 and turn inside out. Created by David Konerding from the samples \
1194 that come with the GL Extrusion library by Linas Vepstas.
1196 *hacks.sierpinski3d.name: Sierpinski3D
1197 *hacks.sierpinski3d.documentation: \
1198 This draws the three-dimensional variant of the recursive Sierpinski \
1199 triangle fractal, using GL. Written by Tim Robinson and Jamie Zawinski.
1201 *hacks.ripples.documentation: \
1202 This draws rippling interference patterns like splashing water. \
1203 With the -water option, it manipulates your desktop image to look \
1204 like something is dripping into it. Written by Tom Hammersley.
1207 !=============================================================================
1209 ! Documentation for some programs that are not bundled with XScreenSaver
1211 !=============================================================================
1213 *hacks.xdaliclock.name: XDaliClock
1214 *hacks.xdaliclock.documentation: \
1215 XDaliClock draws a large digital clock, the numbers of which change by \
1216 ``melting'' into their new shapes. Written by Jamie Zawinski. This \
1217 is not included with the XScreenSaver package, but if you don't have \
1218 it already, you can find it at <http://www.jwz.org/xdaliclock/>.
1220 *hacks.xearth.documentation: \
1221 XEarth draws an image of the Earth, as seen from your favorite vantage \
1222 point in space, correctly shaded for the current position of the Sun. \
1223 Written by Kirk Johnson. This is not included with the XScreenSaver \
1224 package, but if you don't have it already, you can find it at \
1225 <http://www.cs.colorado.edu/~tuna/xearth/>.
1227 *hacks.ssystem.name: SSystem
1228 *hacks.ssystem.documentation: \
1229 SSystem is a GL Solar System simulator. It simulates flybys of Sun, \
1230 the nine planets and a few major satellites, with four camera modes. \
1231 Written by Raul Alonso. This is not included with the XScreenSaver \
1232 package, but if you don't have it already, you can find it at \
1233 <http://www1.las.es/~amil/ssystem/>.
1235 *hacks.xmountains.documentation: \
1236 XMountains generates realistic-looking fractal terrains of snow-capped \
1237 mountains near water, with either a top view or a side view. \
1238 Written by Stephen Booth. This is not included with the XScreenSaver \
1239 package, but if you don't have it already, you can find it at \
1240 <http://www.epcc.ed.ac.uk/~spb/xmountains/>. \
1242 Be sure to compile it with -DVROOT or it won't work right when launched \
1243 by the xscreensaver daemon.
1245 *hacks.xaos.name: XaoS
1246 *hacks.xaos.documentation: \
1247 XaoS generates fast fly-through animations of the Mandelbrot and other \
1248 fractal sets. Written by Thomas Marsh and Jan Hubicka. This is not \
1249 included with the XScreenSaver package, but if you don't have it \
1250 already, you can find it at <http://limax.paru.cas.cz/~hubicka/XaoS/>.
1252 *hacks.xfishtank.name: XFishTank
1253 *hacks.xfishtank.documentation: \
1254 Fish! This is not included with the XScreenSaver package, but if you \
1255 don't have it already, you can find it at \
1256 <http://metalab.unc.edu/pub/Linux/X11/demos/>.
1258 *hacks.xsnow.documentation: \
1259 Draws falling snow and the occasional tiny Santa. By Rick Jansen. \
1260 You can find it at <http://zoutmijn.bpa.nl/rick/Xsnow/>.
1262 *hacks.goban.documentation: \
1263 Replays historical games of go (aka wei-chi and baduk) on the screen. \
1264 By Scott Draves. You can find it at <http://www.draves.org/goban/>.
1266 *hacks.electricsheep.name: ElectricSheep
1267 *hacks.electricsheep.documentation: \
1268 ElectricSheep is an xscreensaver module that displays mpeg video of \
1269 an animated fractal flame. In the background, it contributes render \
1270 cycles to the next animation. Periodically it uploades completed \
1271 frames to the server, where they are compressed for distribution to \
1274 This program is recommended only if you have a high bandwidth \
1275 connection to the Internet. \
1277 By Scott Draves. You can find it at <http://www.electricsheep.org/>. \
1278 See that web site for configuration information.
1280 ! (xrdb prevention kludge: whole file) */