LiveGraphics3D Example:
Two Color Volumes



An RGB- and CMY-Color Cube

This example effectively tests the RGB (Red Green Blue) and the CMY (Cyan Magenta Yellow) color definitions.

The squares are colored according to their position: Each square has an x, y and z coordinate in the color volume. These coordinates are translated into the intensity of the red, green and blue color component for one face of each square and into the cyan, magenta and yellow component for the other face.



An HSB Cylinder

The discs are colored with the HSB (Hue Saturation Brightness) color definition. The position angle of a disc determines the hue, the distance from the axis the saturation and the height the brightness of its color.

The diameter of each disc changes with its distance to the viewer. This is one of the differences between the ways LiveGraphics3D and Mathematica paint graphics.



Implementation


Martin Kraus, December 21, 1997