SkyCreator

Last Revision:
Version 1.1, 2006-04-12
Updated compiler options to generate 1.4 compatible bytecode.
Build Requirements:
Xcode 2.0 or greater
Runtime Requirements:
1.4.2 or later

This is a very simple demo that creates a random image of a starry sky using several star images of different sizes that are placed randomly on the screen. The user can drag the stars to re-arrange them. This code was written to illustrate the functionallity of QuartzDebug. There is a slow and a fast version. The slow version is commented out by default. The slow version repaints the whole window every time a star is moved, and the fast version only re-paints the dirty region. You can use

QuartzDebug to see the different behavior between the two versions.