Archive for May, 2008

Calculating a color gradient

Monday, May 12th, 2008 Posted in java, swing | No Comments »

For a recent project I needed some code to calculate a colour gradient for different points on a scatter chart. The class below performs a simple interpolation between two colours, ... Read more..