Canvas Indexed Color
What have we here? It’s a limited demonstration of indexed color within the HTML5 canvas element.
SVG tiger rendered to a <canvas>
Distinct pixel values
This is a pretty limited demo and doesn’t actually implement an indexed color API for the canvas element; it merely simulated indexed color. To really see the power of indexed color, check out this brilliant color cycling demo. It’s still beautiful today, but seeing it in the 90s was mind-blowing.
Credits
- Knockout for its very nice UI/data structure binding
- The color picker is Farbtastic
- Whoever created the postscript/ghostscript tiger. I found some clues but no true author.