Single Image Random Dot Stereogram (SIRDS) generator.
====================================================

How to run the script?

    perl5 program > sirds.ppm

    Use your favorite graphics file viewer to view the PPM file.
    Here are some of my favorite graphics file viewers:
              Sun Solaris
              & Unix     : xv
              SGI        : imgview
              Windows95  : Paint Shop Pro

What is SIRDS?

    SIRDS is a picture of seemingly random dots that, when viewed in 
    the correct way, produce the impression of 3D objects.  

How can I see a SIRDS?

     Most SIRDS pictures are usually generated so that if you look at 
     (converge your eyes on) a position twice as far away as the picture, and 
     focus on the picture, generally after a few minutes you see a surprising 
     3D image!

     For more information about How to see a SIRDS, please visit the URL: 
     http://www.cs.waikato.ac.nz/~singlis/sirds/general.html

How this program works?

     while($y<200){
          while($x<300){
              o  Fill 90 random numbers ranges form 0..3 into an array and 
                 I have selected the "image stereo separation" as 90 pixels.

              o  Calculate Z-value for a Sphere

              o  Calculate the depth and plot the pixels in 
                 corresponding gray scale value.
          }
     }

     For obfuscation, the entire program has been stored in a predefined 
     variable $_ and unscrambled by 'tr [B-N~] [{0-9},$]' and executed 
     by "eval".

     Starting $' and ending 'select' are nothing to do with this program, 
     just for fun!!

Hope you enjoyed my SIRDS!!



     

