Dismiss Notice

Welcome To CK5!

Registering is free and easy! Hope to see you on the forums soon.

Score a FREE t-shirt and membership sticker when you sign up for a Premium Membership and choose the recurring plan.

anyone have a big calculator?

Discussion in 'The Lounge' started by tecton, May 5, 2004.

  1. tecton

    tecton 1/2 ton status

    Joined:
    Dec 1, 2002
    Posts:
    1,553
    Likes Received:
    0
    Location:
    WV
    here is my problem

    how many possible combonations, of pixels, on a screen....

    1024x768 pixels
    each pixel can have a possible 16 million colors
    ----------
    i ask
    because im wondering how impractical it would be to devise a program, that would work out each and every possible combonation of colors, thereby creating every picture ever to be taken, and billions of variations of each of those, and then billions of pictures that havnt been thought up, and billions upon trillions of variations of those
    /forums/images/graemlins/thinking.gif /forums/images/graemlins/thinking.gif /forums/images/graemlins/thinking.gif /forums/images/graemlins/thinking.gif /forums/images/graemlins/thinking.gif /forums/images/graemlins/thinking.gif
     
  2. 75-K5

    75-K5 3/4 ton status

    Joined:
    Apr 28, 2002
    Posts:
    5,353
    Likes Received:
    0
    Location:
    Anderson, Indiana
    12,582,912,000,000 /forums/images/graemlins/eek.gif Good luck with the program, will you be using assembly? /forums/images/graemlins/rotfl.gif /forums/images/graemlins/rotfl.gif
     
  3. Resurrection_Joe

    Resurrection_Joe 1 ton status

    Joined:
    Jan 9, 2002
    Posts:
    17,372
    Likes Received:
    0
    Location:
    Gettysburg, SD
    Well

    1600x1200x16000000 = a whole screen of ONE of each color (or something)

    The amount of variation is going to be like

    9986785858 x 10 ^ 887865677
     
  4. 4xcrazy

    4xcrazy 3/4 ton status

    Joined:
    Oct 31, 2003
    Posts:
    9,471
    Likes Received:
    5
    Location:
    Olympia/Lacey, Washington
    a whole bunch,,,,, /forums/images/graemlins/waytogo.gif
     
  5. tecton

    tecton 1/2 ton status

    Joined:
    Dec 1, 2002
    Posts:
    1,553
    Likes Received:
    0
    Location:
    WV
    i made a program to do this already in php...but it was a 10x10 square, black and white
     
  6. Goober

    Goober 1/2 ton status

    Joined:
    Apr 26, 2002
    Posts:
    2,222
    Likes Received:
    0
    Location:
    Mayberry (Auburn, WA)
    First of all, why would you pick a display resolution of 1024x768? Is that just the resolution you picked based on your current display settings? Isn't it possible to display the same images at lower resolutions, like 640x480 or 160x120? Why not calculate based on a lower resolution? You could also do some simple calculations to get started by choosing a lower color depth, like 16 colors (4-bit) as opposed to 16,777,216 colors (24-bit).


    A little background on CRT displays: Each pixel of the screen image is displayed on a monitor using a combination of three different color signals: red, green and blue. This is similar (but not quite identical) to how images are displayed on a television set. Each pixel's appearance is controlled by the intensity of these three beams of light. When all are set to the highest level the result is white; when all are set to zero the pixel is black, etc.

    The amount of information that is stored about a pixel determines its color depth, which controls how precisely the pixel's color can be specified. This is also sometimes called the bit depth, because the precision of color depth is specified in bits. The more bits that are used per pixel, the finer the color detail of the image.


    If the goal is to display every possible image ever produced (or at least calculate the total number of combinations of colors possible) why not start with a resolution of 160x120 and a color depth of 4-bits(Standard VGA)? That would give you some more reasonable numbers to work with. Unless you just want to abuse your brain with BIG numbers. /forums/images/graemlins/histerical.gif /forums/images/graemlins/histerical.gif
     
  7. mrk5

    mrk5 The Sticker Guy Moderator Vendor GMOTM Winner Author

    Joined:
    Apr 20, 2004
    Posts:
    12,329
    Likes Received:
    1,037
    Location:
    Northern Colorado
    Just reading this post is making my brain hurt! /forums/images/graemlins/doah.gif /forums/images/graemlins/confused.gif
     
  8. tecton

    tecton 1/2 ton status

    Joined:
    Dec 1, 2002
    Posts:
    1,553
    Likes Received:
    0
    Location:
    WV
    [ QUOTE ]
    Unless you just want to abuse your brain with BIG numbers

    [/ QUOTE ]
    exactly
    why 1024x768? just picked a number people were familiar with

    but its really interesting if you think about it
    every picture imaginable...that means every blueprint, for every piece of technology ever invinted, and billions that have yet to be invented. Just look out your window, pretend that is a picture. Now, think about this (get the advil ready) if you can have billions upon billions of combonations of pictures of little girls, how many combonations of pictures can you have of the little girl outside your window, in a billion different cars, doing a billino different things, eating a billion different foods....now wait til its dark and do it again
    its mind boggling....:headache:
     
  9. Goober

    Goober 1/2 ton status

    Joined:
    Apr 26, 2002
    Posts:
    2,222
    Likes Received:
    0
    Location:
    Mayberry (Auburn, WA)
    This sounds like the old story about sitting a bunch of monkeys down at keyboards to type random characters and calculating how long it would take to come up with the entire works of Shakespeare.



    /forums/images/graemlins/smirk.gif /forums/images/graemlins/smirk.gif
     
  10. newyorkin

    newyorkin 1 ton status

    Joined:
    May 8, 2001
    Posts:
    16,555
    Likes Received:
    157
    Location:
    Los Estados Unitos
    [ QUOTE ]
    anyone have a big calculator?

    [/ QUOTE ]

    Dintchoo ever hear size doesn't matter?
     
  11. landsmasher

    landsmasher 1/2 ton status

    Joined:
    Mar 13, 2002
    Posts:
    4,423
    Likes Received:
    0
    Location:
    California, The Blow Me State
    It's not how big the calculator is, it's how you use it that counts...

    Websters Dictionary has every story ever printed in it... It also has every story that will ever be printed in it... /forums/images/graemlins/tongue.gif
     
  12. gjk5

    gjk5 3/4 ton status

    Joined:
    Mar 17, 2004
    Posts:
    5,312
    Likes Received:
    0
    Location:
    Grand Junction, CO
  13. landsmasher

    landsmasher 1/2 ton status

    Joined:
    Mar 13, 2002
    Posts:
    4,423
    Likes Received:
    0
    Location:
    California, The Blow Me State
    [​IMG]

    So do ya think they got much spam back then? /forums/images/graemlins/crazy.gif
     
  14. gjk5

    gjk5 3/4 ton status

    Joined:
    Mar 17, 2004
    Posts:
    5,312
    Likes Received:
    0
    Location:
    Grand Junction, CO
    Yeah, the can popped out of that big slot on his right. /forums/images/graemlins/thumb.gif
     
  15. Goober

    Goober 1/2 ton status

    Joined:
    Apr 26, 2002
    Posts:
    2,222
    Likes Received:
    0
    Location:
    Mayberry (Auburn, WA)
    [ QUOTE ]
    [​IMG]

    So do ya think they got much spam back then? /forums/images/graemlins/crazy.gif

    [/ QUOTE ]


    /forums/images/graemlins/histerical.gif /forums/images/graemlins/histerical.gif /forums/images/graemlins/histerical.gif /forums/images/graemlins/histerical.gif /forums/images/graemlins/histerical.gif /forums/images/graemlins/histerical.gif /forums/images/graemlins/histerical.gif
     
  16. jarheadk5

    jarheadk5 1/2 ton status

    Joined:
    Mar 6, 2000
    Posts:
    4,389
    Likes Received:
    0
    Location:
    PA
    [ QUOTE ]
    Yeah, the can popped out of that big slot on his right. /forums/images/graemlins/thumb.gif

    [/ QUOTE ]


    /forums/images/graemlins/histerical.gif /forums/images/graemlins/histerical.gif /forums/images/graemlins/histerical.gif /forums/images/graemlins/histerical.gif /forums/images/graemlins/histerical.gif /forums/images/graemlins/rotfl.gif /forums/images/graemlins/rotfl.gif /forums/images/graemlins/rotfl.gif /forums/images/graemlins/rotfl.gif /forums/images/graemlins/rotfl.gif
     

Share This Page