okay, so i was bored and was thinking what if i had a random pixel generator you know so it would make say a 300 x 300 picture and each pixel would be randomly generated. and theoretically it could generate a picture of anything that has, will or wont happen so it could have a picture of you on a giant flying monkey while the monkey was eating hippos out of a giant bag that says "hipporitos" on it or the beggining of the universe etc. . so if anyone knows where i can download one that would be cool.
Got bored left. Got bored where I went away to. Came back.
Yeah, you can waste away your life trying to generate a random picture of yourself. I think the rest of us have more important things to do.

I don't know if 300 x 300 is enough for a decent pic by the way.
You'd probably get about 4 billions shapeless blobs, and mabye one thing that looks kinda like the virgin mary.

The purpose of the RPG program is to see how long it takes for a computer to generate a picture that makes sense to a human. I have estimated that it would take over 1000 years.

Good luck.
Lets do a little calculation, shall we? For arguments sake, we'll say you have a 32 bit screen. That keeps the number of different colour variations at a mere 16,777,216 colours.

For a decent picture, you would need at least 600x800. That means there would be 480,000 pixels. The probability of getting your picture would be:

16,777,216 to the power of 480,000.
900913

Web Images News Maps Products Groups more »
┌───────────────────────┐
└───────────────────────┘

This has been thought of earlier, and theoretically it is possible, but you would have millions of pictures and searching for one out of those would take you the rest of your life, so its very impractical.
meh 1000 years. ill organise some sort of religion in which people will sit at computer screens until they find something good and when they do they get to got to heaven or somthing

EDIT: 16,777,216 to the power of 480,000... ill make it so people who follow my religion are not allowed to do math.
Got bored left. Got bored where I went away to. Came back.
Last edited by eat and play at Nov 1, 2007,
how bout this.

Go outside and lie down in the grass and look at the clouds
Anatomy Anatomy
Whale Blue Review

Park that car
Drop that phone
Sleep on the floor
Haha. Good luck dude. Print screen anything good you find and post it =]
dimebag put as much emotion in to 9/10 of his solos as hitler showed when putting jews in syanide showers.

Quote by P-Laverty
QUESTION! Does emo porn have blood everywhere from wrist wounds?

Quote by Dabey
HAHA U IS TEH EMOZORZ

no but seriously, HAHA U IS TEH EMOZORZ
Wait for another 10-15 years, by then we will all be usiing quantum-supercomputers, and they should be able to do a simple operation like that in a few hours...
900913

Web Images News Maps Products Groups more »
┌───────────────────────┐
└───────────────────────┘

well you have 300*300 pixels, or 90000 pixels

and each pixel has an values for red, blue and green that can go between 0 and 255
256*256*256 = 16.5 million different colours

90000*16.5 million = there 1.5 trillion different 300x300 images in 24 bit colour

of course, you could just do like 16 colour and black and white and see what you get

learn to program and write your own program if you want to try
Last edited by seljer at Nov 1, 2007,
Quote by seljer
well you have 300*300 pixels, or 90000 pixels

and each pixel has an values for red, blue and green that can go between 0 and 255
256*256*256 = 16.5 million

90000*16.5 million = there 1.5 trillion different 300x300 images in 24 bit colour

That's an exponential not a factor. It's already been worked by umop-3p!sdn
Quote by denizenz
That's an exponential not a factor. It's already been worked by umop-3p!sdn

still, whatever it is its a ****ing lot of data

edit: where'd he get the 480000?
edit: whoop, 600x800
Last edited by seljer at Nov 1, 2007,
Quote by jiminizzle
how bout this.

Go outside and lie down in the grass and look at the clouds

Probably a more productive use of time.

What're you gonna do when you find said picture? Jam your fist up in the air and yell "YEAH!!"

Then what?
Gunpowder: FUCKING ROCKS!!!
[witty set-up]
Gunpowder FUCKING ROCKS!!!!!

Quote by Kensai

Gunpowder you fucking rock!!

Quote by Dirge Humani
Now I can say, with sufficient certainly, that you, Gunpowder...

FUCK ROCKS!
Actually... its an incredibly easy program to write.
Quote by clapton-floyd
I don't believe in free will, I believe in Rohypnol.
Why not try it yourself? It's not hard at all to write such a generator. See how many iterations it would take to get a picture that makes sense.

The total number of combinations is approx (256^3)! / (256^3 - 300^2)! , where ! is the symbol for factorial.

So I wouldn't hold my breath.
Dear God, do you actually answer prayers?

