To view this content, you need to install Java from java.com

PaletteMaker
Dave Bollinger, Jun 2006
http://www.davebollinger.com
updated as of Processing 0123 Beta

Purpose: create a 256-color palette from a larger image by tracing a curve through the image.
Why: to then use that palette image as a source of colors for some other project.
Source image is shown at top, resulting palette is shown at bottom.

Click mouse within upper image to redefine a point on the curve.
The larger square is the curve point that is currently active.
4 points/clicks are required to completely redefine the curve.

If it still doesn't make sense, just click 4 points at random and see what happens.

Press ',' and '.' to decrease/increase palette blur.
Press 's' to save palette image (assumes you're running this locally, not on web!)

Sample results (all from the same demo image):









Source code: PaletteMaker Classes

Built with Processing