November 6th, 2008

Exercise 7 – Colors

This week’s post is all about colors and how you can use code to work with them. We create a color picker and apply color filters to an image to create a neat effect.

Task 1: Confetti

This applet generates random circles with random colors and their opacity (alpha) is determined by the vertical mouse position.

Task 2: Color Picker

In this little application, you can choose a color by clicking on the image. Which is what a color picker basically should do :-)

Task 3: Color Wheel

This displays all colors with their respective complementary color.

Task 4: Pop Art

Andy Warhol style :-)

Leave a Reply