X-screensaver ports to Plan 9


Download: all hacks in a gzipped archive: xscr


News:
11/11/2007:

24/05/2007: 31/10/2006: 17/8/2004: 13/7/2004: 28/6/2004: 25/6/2004: 16/6/2004: 4/1/2004: 4/1/2004: 30/1/2004: 21/1/2004: 13/1/2004: 4/12/2003: 4/11/2003: 3/11/2003: 23/10/2003: 12/10/2003: 10/10/2003: 09/10/2003: 08/10/2003: 06/10/2003: 03/10/2003: 02/10/2003: 01/10/2003: 30/09/2003: 29/09/2003: 24/09/2003: 23/09/2003: 22/09/2003: 08/09/2003: 07/09/2003: 06/09/2003: 05/09/2003: 04/09/2003:
Included here are several ports of the XScreensaver hacks to Plan 9... All programs are standalone and cannot, in their current state, be run as screensavers (i.e. they will not run in fullscreen mode, unless you resize them).

you can automate that by using the following invocation method (thanks to Russ Cox):

    % fullscr=`{echo $vgasize | awk -Fx '{print "0 0 " $1 " " $2}'}
    % window -r $fullscr maze

The fullscr variable holds the coordinates of a rectangle the size of the entire screen, "window" then uses it to create a full screen window to run 'maze' in it. warning: may not work as expected in drawterm if you've resized it.


Compilation:

    % hget http://mirtchovski.com/p9/xscr/xscr.tgz | gunzip | tar xv
    % cd xscr && mk
    % mk install
The files will be installed in $home/bin/$objtype/xscr; if you want to make a global installation just move them to $objtype/bin/xscr.

Note that not all of the hacks have been ported correctly -- some of the earlier ones lack color (strange.c), others have been modified slightly for lack of drawing primitives in Plan 9 (for example I had to guess what XSegments are, hence Euler2d looks slightly different than the original).


as usual -- suggestions fixes and comments are welcome...


Screenshots:

anemone.gif
anemotaxis.gif
attraction.gif
blaster.gif
boxfit.png
ccurve.gif
cloudlife.gif
coral.gif
critical.gif
decayscreen.gif
deco.gif
deluxe.gif
demon.gif
discrete.gif
drift.gif
eruption.gif
euler2d.gif
fadeplot.gif
flame.gif
flow.gif
fluidballs.gif
fuzzyflakes.gif
forest.gif
galaxy.gif
glenda.gif
halftone.gif
helix.gif
hopalong.gif
hypercube.gif
glenda.gif
imsmap.gif
interaggregate.gif
interference.gif
ifs.gif
julia.gif
lyap.gif
maze.gif
moire.gif
mountain.gif
munch.gif
nerverot.gif
../pacman/pacman.png
pedal.gif
petri.gif
polyominoes.gif
popsquares.gif
pyro.gif
rd-bomb.gif
ripples.gif
rorschach.gif
rotzoomer.gif
scrdump.gif
sierpinski.gif
slip.gif
sphere.gif
spirograph.gif
squiral.gif
starfish.gif
strange.gif
swirl.gif
thornbird.gif
triangle.gif
vermiculate.gif
vines.gif
wander.gif
whirlwindwarp.gif
wormhole.gif
zoom.gif

mirtchovski at gmail