A friend of mine, called Tiggr (see his web pages), originally wrote this rather nice clock for his NeXT machine. So he deserves the creative credit. This clock is an arc ranging from the hour-hand to the minute-hand. I didn't look into Tiggr's source, but I figure that with Display PostScript the code was much neater that mine, I use Regions to create smooth drawing (instead of off-screen drawing) which is fast and results in a nice "Multiple" colour effect.
Anyway, have fun! This is freeware.
You can download the latest version here.
Version 1.4b:Got a Mac? Got a screensaver? Read the Screensaver FAQ by Lloyd Wood!
- Updated the read-me, and updated my e-mail address.
- Introduced a switch to have the clock either bounce off the edges of the screen on its shape or on its maximum rectangle.
- The clock's size is now relative to the screen resolution.
- Updated tiggr's e-mail address.
- Some small changes to vers, TEXT, STR and ICN# resources.
- Included a delay so that the disappearance of the Control Strip does not interfere with the module (in After Dark 3.0).
- Included code to avoid Out of Memory errors with After Dark 3.0 and After Dark 4.0.
- Removed a bug in memory-allocation code causing the module to sometimes use a defective handle.
- Improved the code to use less regions and polygons, improving speed and memory usage.
- Updated my Email-address.
- Made the maximum clock size fixed to prevent possible memory problems on very large screens.
- Decreased the amount of memory needed.
- Added a "one single" colour option.
- Randomised the initial direction and colour.
- The hour and minute hands now move every second, like any real clock would.
- Removed -by request of Tiggr himself- the second-hand.
- Changed move options to "Not at all", "Once per second" or "Continuously". The latter is only really useful on faster systems.
- Repaired a cosmetic bug that would cause the seconds hand not to be erased when the Mac wouldn't give After Dark time for over a second.
- Put more robust checks on the amount of free memory before calling calls operating on regions. If there's not enough memory available to do region calculations the module will quit graciously instead of bluntly crash.
- Initial release.
©2009 Ernst Mulder