pouët.net

Every Picture In The Universe - the useless (?) app

category: offtopic [glöplog]
I had this idea a long time ago, then forgot about it, only remembering recently.

Then I decided to finally start implementing this useless (?) app, which, given enough time (maybe a billion years or more) will generate every possible picture for the given image resolution.

Well, this is just started, and I released the first prototype here:

http://code.google.com/p/every-picture

This is a free, for fun project which I hope will get some help for enhancements.

Thanks,

imerso
added on the 2012-07-17 10:44:35 by imerso imerso
I'm not sure that rand() would be random enough to be able to generate "every possible picture".
added on the 2012-07-17 11:03:31 by TLM TLM
What sort of "enhancements" are you looking for exactly?
added on the 2012-07-17 11:03:41 by Preacher Preacher
You could also generate all possible 256b, 512b, 1k, 4k and 64k and throw all that demotools and coding tutorials away.
just need to be (very) patient.
added on the 2012-07-17 11:08:20 by Tigrou Tigrou
this is not random at all!

rand() was used only to shuffle access to the framebuffer, eliminating the boring sequential access.

one of the first enhancements will be a time shift control. =)
added on the 2012-07-17 11:08:30 by imerso imerso
and i know the idea is practially useless of course.

but in theory and for fun, i don't think it is thaaat stupid. =)
added on the 2012-07-17 11:10:09 by imerso imerso
I remember we experimented with something similar back in the early 90's, prior to the Useless Utility Compo at TG93-something. We even did a software edition for, well, software instead of images.

Just remember to add a disclaimer in case your software renders pictures of child pornography, top secret military installations, etc. ;)
added on the 2012-07-17 11:10:30 by skurk skurk
i'm very bad at algorithm analysis, but still, it isn't any obvious to me how any of the three algorithms is exhaustive and goes through all possible combination of bytes. are you sure... this works.. at all?
added on the 2012-07-17 21:36:31 by iq iq
also, even if you were able to try one image a second, in all the time the universe has existed (2^58 seconds) you wouldn't have had time to test all possible 2x2 pixel images (2x2 rgb 8 bit pixels is 96bits, or 2^96 possible images)
added on the 2012-07-17 21:40:29 by iq iq
iq wins, imerso loses. It's that quick.
added on the 2012-07-17 21:56:51 by xTr1m xTr1m
Such a thing has already been done several times. One of our readers who had coded such a program even got a visit by the police because he had written that this program could be used to generate child porn pictures.

It would be interesting to have a program that created all possible 16b, 32b, 64b, 128b, and 256b intros.
added on the 2012-07-17 22:07:19 by Adok Adok
Considering the numbers...

All 16b intros = 2^128
All 32b intros = 2^256
All 64b intros = 2^512
All 128b intros = 2^1024
All 256b intros = 2^2048

Good luck checking all them.
added on the 2012-07-17 22:34:34 by ham ham
if you only consider valid asm opcodes with their following parameters, then it's a bit less than all those numbers.
added on the 2012-07-17 22:41:38 by xTr1m xTr1m
Hey, but then, if we assumed 2x2 luminance block (8bit per pixel, let's push it!), then that gives 32bits, 2^32 combinations.

I'd venture there myself, but I'll leave you all the glory. You may accidentally unveil the greatest piece of porn the mankind is yet to see in but 4 pixels!

Just don't forget to mention me, once you hit them headlines :)
added on the 2012-07-17 22:43:43 by kbi kbi
xTr1m: Of Course. But extrictly speaking we should also consider all the possible combinations of machines capable of execute those hypothetical executable files.

;]
added on the 2012-07-17 22:48:31 by ham ham
xTr1m: minus the necessary bits needed for mode13 setup, esc-check and programm exit
could bring 16b down to 2^96, approximately 10^30
with an automated validation process, maybe we're onto something
added on the 2012-07-17 23:29:45 by vectory vectory
I like the long now mindset but I'm not sure about the code and the wait ;)
Brute forcing the reality with a bunch of digital monkeys with virtual typewriters.


I think someone have been reading to much Douglas Adams crap.
Read something cool instead, like Jeff Noon or Nikanor Teratologen.
added on the 2012-07-18 03:51:53 by Frost Frost
If you take in account the shapes and not the actual pixel values (as in an image with different brightness is the same, same for contrast, etc) it's a lot better, but you still need more time that you have.
added on the 2012-07-18 04:24:09 by xernobyl xernobyl
OK. It's time to code a intro that codes all the possible intros in the universe!
added on the 2012-07-18 07:42:39 by Danguafer Danguafer
So call me, maybe
added on the 2012-07-18 08:13:28 by Jcl Jcl
I don't envy the organizer who has to check all the intros in the universe for the ultimate intro competition at the end of time. He'll have to disqualify all the intros that have already been written, too.

Not a fun job :-) And let's hope they'll have beer- and piss-breaks, too.
added on the 2012-07-18 08:14:38 by D.Fox D.Fox

login