subtractive painting



Using getpixel and setpixel I have made a crude kind of painting
program for my kids and they are quite happy about it. But I want to
make the colors on the screen behave in a similar way to the way paint
pigments do on paper. In other words I want a shade of green to appear
when blue is painted over an existing yellow color, or orange to come
from painting red over yellow.

Sounds simple but I have spent days Googling around this and have not
found the formula I need.

.



Relevant Pages

  • Re: Is it bad to start off learning Visual C#?
    ... I just wanted to make sure that I wasn't painting myself into a ... Hoping to have fun this summer programming them with the kids. ... Thanks for the replies, and sorry for the stupid questions. ...
    (microsoft.public.dotnet.languages.csharp)
  • Spongebob movie!
    ... Especially Squidward going from painting to painting. ... The kids don't get the joke, ...
    (rec.music.gdead)