<- previous index next ->
Color can be used to indicate values. On a 2D plot, the height or
value may be shown with color variation. On a 3D plot the color
can show a fourth dimension value such as temperature.
In OpenGL:
A simple program that manually creates colors and values is
color_scale.c that displays
A more typical output where colors and values may be generated
by the program may look like
A sample program that generates many colors and displays a color wheel
colorw_gl.c that displays
Note that the RGB must be changed in combinations, not individually.
Note also that a specific display or specific person reaches a
place where adjacent colors appear the same.
To see the similarity with various graphics packages, the X Windows
version of color wheel is colorw.c that displays
<- previous index next ->