A system and method for generating color gradients is provided. The system generates
color gradients using techniques from geometric surface modeling. The system and
method of the present invention allow designers to specify very complex gradients
in a simple way. The system can employ, for example, a vector-based interpolation
method and/or a pixel-based partial differential equation (PDE) interpolation methods
to facilitate generation of the color gradients. In one example, input boundary
curves and/or feature curves are approximated by line segments, which are then
utilized to generate a triangulation approximating a smooth color gradient.