Palette-Animation


This is an example for the mostly used form of palette-animation: Colorcycling. The following example uses six colors (red, green, blue, yellow, magenta, cyan) to simulate the rotation in the palette-entries. This example is only a simulation and not a real palette-rotation (Web Browsers don't support palette-rotation). The animation below is a normal .gif-file. Note that it is not possible to use the palette-entries 250-255 in the system-palette because they belong to the 20 reserved colors of Windows. This example should only make you understand how palette-rotation works.


Copyright 1998 Stefan Hetzl. If you have questions or comments or have discovered an error, send mail to [email protected]. You may forward this document or publish it on your webpage as long as you don't change it and leave this notice at the end.