Yes, but only in a way indistinguishable from random luck or the result of your own efforts.
OMGZ IT LIEK ACTUALLIE WORKED!
ITS LIEK GODD WAS TALKINGG TO UUU!

self phail?
I'm a Fire, and I'll Burn.Burn.Burn.
Quote by denizenz
I'm not a programmer, but I was under the impression that any randomizer is insanely difficult to write.

Most languages have predefined functions for that.
Dear God, do you actually answer prayers?

Yes, but only in a way indistinguishable from random luck or the result of your own efforts.
Quote by Gunpowder
What're you gonna do when you find said picture? Jam your fist up in the air and yell "YEAH!!"

Then what?

LOL @ the "YEAH!!" part. Just picturing it in my mind...

What a payoff.
Most languages have predefined functions for that.

it depends on how random you want it
I'm not sure how crucial it would be for this application
but for security and cryptography stuff, having something just "pseudorandom" isn't enough (somebody can figure out patterns and break the system)
Quote by seljer
it depends on how random you want it
I'm not sure how crucial it would be for this application
but for security and cryptography stuff, having something just "pseudorandom" isn't enough (somebody can figure out patterns and break the system)

Something can't be more random or less random. It's either random or it isn't.

And no matter how hard you tried, you can only generate pseudorandom numbers with a computer (seeing as how it's a "finite state machine" n shit).
Dear God, do you actually answer prayers?

Yes, but only in a way indistinguishable from random luck or the result of your own efforts.
Quote by Jonn0

Same thing happened to my toast this morning.
Quote by lizarday
oh yeah? well larry king the slayer guitarist owns bc rich guitars. (i think)
Quote by eat and play
okay, so i was bored and was thinking what if i had a random pixel generator you know so it would make say a 300 x 300 picture and each pixel would be randomly generated. and theoretically it could generate a picture of anything that has, will or wont happen so it could have a picture of you on a giant flying monkey while the monkey was eating hippos out of a giant bag that says "hipporitos" on it or the beggining of the universe etc. . so if anyone knows where i can download one that would be cool.

Here ya go! htttp://www.randompixelgenerator
Quote by Jackal58
I release my inner liberal every morning when I take a shit.
Quote by SK8RDUDE411
I wont be like those jerks who dedicate their beliefs to logic and reaosn.
If you programmed it as a javascript it would be insanely easy, with the right imports all you'd need to do is declare an image object, load a blank canvas, run a simple iterator:

for (Pixel p: pic) { //as an example
}

and simply use a random predefined function to get 3 intensities and set them back as RGB. It wouldn't be a high quality image but it would work and would take a mildly experienced programmer 10 minutes tops.
Electrolytes Smell Like Semen...
Why not try it yourself? It's not hard at all to write such a generator. See how many iterations it would take to get a picture that makes sense.

The total number of combinations is approx (256^3)! / (256^3 - 300^2)! , where ! is the symbol for factorial.

So I wouldn't hold my breath.

Wrong Equation. You would only use that formula if say, for instance, you had a bag filled with coloured balls, and didnt replace the balls as you took them out.

And SYK, you forgot the '.com'
900913

Web Images News Maps Products Groups more »
┌───────────────────────┐
└───────────────────────┘

Quote by umop-3p!sdn
Wrong Equation. You would only use that formula if say, for instance, you had a bag filled with coloured balls, and didnt replace the balls as you took them out.

And SYK, you forgot the '.com'

You have to color 300^2 pixels and have 256^3 colors to choose from.

The number of combinations is arrangements of 300^2 out of 256^3. And if I still remember my highschool math, that's precisely the previous formula.
Dear God, do you actually answer prayers?

Yes, but only in a way indistinguishable from random luck or the result of your own efforts.
Something can't be more random or less random. It's either random or it isn't.

And no matter how hard you tried, you can only generate pseudorandom numbers with a computer (seeing as how it's a "finite state machine" n shit).

well you can have more and less pseudorandom?
a hardware random number generator working off thermal noise or something would be more secure than a software based one

I know that some guys once figured out the RNG in some slot machines in some casino and knew exactly when they'd win and when they wouldn't (that was until they got caught and the casino upgraded the machines)
(edit: http://en.wikipedia.org/wiki/Ronald_Dale_Harris )

edit: if the goal is to create EVERY image possible theres no need for it to be random, just go through all of them in sequence (thats providing you have the computational power to generate and store all of them)
Last edited by seljer at Nov 1, 2007,
Quote by jiminizzle
how bout this.

Go outside and lie down in the grass and look at the clouds

+1
||||||||||||||||||||
||||||||||||||||||||
||||||||||||||||||||