Special flags supported by the Ripple class can be specified here. As
there are many options available, try experimenting with the application of
different flags to create all sorts of different effects.
The following flags are responsible for adding automated effects:
SURFER | The surfer mode creates a constantly applied ripple that travels around the display using a sine wave. |
RAINDROPS | This effect creates the impression of raindrops falling on the canvas. |
SPLASHES | This effect is identical in style to the raindrops effect but uses bigger drops to create the impression of large splashes. |
SWIRL | This effect creates a swirling pattern that spins around in the centre of the canvas. |
The following flags determine the type of ripples that are applied. Note
that if neither of these flags are set, the default 'raindrop' type is
used.
PUNCH | This flag provides a ripple effect combined with a distortion. |
WARP | This flag provides a pure distortion that has no rippling effect at all. |
The following flags impact upon drawing style and user activity:
BLEND | This flag changes the drawing routine so that it applies pure alpha blending for the ripples with no other special techniques for 3D styling. |
GREYSCALE | This flag forces the drawing routine to simply draw the grey scale version of the ripple's internal effect buffer. Very useful for generating a different type of effect. |
HIGHQUALITY | Use this flag to enable high-quality mode. This is slower than the default quality standard. |
INTERACTIVE | Set this flag to enable user interactive mode. This allows the user to draw his own ripples using the attached pointing device. The first button places a ripple and the second button switches the current ripple type that is being used. |
|