Skip to content

Latest commit

 

History

History
29 lines (16 loc) · 1.46 KB

README.md

File metadata and controls

29 lines (16 loc) · 1.46 KB

Colors - a macOS Screensaver

Colors was inspired by an R program created to test whether any two colors could actually clash.

The screensaver:

  • generates a random 10-sided shape filled by a random color (with random opacity)
  • on a random background
  • refreshed every 2 seconds.

The screensaver project was created with XCode 4.6.1, on OSX 10.8. The code will probably compile on other versions of OSX but the project .xcodeproj may not be compatible

References

I used the OSX Screensaver docs and the Write a Screen Saver: Part I tutorial from Cocoa Dev central.

Note: the Cocao Dev Central article is from 2005, Xcode looks much different now.

Building

The .saver file is not included in this repo.

You will need to download XCode, checkout this project, double click Colors.xcodeproj, then press "Build and Run".

Note: installing XCode 4.6.1 will also provide a git client.

Future Plans

At some point I intend to add a configuration sheet to allow the refresh rate, and number of polygon sides to be configured.