Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / Program That Makes All Possible Colors On Your Screen

Author
Message
Dark Java Dude 64
Community Leader
14
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 25th Jul 2011 08:58 Edited at: 26th Jul 2011 01:29
Yesterday i wrote just a very simple program that will make every pixel on your screen display every possible color. The program takes a long time to run, i estimated it to run for ten hours on my laptop but it ended up running for 12.



When this program is finished running, each pixel on your screen will have displayed all 16,777,216 colors possible to display.

Again, be warned, this program takes a VERY long time to complete; if you are willing to waste your time and use this pointless program make sure you do it overnight! Mine took 12 hours to complete! If you do need to end the program, use task manager!

Edit: I added an escape function, so feel free to press escape at anytime to end the program!


TheComet
17
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 25th Jul 2011 09:26
And the use of that is... ?

BTW, if this runs at 60 fps, it will take 3.23 days to complete... However, if it runs at 967 fps (like my mega monster computer can manage it), it still takes 4.8 hours!

Thanks, but no thanks, I'm not quite ready to sacrifice my valuable time.

TheComet

Van B
Moderator
22
Years of Service
User Offline
Joined: 8th Oct 2002
Location: Sunnyvale
Posted: 25th Jul 2011 11:28
If you did that per pixel, then on a 1680x1050 display, it would only need 9.5 cycles, so displaying all possible colours in about 10 frames.

Kinda reminds me of some old-school loading effect. I remember timing the vertical sync on my Atari ST, then changing the palette at a certain interval to increase the available colours. Was pretty handy to have linear fading backdrops and stuff like that without using up the whole palette.

Health, Ammo, and bacon and eggs!
TheComet
17
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 25th Jul 2011 11:46
lol, this kind of reminds me of that guy that wrote a program that could display all possible combinations of an image... Of course, no offense to you DBD79

I can't seem to find a link to that though... All I remember is the thread being locked, because firstly, there are way too many combinations, and secondly, because there would be an image of the moderator who locked it in a bath-tub, doing ...stuff with a moose (That's inaccurately quoted)

TheComet

The Wilderbeast
19
Years of Service
User Offline
Joined: 14th Nov 2005
Location: UK
Posted: 25th Jul 2011 14:52
Quote: "lol, this kind of reminds me of that guy that wrote a program that could display all possible combinations of an image... Of course, no offense to you DBD79"

Ahahaha I remember that too - a classic!


RSS ENABLED :: AV SECURED
Indicium
16
Years of Service
User Offline
Joined: 26th May 2008
Location:
Posted: 25th Jul 2011 16:13
Begin searching for the link immediately!

The Wilderbeast
19
Years of Service
User Offline
Joined: 14th Nov 2005
Location: UK
Posted: 25th Jul 2011 16:17 Edited at: 25th Jul 2011 16:20
Quote: "lol, this kind of reminds me of that guy that wrote a program that could display all possible combinations of an image... Of course, no offense to you DBD79

I can't seem to find a link to that though... All I remember is the thread being locked, because firstly, there are way too many combinations, and secondly, because there would be an image of the moderator who locked it in a bath-tub, doing ...stuff with a moose (That's inaccurately quoted)

TheComet"

Hey, karma's a bitch :p http://lmgtfy.com/?q=site%3Athegamecreators.com+every+possible+image

http://lmgtfy.com/?q=site%3Athegamecreators.com+every+possible+image

[EDIT] FFS, why can't I embed a link


RSS ENABLED :: AV SECURED
Green Gandalf
VIP Member
20
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 25th Jul 2011 16:24 Edited at: 25th Jul 2011 16:28
Quote: "why can't I embed a link "


No idea. Just copy, then paste, then select it, then hit link button like this:

every possible image

Edit I see what you mean.

Edit3 Nope, editing the text didn't work either.

Probably some symbol isn't being accepted.
Kevin Picone
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Australia
Posted: 25th Jul 2011 16:32
slight optimization



erm

Quik
16
Years of Service
User Offline
Joined: 3rd Jul 2008
Location: Equestria!
Posted: 25th Jul 2011 16:33 Edited at: 25th Jul 2011 16:33
http://lmgtfy.com/?q=site%3Athegamecreators.com+every+possible+image


thats really weird lol

and for the record, I am a man.

TheComet
17
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 25th Jul 2011 17:01
This character --> %

Won't be accepted.

TheComet

Green Gandalf
VIP Member
20
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 25th Jul 2011 17:12
@Kevin Picone

Or did you mean this?



$ffffff defaults to zero in DBPro. Which language were you using?
Non Sequitur M
16
Years of Service
User Offline
Joined: 28th Oct 2008
Location: Where am I!? Where are YOU?
Posted: 25th Jul 2011 18:03
Ok, man. Not cool. At least, put an exit command! I had to restart my laptop to exit the program!!! All of you... You should include an exit command. I thought it made every pixel at once display different colors, not every pixel displays the same color one frame after another!

It was running at about 50 frames a second on my laptop, which means it would complete in 3D 21H 12M!!! Ouch! Haha. Seriously, there could be no possible reason for this, other than boredom or random curiosity...
Green Gandalf
VIP Member
20
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 25th Jul 2011 18:47
Quote: "Seriously, there could be no possible reason for this, other than boredom or random curiosity..."


There's plenty of that to spare here today. We all need a break sometime.
Grog Grueslayer
Valued Member
19
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 25th Jul 2011 21:16
Wouldn't this be easier?



