PackageDescription: Gizmo-Spotlight-Example


Gizmo - Spotlight - Example

Last published: July 9, 2007 by 'michael'

Defines 2 Classes
Extends 2 Classes


This is a Cairo/Gizmo example of displaying some shapes on the screen and providing you, the user, with a spot light. Click inside the window and move the mouse around to move the spot light. Parts of shapes will be revealed based on where your light source is.

Hold down shift to see all the shapes.

"Open without the gradient, runs fast, doesn't look as cool."
(Spotlight new sample: 640@480)
color: ColorValue black;
yourself

"Open with the gradient, runs a lot slower, looks very cool"
((Spotlight new useGradient: true; yourself)
sample: 640@480)
color: ColorValue black;
yourself