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
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
I'm not sure that rand() would be random enough to be able to generate "every possible picture".
What sort of "enhancements" are you looking for exactly?
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.
just need to be (very) patient.
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. =)
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. =)
and i know the idea is practially useless of course.
but in theory and for fun, i don't think it is thaaat stupid. =)
but in theory and for fun, i don't think it is thaaat stupid. =)
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. ;)
Just remember to add a disclaimer in case your software renders pictures of child pornography, top secret military installations, etc. ;)
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?
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)
iq wins, imerso loses. It's that quick.
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.
It would be interesting to have a program that created all possible 16b, 32b, 64b, 128b, and 256b intros.
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.
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.
if you only consider valid asm opcodes with their following parameters, then it's a bit less than all those numbers.
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 :)
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 :)
xTr1m: Of Course. But extrictly speaking we should also consider all the possible combinations of machines capable of execute those hypothetical executable files.
;]
;]
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
could bring 16b down to 2^96, approximately 10^30
with an automated validation process, maybe we're onto something
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.
I think someone have been reading to much Douglas Adams crap.
Read something cool instead, like Jeff Noon or Nikanor Teratologen.
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.
OK. It's time to code a intro that codes all the possible intros in the universe!
So call me, maybe
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.
Not a fun job :-) And let's hope they'll have beer- and piss-breaks, too.