Idea

Changing the color table rather than the pixels animates an image for a fraction of the cost

Info

Originally written in French. Translated by AI — the meaning has been preserved, not the prose.

Main idea

On a palette display, you can animate an image without redrawing a single pixel: it is enough to cycle the palette entries, each index taking its neighbor's color. The color bands seem to scroll.

The cost of one animation frame is then writing $256 \times 3 = 768$ bytes into the VGA card's DAC, against $64\,000$ to rewrite the screen: 83 times less. In the Mathematica 6 demo, the end of the animation speeds up by going from one cycling step per clock tick (18.2 Hz) to two, three, then five, without touching the pixels.

Why it matters

Changing the table rather than the data is a general principle: wherever there is an indirection, changing the reference costs less than changing what points to it.

Nuances and limits

The animation is limited to what a color shift can produce: scrolling bands, never moving shapes.

Open questions

  • Besides scrolling, what other effects does palette manipulation allow (fade, flash, gradual reveal)?