Hey dudes!
i need to know how to define mouse-sensitive areas for a shape that is non-geometric (can not be described by 2 coordinates).
Can i solve that by using an invisable image with different colors(i need 5 different areas) that is read by processing?
And if, how will that work?
Hello again,
last time nobody answered my question, so maybe the question was to confusing...=)
so, all i want to do is
measure a color (by mouse pointer) from a colorspectrum i drawed before (get RGB values) and take these values as variables for the background color, which should be the inversion of the color the mouse is pointing on...
it would be really cool if somebody could help me with that!
thanks a lot...
i want to write a little
programme that explains the visual effect of complementary colour addition.
that after you look at a lamp for a few minutes, your eye (the retina neurons) supplements the complementary
colour, so that you see a black form, shaped like the lamp you have looked in before. like seeing the white
wall pink after starring into a green neon tube...
to illustrate that effect the programme should look like that: in the background there will be an illustration of an eye that looks directed to a colour palette.
if your cursor ("the eye") is over a red area of the palette the white background should dye in a tone that is
complementary aqua mixed with the white of the wall (a pastelle colour).
the compl. colour is always the addition up to 100%, so if "the eye" "looks" at RGB (255, 0, 0) = red
the background should turn into (0, 255, 255) = aqua mixed with white ( => saturation between 10 and 20 %).
but i don´t know if RGB ist the best
colorMode to be used for that and to be honest, i don´t have a clue
how to write that function.
as i am quite new into programming (started mainly with.html, css and some javascript) i´d really be thankful
if you could help me out with that!