Color Cycling

Color cycling is the process of rapidly changing an object's colors to achieve the illusion of smooth movement. It is often used in games to animate waterfalls, lava, or torches in a cyclic manner. The beauty of color cycling is that we achieve this motion simply by changing the colors in a logical palette. Once we draw the object itself, we never modify the pixels comprising the object. However, we must be careful not to use the colors being cycled outside the desired object(s), or we'll see undesirable color changes as we perform the color cycling.

<< Prev

Next >>

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.