Could it be that there is a mistake?
A bit of hacking showed that the sets of four numbers are a 'slope factor' (from 0 to 1) followed by the RGB triplet. The following gives a gradient starting white, to yellow a third of the way along, then to blue at the mid point, and ending in black.
gradient {
variable color
colors <0, 1, 1, 1,
.333, 0, 0, 1,
.5, 1, 1, 0,
1, 0, 0, 0>
}
This may well be documented but I HTC rather then FTFM ! :-)
Mustn't it be?
gradient { variable color colors <0, 1, 1, 1, .5, 1, 1, 0, .333, 0, 0, 1, 1, 0, 0, 0> }
====================================================== The Chaoscope mailing-list Archives : //www.freelists.org/archives/chaoscope Admin contact : chaoscope@xxxxxxxxxxxxxx Web site : http://www.chaoscope.org ======================================================