jon
YaBB Newbies
Offline
Posts: 4
Germany
All Images in one Program. Need little help...
Jun 1st , 2005, 6:57pm
hello, i try to write a Program that calculates every Image you can imagine. This is based on the fact, that every Image is build out of pixels. The Program generates Images from a selected size, an fills every Pixel with random colour. If you wait long enough you may see picture of you?... That's the background, now back to reality. Here is the Link to the first try: http://www.getp.de/dipl/processing%20sketches01/orakelbilt02/applet/ i figured out that the random function is not the right way to do this. Because the random function only generates noise, i don't know much about this random function, but i think there should be an other way. The "numeric" way... I imagine a Program that begins on a white drawing area, and fills pixel by pixel the area with colour (or greyscale). So that every combination of Color/Pixel someday appears on the screen. But all the experiments to write such a Program don't work. I have not enough programming experience to figure out how a algorithms should do that. i helped my in a very inconvenient way: it is based on the first script, but every image which is shown on the screen is saved to a memory, if the following images are similar or the same as one in the memory it will not be shown on the screen... have a look. http://www.getp.de/dipl/processing%20sketches01/orakelbilt04_randomcheckv02/applet/ for demonstrating what i need here an other try: look at the black square (pixel)... it goes through the image pixel by pixel, when the last pixel is reached there starts an other pixel... and so on... this example is only with 2 colours, and only with 2 Pixels,.. http://www.getp.de/dipl/processing%20sketches01/orakelbilt032sansrandom/applet/ please ignore the pink squares, they are only for debugging. if you have any idea how to program, i called it "Ultimate Oracle Picture" i am happy to try out your ideas. greetings jon ,,sorry for bad English