Browser safe palette
Data urls irt.org elf.org
Colorcube presents the slice of a plane through the browser safe palette, a 6x6x6 colorcube which the major browsers support on 8 bit color displays. When the plane exits the cube before a complete 6x6 slice is completed, it is wrapped back through for another pass. Pressing on a frame button alters the plane. There may be some bugs yet to be worked out. Looking at it, I'm not sure that I believe my own explanation of how it works just now, but it does generate some interesting combinations of colors to look at.
By default, colorcube uses
An alternative implementation of colorcube is available through the Use Gifs link. In this case the page will download the necessary gifs from my server rather than synthesizing them inline. This should allow a comparison between inline and individually served images.
Support for these constructs appears to be in the version 4 browsers. Thus far I've verified the following:
to write gif images into selected documents. It turns out, after much fruitless effort on my part, that while
A second possibility was to use data urls in which the value of a small object can be encoded inline as base64 content. Since the data in a tag is limited, in worst case, to 1024 bytes, only fairly small images could be displayed this way.
As luck would have it, I asked for help on the
Martin Webb came up with
url to supply the data for the