Bezier Gradient


This browser does not have a Java Plug-in. Get the latest Java Plug-in here.


This is an experiment that I started last year to play with Bezier curves. One nice thing about Bezier curves is that all values along the resulting curve will be contained within the four defining points. In my experiment, the points defining the curve are animated through three-space between 0 and 255 and the points along it are interpreted as RGB values. Because all points along the curve are guaranteed to have xyz values between 0 and 255 they can all be interpreted nicely as colors. I believe that there have been other uses of these curves to define gradients in programs such as Photoshop, but I started my work from scratch and I find the result to be very pleasant.