Generic Coloring is a skeleton coloring algorithm that lets a coloring class do the actual work. All coloring algorithms in Standard.ucl are also implemented as coloring classes. You can select any of these as the coloring class to be used together with Generic Coloring.
There are two versions of Generic Coloring: a gradient version and a direct version. Generic Coloring (Gradient) is a normal coloring algorithm and works only with gradient coloring classes which return an index into the gradient.
Generic Coloring (Direct) is a direct coloring algorithm and works with coloring classes that directly return a color. It also works with gradient coloring classes, but in that case changes to the gradient trigger an unnecessary recalculation.
The Coloring Algorithm class parameter sets the coloring class to be used. By default, the Smooth (Mandelbrot) class from Standard.ulb is selected for Generic Coloring (Gradient), while Generic Coloring (Direct) defaults to the Direct Orbit Traps class.
An example of using Generic Coloring is given in Example 2 - Orbit trap classes.
See Also
About classes
Standard coloring algorithms
Standard classes