Info-Mac Archive Downloads: dev/src/ SourceCode

Back to dev/src/ SourceCode

Twist 1.0 Screensaver Source Code (twist-10-c.hqx)

Download twist-10-c.hqx (155,634 KB)


From: crawford@scruznet.com (Michael D. Crawford)
Subject: Twist 1.0 Screensaver Source Code

Enclosed is the source code to Twist 1.0, a screensaver module for Berkeley
Systems' After Dark.

Twist "twists" the pixels of the screen in an interesting way. First it
tilts the screen over to the right, then scrambles it, then repeated images
go in and out of phase, and eventually the original image is restored.

The source code includes:

- the After Dark Testbed, which is an application shell that allows you to
use a source code debugger to develop your own After Dark modules. This
works by linking the module source file in as a subroutine to the
application, which then simulates the environment of After Dark by calling
the module with the various messages.

- GoToWebPage.c, which searches for a browser, launches it, and directs it
to a given URL via Apple Events.

Michael D. Crawford
crawford@scruznet.com
http://www.scruznet.com/~crawford