We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Create draw( ) function, and design following mechanisms along with for loop to read pixels; a)image( ) function to draw
b)Use red( ), green(), and blue( ) functions to show only red, green, or blue channels.
c)Mapping between the pixel position, bar height, bar color and font color: To show an interactive RGB value on a specific pixel based on the position of mouse cursor (mouseX& mouseY), create a bar graph (use rect( ) to create a bar per each color). Useful Processing commands; •text( ), textFont( ) •Color, image( ), fill( ) •updatePixels(); •loadPixels();
d)Based on simple math operators (+, -, *, %), design minimum 4 filters operated through key board interaction.