Dark Java Dude 64
Community Leader
14
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 26th Jul 2011 00:04
Ummm, yah, i made this program out of complete boredom and curiosity!!
Quote: "Ok, man. Not cool. At least, put an exit command!"
Sorry! Task manager will allow you to exit the program without restarting! My apologies!


Neuro Fuzzy
17
Years of Service
User Offline
Joined: 11th Jun 2007
Location:
Posted: 26th Jul 2011 04:58 Edited at: 26th Jul 2011 04:58
Huh? what's wrong with the link? I can embed it just fine.
every possible image


Why does blue text appear every time you are near?
Plystire
22
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 26th Jul 2011 07:50
@Grog:

No, because that method skips colors between pixels due to lack of available space.


~Plystire

A rose is only a rose until it is held and cherished -- then it becomes a treasure.
Gil Galvanti
20
Years of Service
User Offline
Joined: 22nd Dec 2004
Location: Texas, United States
Posted: 26th Jul 2011 08:20
Quote: "Ok, man. Not cool. At least, put an exit command! I had to restart my laptop to exit the program!!! All of you... You should include an exit command. I thought it made every pixel at once display different colors, not every pixel displays the same color one frame after another!

It was running at about 50 frames a second on my laptop, which means it would complete in 3D 21H 12M!!! Ouch! Haha. Seriously, there could be no possible reason for this, other than boredom or random curiosity... "

Never heard of ctrl+alt+delete or alt+f4 or alt+tab?


Hodgey
15
Years of Service
User Offline
Joined: 10th Oct 2009
Location: Australia
Posted: 26th Jul 2011 08:33
Quote: "Quote: "Ok, man. Not cool. At least, put an exit command! I had to restart my laptop to exit the program!!! All of you... You should include an exit command. I thought it made every pixel at once display different colors, not every pixel displays the same color one frame after another!

It was running at about 50 frames a second on my laptop, which means it would complete in 3D 21H 12M!!! Ouch! Haha. Seriously, there could be no possible reason for this, other than boredom or random curiosity... "
Never heard of ctrl+alt+delete or alt+f4 or alt+tab?"

or even the escapekey?

@ DBD79 awesome except unfortunately I don't have the patience to wait a couple of hours for it to finish.

Dark Java Dude 64
Community Leader
14
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 26th Jul 2011 09:12
Quote: "@ DBD79 awesome except unfortunately I don't have the patience to wait a couple of hours for it to finish."
Haha thanks! I just let mine complete while i slept but i slept for 8 hours and waiting the extra four hours it took to complete was pretty painful!!


Neuro Fuzzy
17
Years of Service
User Offline
Joined: 11th Jun 2007
Location:
Posted: 26th Jul 2011 10:48 Edited at: 26th Jul 2011 10:48
Although since your monitor refresh rate is likely 60 hz, which means that if it runs for under 3.2 days (2^24/(60 hz * 60*60*24 seconds/day)), then colors were skipped. If your monitor had a 120hz refresh rate then that would mean 1.6 days to complete. So, I'd be willing to bet that many colors were skipped

[edit]
so to fix this, force vsync on!


Why does blue text appear every time you are near?
TheComet
17
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 26th Jul 2011 12:14
The fuzzy makes an excellent point, I hadn't considered that

TheComet

Ocho Geek
17
Years of Service
User Offline
Joined: 16th Aug 2007
Location: Manchester, UK
Posted: 26th Jul 2011 13:29
Quote: "3D 21H 12M"

you could change the step to five before running, that way it would only take 18 Hours


Not Spanish, Not Eight, Just Ocho

Non Sequitur M
16
Years of Service
User Offline
Joined: 28th Oct 2008
Location: Where am I!? Where are YOU?
Posted: 26th Jul 2011 18:29
Quote: "Never heard of ctrl+alt+delete or alt+f4 or alt+tab?"

Tried those.
Quote: "or even the escapekey?"

Tried it.

I don't what's going on, but sometimes, DBP just won't let me exit some programs. I thought it was just the way they were constructed, but if you guys can do it, it's making me think it's something to do with my laptop!
Dark Java Dude 64
Community Leader
14
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 26th Jul 2011 21:51
Yah Fuzzy you have a great point!

@Amo Deus Man Oh... That is kinda weird, i have no idea what is going on with your laptop... Well DBP programs dont like to exit with the escape key when inside of a For Next loop so i added an If Then statement to exit if you press it.


Insert Name Here
18
Years of Service
User Offline
Joined: 20th Mar 2007
Location: Worcester, England
Posted: 27th Jul 2011 04:00
I couldn't exit either Didn't really matter though because it crashed after 2 minutes. Who knew such a simple program could be such heavy duty?

Dark Java Dude 64
Community Leader
14
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 27th Jul 2011 04:23
Haha For Next loops are heavy duty.


ShaunRW
DBPro Developer
17
Years of Service
User Offline
Joined: 7th Jan 2008
Location: Brisbane, Australia
Posted: 27th Jul 2011 05:28 Edited at: 27th Jul 2011 05:32
Yeah, I found that DBPro likes to finish For Next loops before closing.

Dark Java Dude 64
Community Leader
14
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 27th Jul 2011 07:37
Haha that made me laugh out loud!


Login to post a reply

Server time is: 2025-05-20 23:06:51
Your offset time is: 2025-05-20 23:06:51