Computer Science Canada RGB strikes again. Problems. |
Author: | TheZsterBunny [ Sun Apr 04, 2004 9:30 pm ] | ||
Post subject: | RGB strikes again. Problems. | ||
This code should draw a box 256x256 px, with a blue top-left corner, yellow bottom-right, white top-right, and black bottom-left colors. these colors should blend evenly. However it gets really screwy after the first line. Mom wrote: Looks like chipped marble. but drugged.
Why is turing doing this, and can I free colors? -bunny |
Author: | Jodo Yodo [ Sun Apr 04, 2004 9:34 pm ] |
Post subject: | |
Yeah you're right, that's really weird. Perhaps it's because you're only altering Red and Blue will always be the same, and so it's screwing up the colours. But that's a really nice effect. |
Author: | TheZsterBunny [ Sun Apr 04, 2004 9:40 pm ] | ||
Post subject: | |||
Hey Dave; WRONG. what was happening was the number of colors created exceeded turing's maximum, therefore it was attempting to reuse existing colors in its place. I have modified the code to correct this issue
Nice try. BTW. do you troll this, i posted 5 mins ago -bunny oh, and the compsci clock has not been adjusted for the spring foreward as of last evening. |
Author: | Jodo Yodo [ Sun Apr 04, 2004 9:48 pm ] |
Post subject: | |
I just happened to get on now. And stop being so harsh. Jah. |
Author: | TheZsterBunny [ Sun Apr 11, 2004 5:08 pm ] | ||
Post subject: | Gradientatron | ||
Seemingly, this is a program which takes colors and gradientizes it, but not so. I am having some trouble with averaging the color. This is espeically evident when no colors are selected and we still get black. What am I doing wrong? -bunny (let record show: JY replies in 5 mins) |