When using my application, I can either import via the File menu and/or drag-n-drop a PNG or JPG file onto the canvas and a prompt asks me how I would like to use the image. The image above comes from one of the Color Visualization sets that I created for using color analytics and visualization software I wrote.

If I choose ColorMap, the new image becomes the source of colors for the pattern of graphics that were previously generated, creating an image like the one below.

Highlights and Shadows
One of the final touches I put on this experiment was converting the fillColor, which came from the ColorMap, to a Gradient with highlights and shadows. I added a light source tool that, when enabled, allows me to click anywhere on the canvas in order to update the location of the light and all of the highlights and shadows update themselves based on that their location in relation to the light source.



Leave a Reply

Your email address will not be published. Required fields are marked *