Computer Science Canada All the Colours of Turing |
Author: | @DRI@N [ Tue May 25, 2004 4:56 pm ] | ||
Post subject: | All the Colours of Turing | ||
This program displays all the numbers from 1 255 filled with their colour value
|
Author: | guruguru [ Tue May 25, 2004 6:05 pm ] |
Post subject: | |
Post in source code. Lol this is count #2 EDIT: Heh sorry . It was fun counting to 4 . I'll stop now. |
Author: | Paul [ Tue May 25, 2004 6:13 pm ] | ||
Post subject: | |||
hey! Stop taking advantage of his mistakes for your own post count!
|
Author: | AsianSensation [ Tue May 25, 2004 9:53 pm ] |
Post subject: | |
2 things. guruguru, we can keep track of how many stupid source he posts, thank you, most of us are not retarded, despite what some people think. So -10 bits, for the bits you earned by spamming in relevent sections. Second, @DRI@N, please stop it with the below average codes. It is nice if you have interesting code to share with the rest of us. But simple stuff like this that my pet dog could even do just clogs the source section, making it harder to find relevent sources. |
Author: | TheZsterBunny [ Wed May 26, 2004 6:18 am ] | ||
Post subject: | |||
I had this in my paint directory from my first project (Januaryish). I managed to get it working this morning. Use it in good health and with credits.
oh, and the b&w was an afterthought, it doesn't blend well |
Author: | the_short1 [ Wed May 26, 2004 8:23 pm ] |
Post subject: | |
wow zester... that lookz REALLY sweet!!! using RGB vlues even better.. here is 2 bits... cuz that lookz nice... a nice add on would be a whatdorcolor at mouse click so u can find the COLOR number for each dot... |
Author: | TheZsterBunny [ Thu May 27, 2004 4:14 pm ] | ||||
Post subject: | |||||
nice idea short (getting colors), reminds me why i scrapped the program. whatdotcolor returns the closest turing color value to that pixel. Here is what i mean:
It returns the closest color, which may fool some people, but try sampling towards the centre of the image. you get brown-grey colors. I've just had an idea, and will attempt it. its cheap, but it may work. --10 mins later-- hehe. it works to a point, and then it crashes. I can't understand why it crashed (i do free the pics, but it tells me not so), but here is the updated code.
suggestions on fixing second code are welcome. recap: using pictures b/c cannot get color -Z p.s. short_1, no first 'e' |
Author: | TheZsterBunny [ Thu May 27, 2004 9:54 pm ] |
Post subject: | |
this is seperate, as to draw attention. ATTN: DODGE_TOMAHAWK (WHATDOTCOLOR WARRIOR)! There is a serious limitation with the whatdotcolor command. It cannot pick up non-standard turing colors. I found this when using the first code I posted last message. :p. I await your defense, because Pic.New (x,y,x,y) is soooo much better. -Z |
Author: | guruguru [ Thu May 27, 2004 10:18 pm ] |
Post subject: | |
Wow that looks and works awsome. I don't know why it creates an error either... I've heard a couple other people having the same problems evern when freeing the picutres. Cummon... just be rough color values in. |
Author: | TheZsterBunny [ Fri May 28, 2004 7:15 am ] |
Post subject: | |
gg, using rough color values defeats the whole purpose of this program. this was not an attempt at drawing pretty pictures of fading colors, this was an attempt at getting all colors, not only the ugly turing ones. In other news, i've begun working on custom draw____ commands, and would appreciate assistance with drawline and drawarc. I'm not a very mathematical person. -Z |
Author: | the_short1 [ Fri May 28, 2004 7:25 am ] |
Post subject: | |
whay are u using pictures in ur code??? |
Author: | beard0 [ Fri May 28, 2004 1:01 pm ] | ||
Post subject: | |||
Here's a little add-on to TheZsterBunny's first program, it tells you the RGB value of any color you click, in decimal, and hex (very useful for those who make web pages). This is how I would find the colour again afterwards - not by using pictures - it just goes back to the way the colors were formed originally - if you know the co-ordinates, you know the color.
|
Author: | TheZsterBunny [ Fri May 28, 2004 5:20 pm ] | ||||
Post subject: | |||||
Nicely done. it doesn't get the color value at all, but the coords. Cool, this may be a way to fix my problem -- 10 mins later-- fixed! thanks beardo.
oh, and i had something else to post... a hex color converter, from my early days of RGBdom
I used that quite a bit for the massey web-pages thank you -Z |
Author: | the_short1 [ Fri May 28, 2004 11:11 pm ] |
Post subject: | |
please/// if ts over 200-300 lines of code please POST as .t its so anoying to scrool..... thanks!! wow.... zster... ur program is really sweet now.. and thanks..,. ui kinda needed taht for my website... but then today i just found the perfect hex chart!... |