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\
251 color: bubbles -root \n\
252 default-n: webcollage -root \n\
253 default-n: "WebCollage (whacked)" \
254 webcollage -root -filter \
255 'vidwhacker -stdin -stdout' \n\
256 - default-n: vidwhacker -root \n\
258 @GL_KLUDGE@ GL: gears -root \n\
259 @GL_KLUDGE@ GL: superquadrics -root \n\
260 @GL_KLUDGE@ GL: morph3d -root \n\
261 @GL_KLUDGE@ GL: cage -root \n\
262 @GL_KLUDGE@ GL: moebius -root \n\
263 @GL_KLUDGE@ GL: stairs -root \n\
264 @GL_KLUDGE@ GL: pipes -root \n\
265 @GL_KLUDGE@ GL: sproingies -root \n\
266 @GL_KLUDGE@ GL: rubik -root \n\
267 @GL_KLUDGE@ GL: atlantis -root \n\
268 @GL_KLUDGE@ GL: lament -root \n\
269 @GL_KLUDGE@ GL: bubble3d -root \n\
270 @GL_KLUDGE@ GL: glplanet -root \n\
271 @GL_KLUDGE@ GL: pulsar -root \n\
272 - GL: "Pulsar (textures)" \
273 pulsar -root -texture -mipmap \
274 -texture_quality -light -fog \n\
275 @GLE_KLUDGE@GL: extrusion -root \n\
276 @GL_KLUDGE@ GL: sierpinski3d -root \n\
277 @GL_KLUDGE@ GL: starwars -root \n\
279 - xdaliclock -root -builtin3 -cycle \n\
280 - default-n: xearth -nofork -nostars -ncolors 50 \
281 -night 3 -wait 0 -timewarp 400.0 -pos \
283 - ssystem -fullscreen :32 \n\
284 - xmountains -b -M -Z 0 -r 1 \n\
285 - "XMountains (top)" xmountains -b -M -Z 0 -r 1 -m \n\
286 - xaos -root -autopilot -incoloring -1 \
287 -nogui -outcoloring -1 \n\
288 - xfishtank -d -s \n\
294 ! To display a randomized slideshow of images, you can do something like this:
296 ! default-n: "Slideshow" xv -root -rmode 5 -random -viewonly \
297 ! -wloop -wait 30 $HOME/bitmaps/*.jpg \n\
299 ! or, if you prefer "xli" to "xv", like this: (but note that xli's "-delay"
300 ! option doesn't work in conjunction with "-onroot", so you need to add a
301 ! line for each image individually... "xv" is better in this respect.)
303 ! default-n: xli -quiet -onroot -center -border black \
304 ! $HOME/bitmaps/pic1.jpg \n\
305 ! default-n: xli -quiet -onroot -center -border black \
306 ! $HOME/bitmaps/pic2.jpg \n\
307 ! default-n: xli -quiet -onroot -center -border black \
308 ! $HOME/bitmaps/pic3.jpg \n\
310 ! Note that we've used "default-n" as the visual name, rather than just
311 ! "default": this means "default visual, no install", that is, it's like
312 ! specifying the command-line arguments "-visual default -no-install".
313 ! This is necessary because, when XV or XLI arerunning in "-root" mode, they
314 ! always assume that the default visual and colormap are being used, rather
315 ! than examining the window it is drawing on to see what visual and colormap
316 ! it has. If we didn't force the default visual to be used, we would get an
317 ! X error. If we didn't force the default colormap to be installed, the
318 ! colors would be all wrong. "default-i" may also be used as a visual name
319 ! (meaning, "-visual default -install") but you probably won't ever need
323 ! Some of the GL demos that SGI ships work with XScreenSaver; most don't.
324 ! XScreenSaver includes a program (not built or installed by default)
325 ! called "xscreensaver-sgigl". To use the SGI demos with XScreenSaver,
326 ! build that program, and use it to launch the SGI demos. For example,
327 ! on Irix 6.2, you can do this:
329 ! xscreensaver-sgigl /usr/demos/bin/ep -S
330 ! xscreensaver-sgigl /usr/demos/bin/bongo
332 ! On Irix 6.3, things have moved, so you need to do it like this:
334 ! xscreensaver-sgigl /usr/sbin/ep -S
336 ! You can also use the "ant" demo, but first you need to wrap a shell script
337 ! around it that cds to its home directory, so that it can find its files;
338 ! and also pass it the -S argument, to prevent it from forking. What a mess!
339 ! Basically, the SGI demo writers went out of their way to make my life hell.
343 !=============================================================================
345 ! You probably don't want to change anything after this point.
347 !=============================================================================
350 XScreenSaver.pointerPollTime: 5
351 XScreenSaver.initialDelay: 0
352 XScreenSaver.windowCreationTimeout: 30
353 XScreenSaver.bourneShell: /bin/sh
356 ! Resources for the password and splash-screen dialog boxes of
357 ! the "xscreensaver" daemon.
359 *Dialog.headingFont: *-times-bold-r-*-*-*-180-*-*-*-iso8859-1
360 *Dialog.bodyFont: *-helvetica-bold-r-*-*-*-140-*-*-*-iso8859-1
361 *Dialog.labelFont: *-helvetica-bold-r-*-*-*-140-*-*-*-iso8859-1
362 *Dialog.buttonFont: *-helvetica-bold-r-*-*-*-140-*-*-*-iso8859-1
363 *Dialog.dateFont: *-courier-medium-r-*-*-*-80-*-*-*-iso8859-1
364 *Dialog.foreground: #000000
365 *Dialog.background: #BFBFBF
366 *Dialog.Button.foreground: #000000
367 *Dialog.Button.background: #D0D0D0
368 *Dialog.text.foreground: #000000
369 *Dialog.text.background: #FFFFFF
370 *Dialog.logo.foreground: #FF0000
371 *Dialog.logo.background: #FFFFFF
372 *Dialog.topShadowColor: #E7E7E7
373 *Dialog.bottomShadowColor: #737373
374 *Dialog.logo.width: 200
375 *Dialog.logo.height: 200
376 *Dialog.internalBorderWidth: 30
377 *Dialog.borderWidth: 1
378 *Dialog.shadowThickness: 4
380 *passwd.heading.label: XScreenSaver %s
381 *passwd.body.label: This display is locked.
382 *passwd.user.label: User:
383 *passwd.passwd.label: Password:
384 *passwd.passwdFont: *-courier-medium-r-*-*-*-140-*-*-*-iso8859-1
385 *passwd.thermometer.width: 8
387 *splash.heading.label: XScreenSaver %s
388 *splash.body.label: Copyright © 1991-1999 by
389 *splash.body2.label: Jamie Zawinski <jwz@jwz.org>
390 *splash.demo.label: Demo
391 *splash.prefs.label: Prefs
392 *splash.help.label: Help
395 ! Resources for the Motif dialog boxes of the "xscreensaver-demo" program.
397 *fontList: *-helvetica-medium-r-*-*-*-120-*-*-*-iso8859-1
398 *demoDialog*label1.fontList: *-helvetica-medium-r-*-*-*-140-*-*-*-iso8859-1
399 *cmdText.fontList: *-courier-medium-r-*-*-*-120-*-*-*-iso8859-1
400 *label0.fontList: *-helvetica-bold-r-*-*-*-140-*-*-*-iso8859-1
401 XScreenSaver*doc.fontList: *-helvetica-medium-r-*-*-*-100-*-*-*-iso8859-1
402 ! above must be fully qualified to get around *sgiMode.
406 *XmTextField.foreground: #000000
407 *XmTextField.background: #FFFFFF
408 *list.foreground: #000000
409 *list.background: #FFFFFF
411 *ApplicationShell.title: XScreenSaver
412 *warning.title: XScreenSaver
413 *warning_popup.title: XScreenSaver
414 *allowShellResize: True
417 *menubar*file.labelString: File
418 *menubar*file.mnemonic: F
419 *file.blank.labelString: Blank Screen Now
420 *file.blank.mnemonic: B
421 *file.lock.labelString: Lock Screen Now
422 *file.lock.mnemonic: L
423 *file.kill.labelString: Kill Daemon
424 *file.kill.mnemonic: K
425 *file.restart.labelString: Restart Daemon
426 *file.restart.mnemonic: R
427 *file.exit.labelString: Exit
428 *file.exit.mnemonic: E
430 *menubar*edit.labelString: Edit
431 *menubar*edit.mnemonic: E
432 *edit.cut.labelString: Cut
433 *edit.cut.mnemonic: u
434 *edit.copy.labelString: Copy
435 *edit.copy.mnemonic: C
436 *edit.paste.labelString: Paste
437 *edit.paste.mnemonic: P
439 *menubar*help.labelString: Help
440 *menubar*help.mnemonic: H
441 *help.about.labelString: About...
442 *help.about.mnemonic: A
443 *help.docMenu.labelString: Documentation...
444 *help.docMenu.mnemonic: D
446 *demoTab.marginWidth: 10
447 *optionsTab.marginWidth: 10
449 *XmScrolledWindow.topOffset: 10
450 *XmScrolledWindow.leftOffset: 10
451 *demoTab.topOffset: 4
452 *form1.bottomOffset: 10
453 *form3.leftOffset: 10
454 *form3.rightOffset: 10
456 *frame.bottomOffset: 10
457 *enabled.topOffset: 10
458 *visLabel.topOffset: 10
460 *form4.bottomOffset: 4
462 *XmComboBox.marginWidth: 0
463 *XmComboBox.marginHeight: 0
465 *demo.marginWidth: 30
466 *demo.marginHeight: 4
471 *down.marginHeight: 4
474 *frame.traversalOn: False
476 *list.automaticSelection: True
477 *list.visibleItemCount: 20
481 *demoTab.labelString: Graphics Demos
482 *optionsTab.labelString: Screensaver Options
483 *down.labelString: \\/
485 *frameLabel.labelString:
486 *cmdLabel.labelString: Command Line:
487 *cmdLabel.alignment: ALIGNMENT_BEGINNING
488 *enabled.labelString: Enabled
489 *visLabel.labelString: Visual:
490 *visLabel.alignment: ALIGNMENT_END
491 *visLabel.leftOffset: 20
492 *demo.labelString: Demo
493 *man.labelString: Documentation...
494 *done.labelString: Quit
496 *preferencesLabel.labelString: XScreenSaver Parameters
498 *timeoutLabel.labelString: Saver Timeout
499 *cycleLabel.labelString: Cycle Timeout
500 *fadeSecondsLabel.labelString: Fade Duration
501 *fadeTicksLabel.labelString: Fade Ticks
502 *lockLabel.labelString: Lock Timeout
503 *passwdLabel.labelString: Password Timeout
504 *preferencesForm*XmTextField.columns: 8
506 *verboseToggle.labelString: Verbose
507 *cmapToggle.labelString: Install Colormap
508 *fadeToggle.labelString: Fade Colormap
509 *unfadeToggle.labelString: Unfade Colormap
510 *lockToggle.labelString: Require Password
517 *Cancel.marginWidth: 30
518 *Cancel.marginHeight: 4
519 *Cancel.rightOffset: 10
520 *Cancel.bottomOffset: 10
525 !=============================================================================
527 ! Online documentation for xscreensaver-demo.
529 !=============================================================================
531 ! sanity check -- hands off.
532 *hacks.documentation.isInstalled: True
534 *hacks.qix.documentation: \
535 This is the swiss army chainsaw of qix programs. It bounces a series \
536 of line segments around the screen, and uses variations on this basic \
537 motion pattern to produce all sorts of different presentations: line \
538 segments, filled polygons, overlapping translucent areas... Written \
541 *hacks.attraction.documentation: \
542 Like qix, this uses a simple simple motion model to generate many \
543 different display modes. The control points attract each other up to \
544 a certain distance, and then begin to repel each other. The \
545 attraction/repulsion is proportional to the distance between any two \
546 particles, similar to the strong and weak nuclear forces. \
548 One of the most interesting ways to watch this hack is simply as \
549 bouncing balls, because their motions and interactions with each \
550 other are so odd. Sometimes two balls will get into a tight orbit \
551 around each other, to be interrupted later by a third, or by the edge \
552 of the screen. It looks quite chaotic. \
554 Written by Jamie Zawinski, based on Lisp code by John Pezaris.
556 *hacks.pyro.documentation: \
557 Pyro draws exploding fireworks. Blah blah blah. Written by Jamie \
560 *hacks.helix.documentation: \
561 This repeatedly generates spirally string-art-ish patterns. Written \
564 *hacks.pedal.documentation: \
565 This is sort of a combination spirograph/string-art. It generates a \
566 large, complex polygon, and lets the X server do the bulk of the work \
567 by giving it an even/odd winding rule. Written by Dale Moore, based \
568 on some ancient PDP-11 code.
570 *hacks.rorschach.documentation: \
571 This generates random inkblot patterns. The algorithm is deceptively \
572 simple for how well it works; it merely walks a dot around the screen \
573 randomly, and then reflects the image horizontally, vertically, or \
574 both. Any deep-seated neurotic tendencies which this program reveals \
575 are your own problem. Written by Jamie Zawinski.
577 *hacks.hopalong.documentation: \
578 This draws lacy fractal patterns, based on iteration in the imaginary \
579 plane, from a 1986 Scientific American article. Mostly written by \
582 *hacks.greynetic.documentation: \
583 This draws random colored and stippled rectangles. Written by Jamie \
586 *hacks.xroger.documentation: \
587 The XScreenSaver logo. Don't you hate it? So do I. Would you like \
588 to design a new logo for XScreenSaver? If so, send jwz your \
591 *hacks.imsmap.name: IMSmap
592 *hacks.imsmap.documentation: \
593 This generates random cloud-like patterns. It looks quite different \
594 in monochrome and color. The basic idea is to take four points on \
595 the edge of the image, and assign each a random ``elevation''. Then \
596 find the point between them, and give it a value which is the average \
597 of the other four, plus some small random offset. Then coloration is \
598 done based on elevation. \
600 The color selection is done by binding the elevation to either hue, \
601 saturation, or brightness, and assigning random values to the others. \
602 The ``brightness'' mode tends to yield cloudlike patterns, and the \
603 others tend to generate images that look like heat-maps or CAT-scans. \
604 Written by Juergen Nickelsen and Jamie Zawinski.
606 *hacks.slidescreen.name: SlideScreen
607 *hacks.slidescreen.documentation: \
608 This grabs an image of whatever is on your screen, divides it into a \
609 grid, and then randomly shuffles the squares around as if it was one \
610 of those annoying ``16-puzzle'' games, where there is a grid of \
611 squares, one of which is missing. I hate trying to solve those \
612 puzzles, but watching one permute itself is more amusing. Written by \
615 *hacks.decayscreen.name: DecayScreen
616 *hacks.decayscreen.documentation: \
617 This grabs an image of whatever is on your screen, and makes it melt. \
618 You've no doubt seen this effect before, but no screensaver would \
619 really be complete without it. It works best if there's something \
620 colorful visible. Warning, if the effect continues after the screen \
621 saver is off, seek medical attention. Written by David Wald and \
624 A number of these screenhacks have the ability to take an image of \
625 your desktop and manipulate it in some way. On SGI systems, these \
626 programs are able to (at random) pull their source image from the \
627 system's video input instead! This works nicely if you leave some \
628 some random television station plugged in.
630 *hacks.jigsaw.documentation: \
631 This grabs a screen image, carves it up into a jigsaw puzzle, \
632 shuffles it, and then solves the puzzle. This works especially well \
633 when you feed it an external video signal instead of letting it grab \
634 the screen image (actually, I guess this is generally true...) When \
635 it is grabbing a video image, it is sometimes pretty hard to guess \
636 what the image is going to look like once the puzzle is solved. \
637 Written by Jamie Zawinski.
639 *hacks.blitspin.name: BlitSpin
640 *hacks.blitspin.documentation: \
641 The ``blitspin'' hack repeatedly rotates a bitmap by 90 degrees by \
642 using logical operations: the bitmap is divided into quadrants, and \
643 the quadrants are shifted clockwise. Then the same thing is done \
644 again with progressively smaller quadrants, except that all \
645 sub-quadrants of a given size are rotated in parallel. Written by \
646 Jamie Zawinski based on some cool SmallTalk code seen in in Byte \
649 As you watch it, the image appears to dissolve into static and then \
650 reconstitute itself, but rotated. You can provide the image to use, \
651 as an XBM or XPM file, or tell it to grab a screen image and rotate \
654 *hacks.slip.documentation: \
655 This program throws some random bits on the screen, then sucks them \
656 through a jet engine and spews them out the other side. To avoid \
657 turning the image completely to mush, every now and then it will and \
658 then it interjects some splashes of color into the scene, or go into \
659 a spin cycle, or stretch the image like taffy, or (this is my \
660 addition) grab an image of your current desktop to chew on. \
661 Originally written by Scott Draves; whacked on by Jamie Zawinski.
663 *hacks.distort.documentation: \
664 This hack grabs an image of the screen, and then lets a transparent \
665 lens wander around the screen, magnifying whatever is underneath. \
666 Written by Jonas Munsin.
668 *hacks.spotlight.documentation: \
669 Draws a spotlight scanning across a black screen, illumnating the \
670 underlying desktop when it passes. Written by Rick Schultz.
672 *hacks.hypercube.documentation: \
673 This displays 2D projections of the sequence of 3D objects which are \
674 the projections of the 4D analog to the cube: as a square is composed \
675 of four lines, each touching two others; and a cube is composed of \
676 six squares, each touching four others; a hypercube is composed of \
677 eight cubes, each touching six others. To make it easier to \
678 visualize the rotation, it uses a different color for the edges of \
679 each face. Don't think about it too long, or your brain will melt. \
680 Written by Joe Keane, Fritz Mueller, and Jamie Zawinski.
682 *hacks.halo.documentation: \
683 This draws trippy psychedelic circular patterns that hurt to look at. \
684 It can also animate the control-points, but that takes a lot of CPU \
685 and bandwidth. Written by Jamie Zawinski.
687 *hacks.maze.documentation: \
688 This is the ancient X maze demo, modified to work with xscreensaver. \
689 It generates a random maze, then solves it with visual feedback. \
690 Originally by Jim Randell; modified by a cast of thousands.
692 *hacks.noseguy.documentation: \
693 A little man with a big nose wanders around your screen saying \
694 things. The things which he says can come from a file, or from an \
695 external program like `zippy' or `fortune'. This was extracted from \
696 `xnlock' by Dan Heller. Colorized by Jamie Zawinski.
698 *hacks.flame.documentation: \
699 Another iterative fractal generator. Written by Scott Draves.
701 *hacks.lmorph.name: LMorph
702 *hacks.lmorph.documentation: \
703 This generates random spline-ish line drawings and morphs between \
704 them. Written by Sverre H. Huseby and Glenn T. Lines.
706 *hacks.deco.documentation: \
707 This one subdivides and colors rectangles randomly. It looks kind of \
708 like Brady-Bunch-era rec-room wall paneling. (Raven says: ``this \
709 screensaver is ugly enough to peel paint.'') Written by Jamie \
710 Zawinski, inspired by Java code by Michael Bayne.
712 *hacks.moire.documentation: \
713 This one draws cool circular interference patterns. Most of the \
714 circles you see aren't explicitly rendered, but show up as a result \
715 of interactions between the other pixels that were drawn. Written by \
716 Jamie Zawinski, inspired by Java code by Michael Bayne. As he \
717 pointed out, the beauty of this one is that the heart of the display \
718 algorithm can be expressed with just a pair of loops and a handful of \
719 arithmetic, giving it a high ``display hack metric''.
721 *hacks.moire2.documentation: \
722 Another example of the fun you can have with moire \
723 interference patterns; this hack generates fields of concentric \
724 circles or ovals, and combines the planes with various operations. \
725 The planes are moving independently of one another, causing the \
726 interference lines to ``spray.'' Written by Jamie Zawinski.
728 *hacks.lightning.documentation: \
729 This one draws crackling fractal lightning bolts. It's simple, \
730 direct, and to the point. If only it had sound... Written by Keith \
733 *hacks.strange.documentation: \
734 This draws strange attractors: it's a colorful, \
735 unpredictably-animating field of dots that swoops and twists around. \
736 The motion is very nice. Written by Massimino Pascal.
738 *hacks.spiral.documentation: \
739 Moving circular patterns, by Peter Schmitzberger. Moving circular \
740 patterns means moire; interference patterns, of course.
742 *hacks.laser.documentation: \
743 Moving radiating lines, that look vaguely like scanning laser beams. \
744 Written by Pascal Pensa. (Frankie say: relax.)
746 *hacks.grav.documentation: \
747 This program draws a simple orbital simulation. If you turn on \
748 trails, it looks kind of like a cloud-chamber photograph. Written \
751 *hacks.drift.documentation: \
752 How could one possibly describe this except as ``drifting recursive \
753 fractal cosmic flames?'' Another fine hack from the Scott Draves \
754 collection of fine hacks.
757 *hacks.ifs.documentation: \
758 This one draws spinning, colliding iterated-function-system images. \
759 Written by Massimino Pascal.
761 *hacks.julia.documentation: \
762 This one draws spinning, animating (are you detecting a pattern here \
763 yet?) explorations of the Julia set. You've probably seen static \
764 images of this fractal form before, but it's a lot of fun to watch in \
765 motion as well. One interesting thing is that there is a small \
766 swinging dot passing in front of the image, which indicates the \
767 control point from which the rest of the image was generated. \
768 Written by Sean McCullough.
770 *hacks.penrose.documentation: \
771 Draws quasiperiodic tilings; think of the implications on modern \
772 formica technology. Written by Timo Korvola. \
774 In April 1997, Sir Roger Penrose, a British math professor who has \
775 worked with Stephen Hawking on such topics as relativity, black \
776 holes, and whether time has a beginning, filed a \
777 copyright-infringement lawsuit against the Kimberly-Clark \
778 Corporation, which Penrose said copied a pattern he created (a \
779 pattern demonstrating that ``a nonrepeating pattern could exist in \
780 nature'') for its Kleenex quilted toilet paper. Penrose said he \
781 doesn't like litigation but, ``When it comes to the population of \
782 Great Britain being invited by a multinational to wipe their bottoms \
783 on what appears to be the work of a Knight of the Realm, then a last \
784 stand must be taken.'' \
786 As reported by News of the Weird #491, 4-jul-1997.
788 *hacks.sierpinski.documentation: \
789 This draws the two-dimensional variant of the recursive Sierpinski \
790 triangle fractal. Written by Desmond Daignault.
792 *hacks.braid.documentation: \
793 Draws random color-cycling inter-braided concentric circles. Written \
796 *hacks.galaxy.documentation: \
797 This draws spinning galaxies, which then collide and scatter their \
798 stars to the, uh, four winds or something. Originally an Amiga \
799 program by Uli Siegmund.
801 *hacks.bouboule.documentation: \
802 This draws what looks like a spinning, deforming baloon with \
803 varying-sized spots painted on its invisible surface. Written by \
806 *hacks.swirl.documentation: \
807 More flowing, swirly patterns. This version is by M. Dobie and R. \
808 Taylor, but you might have seen a Mac program similar to this called \
809 FlowFazer. There is also a cool Java applet of a similar concept
811 *hacks.flag.documentation: \
812 This draws a waving colored flag, that undulates its way around the \
813 screen. The trick is the flag can contain arbitrary text and images. \
814 By default, it displays either the current system name and OS \
815 type, or a picture of ``Bob,'' but you can replace the text or the \
816 image with a command-line option. Written by Charles Vidal and Jamie \
819 *hacks.sphere.documentation: \
820 Another of the classic screenhacks of the distant past, this one \
821 draws shaded spheres in multiple colors. This hack traces its \
822 lineage back to Tom Duff in 1982.
824 *hacks.forest.documentation: \
825 This draws fractal trees. Written by Peter Baumung. Everybody loves \
828 *hacks.lisa.documentation: \
829 This draws Lisajous loops, by Caleb Cullen. Remember that device \
830 they had the Phantom Zone prisoners in during their trial in \
831 Superman? I think that was one of these.
833 *hacks.lissie.documentation: \
834 Another Lissajous figure. This one draws the progress of circular \
835 shapes along a path. Written by Alexander Jolk.
837 *hacks.goop.documentation: \
838 This draws set of animating, transparent, amoeba-like blobs. The \
839 blobs change shape as they wander around the screen, and they are \
840 translucent, so you can see the lower blobs through the higher ones, \
841 and when one passes over another, their colors merge. Written by \
842 Jamie Zawinski. I got the idea for this from a cool mouse pad I \
843 have, which achieves the same kind of effect in real life by having \
844 several layers plastic with colored oil between them. Written by \
847 *hacks.starfish.documentation: \
848 This generates a sequence of undulating, throbbing, star-like \
849 patterns which pulsate, rotate, and turn inside out. Another display \
850 mode uses these shapes to lay down a field of colors, which are then \
851 cycled. The motion is very organic. Written by Jamie Zawinski.
853 *hacks.munch.documentation: \n\
860 As reported by HAKMEM, in 1962, Jackson Wright wrote the above PDP-1 \
861 code. That code still lives on in this screenhack, some 35 years \
862 later. The number of lines of enclosing code has increased \
863 substantially, however. This version is by Tim Showalter.
865 *hacks.fadeplot.name: FadePlot
866 *hacks.fadeplot.documentation: \
867 Draws what looks like a waving ribbon following a sinusoidal path. \
868 Written by Bas van Gaalen and Charles Vidal.
870 *hacks.coral.documentation: \
871 Simulates coral growth, albeit somewhat slowly. This image doesn't \
872 really do it justice. Written by Frederick Roeber.
874 *hacks.mountain.documentation: \
875 Generates random 3d plots that look vaguely mountainous. Written by \
878 *hacks.triangle.documentation: \
879 Generates random mountain ranges using iterative subdivision of \
880 triangles. Written by Tobias Gloth.
882 *hacks.worm.documentation: \
883 An ancient xlock hack that draws multicolored worms that crawl around \
884 the screen. Written by Brad Taylor, Dave Lemke, Boris Putanec, and \
887 *hacks.rotor.documentation: \
888 Another ancient xlock demo, this one by Tom Lawrence. It draws a \
889 line segment moving along a complex spiraling curve. I tweaked this \
890 to generate curvier lines, but still frames of it don't look like \
893 *hacks.ant.documentation: \
894 A cellular automaton that is really a two-dimensional Turing machine: \
895 as the heads (``ants'') walk along the screen, they change pixel \
896 values in their path. Then, as they pass over changed pixels, their \
897 behavior is influenced. Written by David Bagley.
899 *hacks.demon.documentation: \
900 A cellular automaton that starts with a random field, and organizes \
901 it into stripes and spirals. Written by David Bagley.
903 *hacks.loop.documentation: \
904 This one produces loop-shaped colonies that spawn, age, and \
905 eventually die. Written by David Bagley.
907 *hacks.vines.documentation: \
908 This one generates a continuous sequence of small, curvy geometric \
909 patterns. It scatters them around your screen until it fills up, \
910 then it clears the screen and starts over. Written by Tracy Camp and \
913 *hacks.kaleidescope.documentation: \
914 Another clone of an ancient meme, consisting largely of frenetic \
915 rotational motion of colored lines. This one is by Ron Tapia. The \
916 motion is nice, but I think it needs more solids, or perhaps just \
917 brighter colors. More variations in the rotational speed might help, \
920 *hacks.xjack.documentation: \
921 This program behaves schizophrenically and makes a lot of typos. \
922 Written by Jamie Zawinski. If you haven't seen Stanley Kubrick's \
923 masterpiece, ``The Shining,'' you won't get it. Those who have \
924 describe this hack as ``inspired.''
926 *hacks.xlyap.documentation: \
927 This generates pretty fractal pictures by doing funky math involving \
928 the ``Lyapunov exponent.'' It has a cool interactive mode, too. \
929 Written by Ron Record.
931 *hacks.cynosure.documentation: \
932 A hack similar to `greynetic', but less frenetic. The first \
933 implementation was by Stephen Linhart; then Ozymandias G. Desiderata \
934 wrote a Java applet clone. That clone was discovered by Jamie \
935 Zawinski, and ported to C for inclusion here.
937 *hacks.flow.documentation: \
938 Another series of strange attractors: a flowing series of points, \
939 making strange rotational shapes. Written by Jeff Butterworth.
941 *hacks.epicycle.documentation: \
942 This program draws the path traced out by a point on the edge of a \
943 circle. That circle rotates around a point on the rim of another \
944 circle, and so on, several times. These were the basis for the \
945 pre-heliocentric model of planetary motion. Written by James \
948 *hacks.interference.documentation: \
949 Another color-field hack, this one works by computing decaying \
950 sinusoidal waves, and allowing them to interfere with each other as \
951 their origins move. Written by Hannu Mallat.
953 *hacks.truchet.documentation: \
954 This draws line- and arc-based Truchet patterns that tile the screen. \
955 Written by Adrian Likins.
957 *hacks.bsod.name: BSOD
958 *hacks.bsod.documentation: \
959 BSOD stands for ``Blue Screen of Death.'' The finest in personal \
960 computer emulation, this hack simulates popular screen savers from a \
961 number of less robust operating systems. Written by Jamie Zawinski.
963 *hacks.crystal.documentation: \
964 Moving polygons, similar to a kaleidescope (more like a kaleidescope \
965 than the hack called `kaleid,' actually.) This one by Jouk Jansen.
967 *hacks.discrete.documentation: \
968 More ``discrete map'' systems, including new variants of Hopalong and \
969 Julia, and a few others. Written by Tim Auckland.
971 *hacks.kumppa.documentation: \
972 Spiraling, spinning, and very, very fast splashes of color rush \
973 toward the screen. Written by Teemu Suutari.
975 *hacks.rd-bomb.name: RD-Bomb
976 *hacks.rd-bomb.documentation: \
977 Another variation of the `Bomb' program by Scott Draves. This draws \
978 a grid of growing square-like shapes that, once they overtake each \
979 other, react in unpredictable ways. ``RD'' stands for \
982 *hacks.sonar.documentation: \
983 This program draws a simulation of a sonar screen. Written by \
984 default, it displays a random assortment of ``bogies'' on the screen, \
985 but if compiled properly, it can ping (pun intended) your local \
986 network, and actually plot the proximity of the other hosts on your \
987 network to you. It would be easy to make it monitor other sources of \
988 data, too. (Processes? Active network connections? CPU usage per \
989 user?) Written by Stephen Martin.
992 *hacks.t3d.documentation: \
993 This draws a working analog clock composed of floating, throbbing \
994 bubbles. Written by Bernd Paysan.
996 *hacks.penetrate.documentation: \
997 This hack simulates the classic arcade game Missile Command. Written \
1000 *hacks.deluxe.documentation: \
1001 This draws a pulsing sequence of stars, circles, and lines. It would \
1002 look better if it was faster, but as far as I can tell, there is no \
1003 way to make this be both: fast, and flicker-free. Yet another reason \
1004 X sucks. Written by Jamie Zawinski.
1006 *hacks.compass.documentation: \
1007 This draws a compass, with all elements spinning about randomly, for \
1008 that ``lost and nauseous'' feeling. Written by Jamie Zawinski.
1010 *hacks.squiral.documentation: \
1011 Draws a set of interacting, square-spiral-producing automata. The \
1012 spirals grow outward until they hit something, then they go around \
1013 it. Written by Jeff Epler.
1015 *hacks.xflame.documentation: \
1016 Draws a simulation of pulsing fire. It can also take an arbitrary \
1017 image and set it on fire too. Written by Carsten Haitzler, hacked on \
1020 *hacks.wander.documentation: \
1021 Draws a colorful random-walk, in various forms. Written by Rick \
1024 *hacks.critical.documentation: \
1025 Draws a system of self-organizing lines. It starts out as random \
1026 squiggles, but after a few iterations, order begins to appear. \
1027 Written by Martin Pool.
1029 *hacks.phosphor.documentation: \
1030 Draws a simulation of an old terminal, with large pixels and \
1031 long-sustain phosphor. It can run any program as a source of the text \
1032 it displays. Written by Jamie Zawinski.
1034 *hacks.xmatrix.documentation: \
1035 A rendition of the text scrolls seen in the movie ``The Matrix.'' \
1036 Written by Jamie Zawinski.
1038 *hacks.petri.documentation: \
1039 This simulates colonies of mold growing in a petri dish. Growing \
1040 colored circles overlap and leave spiral interference in their wake. \
1041 Written by Dan Bornstein.
1043 *hacks.shadebobs.name: ShadeBobs
1044 *hacks.shadebobs.documentation: \
1045 This draws smoothly-shaded oscilating oval patterns, that look \
1046 something like vapor trails or neon tubes. Written by Shane Smit.
1048 *hacks.ccurve.name: C Curve
1049 *hacks.ccurve.documentation: \
1050 Generates self-similar linear fractals, including the classic ``C \
1051 Curve.'' Written by Rick Campbell.
1053 *hacks.blaster.documentation: \
1054 Draws a simulation of flying space-combat robots (cleverly disguised \
1055 as colored circles) doing battle in front of a moving star field. \
1056 Written by Jonathan Lin.
1058 *hacks.bumps.documentation: \
1059 A bit like `Spotlight', except that instead of merely exposing part \
1060 of your desktop, it creates a bump map from it. Basically, it \
1061 3D-izes a roaming section of your desktop, based on color intensity. \
1062 Written by Shane Smit.
1064 *hacks.xteevee.name: XTeeVee
1065 *hacks.xteevee.documentation: \
1066 XTeeVee simulates various television problems, including static, \
1067 loss of vertical hold, and a test pattern. By Greg Knauss.
1069 *hacks.xspirograph.name: XSpiroGraph
1070 *hacks.xspirograph.documentation: \
1071 Simulates that pen-in-nested-plastic-gears toy from your childhood. \
1074 *hacks.webcollage.name: WebCollage
1075 *hacks.webcollage.documentation: \
1076 This program makes collages out of random images pulled off of the \
1077 World Wide Web. It finds these images by doing random web searches, \
1078 and then extracting images from the returned pages. It can also be \
1079 set up to filter the images through the `VidWhacker' program, above, \
1080 which looks really great. \
1082 (Note that most of the images it finds are text, and not pictures. \
1083 This is because most of the web is pictures of text. Which is pretty \
1084 sad.) Written by Jamie Zawinski.
1086 *hacks.vidwhacker.name: VidWhacker
1087 *hacks.vidwhacker.documentation: \
1088 This is actually just a shell script that grabs a frame of video from \
1089 the system's video input, and then uses some PBM filters (chosen at \
1090 random) to manipulate and recombine the video frame in various ways \
1091 (edge detection, subtracting the image from a rotated version of \
1092 itself, etc.) Then it displays that image for a few seconds, and \
1093 does it again. This works really well if you just feed broadcast \
1094 television into it. \
1096 Currently, the three lines of the script that actually grab the \
1097 source picture are SGI specific, but it should be trivial to adapt it \
1098 to work on other systems that can grab video (please send me the \
1099 changes if you do this...)
1101 *hacks.rocks.documentation: \
1102 This draws an animation of flight through an asteroid field, with \
1103 changes in rotation and direction. It can also display 3D \
1104 separations for red/blue glasses! Mostly written by Jamie Zawinski.
1106 *hacks.bubbles.documentation: \
1107 This simulates the kind of bubble formation that happens when water \
1108 boils:small bubbles appear, and as they get closer to each other, \
1109 they combine to form larger bubbles, which eventually pop. Written \
1112 *hacks.gears.documentation: \
1113 This draws a set of turning, interlocking gears, rotating in three \
1114 dimensions. Another GL hack, by Danny Sung, Brian Paul, and Ed \
1117 *hacks.superquadrics.documentation: \
1118 Ed Mackey reports that he wrote the first version of this program in \
1119 BASIC on a Commodore 64 in 1987, as a 320x200 black and white \
1120 wireframe. Now it is GL and has specular reflections.
1122 *hacks.morph3d.name: Morph3D
1123 *hacks.morph3d.documentation: \
1124 Another 3d shape-changing GL hack, by Marcelo Vianna. It has the \
1125 same shiny-plastic feel as Superquadrics, as many computer-generated \
1128 *hacks.cage.documentation: \
1129 This draws Escher's ``Impossible Cage,'' a 3d analog of a moebius \
1130 strip, and rotates it in three dimensions. Written by Marcelo \
1133 *hacks.moebius.documentation: \
1134 Another M. C. Escher hack by Marcelo Vianna, this one draws \
1135 ``Moebius Strip II,'' a GL image of ants walking along the surface of \
1138 *hacks.stairs.documentation: \
1139 by Marcelo Vianna's third Escher GL hack, this one draws an \
1140 ``infinite'' staircase.
1142 *hacks.pipes.documentation: \
1143 If you've ever been in the same room with a Windows NT machine, \
1144 you've probably seen this GL hack. This version is by Marcelo \
1147 *hacks.sproingies.documentation: \
1148 Q-Bert meets Marble Madness! Written by Ed Mackey.
1150 *hacks.rubik.documentation: \
1151 Draws a Rubik's Cube that rotates in three dimensions and repeatedly \
1152 shuffles and solves itself. Another fine GL hack by Marcelo Vianna.
1154 *hacks.atlantis.documentation: \
1155 This is xfishtank writ large: a GL animation of a number of sharks, \
1156 dolphins, and whales. The swimming motions are great. Originally \
1157 written by Mark Kilgard.
1159 *hacks.lament.documentation: \
1160 Animates a simulation of Lemarchand's Box, repeatedly solving itself. \
1161 Requires OpenGL, and a machine with fast hardware support for texture \
1162 maps. Warning: occasionally opens doors. Written by Jamie Zawinski.
1164 *hacks.bubble3d.name: Bubble3D
1165 *hacks.bubble3d.documentation: \
1166 Draws a stream of rising, undulating 3D bubbles, rising toward the \
1167 top of the screen, with nice specular reflections. Written by Richard \
1170 *hacks.glplanet.name: GLPlanet
1171 *hacks.glplanet.documentation: \
1172 Draws a planet bouncing around in space. Written by David Konerding. \
1173 The built-in image is a map of the earth (extracted from `xearth'), \
1174 but you can wrap any texture around the sphere, e.g., the planetary \
1175 textures that come with `ssystem'.
1177 *hacks.pulsar.documentation: \
1178 Draws some intersecting planes, making use of alpha blending, fog, \
1179 textures, and mipmaps, plus a ``frames per second'' meter so that you \
1180 can tell how fast your graphics card is... Requires OpenGL. Written \
1183 *hacks.extrusion.documentation: \
1184 Draws various rotating extruded shapes that twist around, lengthen, \
1185 and turn inside out. Created by David Konerding from the samples \
1186 that come with the GL Extrusion library by Linas Vepstas.
1188 *hacks.sierpinski3d.name: Sierpinski3D
1189 *hacks.sierpinski3d.documentation: \
1190 This draws the three-dimensional variant of the recursive Sierpinski \
1191 triangle fractal, using GL. Written by Tim Robinson and Jamie Zawinski.
1193 *hacks.ripples.documentation: \
1194 This draws rippling interference patterns like splashing water. \
1195 With the -water option, it manipulates your desktop image to look \
1196 like something is dripping into it. Written by Tom Hammersley.
1199 !=============================================================================
1201 ! Documentation for some programs that are not bundled with XScreenSaver
1203 !=============================================================================
1205 *hacks.xdaliclock.name: XDaliClock
1206 *hacks.xdaliclock.documentation: \
1207 XDaliClock draws a large digital clock, the numbers of which change by \
1208 ``melting'' into their new shapes. Written by Jamie Zawinski. This \
1209 is not included with the XScreenSaver package, but if you don't have \
1210 it already, you can find it at <http://www.jwz.org/xdaliclock/>.
1212 *hacks.xearth.documentation: \
1213 XEarth draws an image of the Earth, as seen from your favorite vantage \
1214 point in space, correctly shaded for the current position of the Sun. \
1215 Written by Kirk Johnson. This is not included with the XScreenSaver \
1216 package, but if you don't have it already, you can find it at \
1217 <http://www.cs.colorado.edu/~tuna/xearth/>.
1219 *hacks.ssystem.name: SSystem
1220 *hacks.ssystem.documentation: \
1221 SSystem is a GL Solar System simulator. It simulates flybys of Sun, \
1222 the nine planets and a few major satellites, with four camera modes. \
1223 Written by Raul Alonso. This is not included with the XScreenSaver \
1224 package, but if you don't have it already, you can find it at \
1225 <http://www1.las.es/~amil/ssystem/>.
1227 *hacks.xmountains.documentation: \
1228 XMountains generates realistic-looking fractal terrains of snow-capped \
1229 mountains near water, with either a top view or a side view. \
1230 Written by Stephen Booth. This is not included with the XScreenSaver \
1231 package, but if you don't have it already, you can find it at \
1232 <http://www.epcc.ed.ac.uk/~spb/xmountains/>. \
1234 Be sure to compile it with -DVROOT or it won't work right when launched \
1235 by the xscreensaver daemon.
1237 *hacks.xaos.name: XaoS
1238 *hacks.xaos.documentation: \
1239 XaoS generates fast fly-through animations of the Mandelbrot and other \
1240 fractal sets. Written by Thomas Marsh and Jan Hubicka. This is not \
1241 included with the XScreenSaver package, but if you don't have it \
1242 already, you can find it at <http://limax.paru.cas.cz/~hubicka/XaoS/>.
1244 *hacks.xfishtank.name: XFishTank
1245 *hacks.xfishtank.documentation: \
1246 Fish! This is not included with the XScreenSaver package, but if you \
1247 don't have it already, you can find it at \
1248 <http://metalab.unc.edu/pub/Linux/X11/demos/>.
1250 *hacks.xsnow.documentation: \
1251 Draws falling snow and the occasional tiny Santa. By Rick Jansen. \
1252 You can find it at <http://zoutmijn.bpa.nl/rick/Xsnow/>.
1254 *hacks.goban.documentation: \
1255 Replays historical games of go (aka wei-chi and baduk) on the screen. \
1256 By Scott Draves. You can find it at <http://www.draves.org/goban/>.
1258 *hacks.electricsheep.name: ElectricSheep
1259 *hacks.electricsheep.documentation: \
1260 ElectricSheep is an xscreensaver module that displays mpeg video of \
1261 an animated fractal flame. In the background, it contributes render \
1262 cycles to the next animation. Periodically it uploades completed \
1263 frames to the server, where they are compressed for distribution to \
1266 This program is recommended only if you have a high bandwidth \
1267 connection to the Internet. \
1269 By Scott Draves. You can find it at <http://www.electricsheep.org/>. \
1270 See that web site for configuration information.
1273 ! (xrdb prevention kludge: whole file) */