home *** CD-ROM | disk | FTP | other *** search
/ Peanuts NeXT Software Archives / Peanuts-Update.iso / CDROM / Contents / READMEs / Peanuts-3 / Tools / screen / backspace / old / ClockView.1.1.README < prev    next >
Encoding:
Text File  |  1996-11-09  |  1.5 KB  |  30 lines

  1. ClockView
  2.  
  3. by Matt Pharr
  4. pharr@cs.yale.edu
  5.  
  6. Here's another module for BackSpace that bounces a 180 point digital clock
  7. around the screen. Definitely another staple of the screen-saver world, but on
  8. the other hand, it's not one of those totally great demos of all the neat
  9. animation the NeXT is capable of. The only notable part of the implementation
  10. was that it saved the trouble of having to erase the old drawing by making a
  11. border of about 6 pixels around the edges of the bitmap, so that whenever it
  12. draws another bitmap, the new, displaced, one will totally cover up the old
  13. one. I read about that somewhere and only remembered to do it after I wrestled
  14. with flicker on the redraw for longer than I should have. I guess that's one of
  15. the more basic animation techniques, but heck, I thought it was pretty cool.
  16.  
  17. For black and white folks, it keeps the clock at a steady pure white, but for
  18. you bums with color, it randomly moves the RGB values around between 0 and 1.
  19. It doesn't end up looking as cool as it could, doing this, because it only
  20. redraws the bitmap that has the time in it when the time changes- i.e. once
  21. a second, so the color changes aren't nice and smooth... There's probably
  22. a neater thing that can be done with color, but given that I can't try out
  23. any of my ideas, I'm sort of limited in seeing what works and doesn't...
  24.  
  25. To install it, just copy ClockView.o into your BackSpace.app directory, or
  26. into /LocalLibrary/BackSpaceViews.
  27.  
  28. All I ask is that you drop me a letter at pharr@cs.yale.edu if you like it or
  29. have any suggestions.
  30.