Monday 8 December 2014

Pseudo Code For Public Display

This is the pseudo code for my public display project, this is a rough plan on how I imagine the project to function.  The sketch will begin with a pointilized background which isn't clear and needs to be distorted by decrypting the puzzle by putting physical objects in the correct order.

Step 1:  If tracked object #1 is in the first quarter of the screen width part1= true

Step 2: If tracked object #2 is in the second quarter of the screen width part2 = true

Step 3: If tracked object #3 is in the third quarter of the screen width part3 = true

Step 4: If tracked object #4 is in the forth quarter of the screen width part4 = true

Step 5: While part1 = true
       play sound = correct.wav
       or
       fill first quarter of screen with yellow

Step 6: While part2 = true

          play sound = correct.wav
           or
          fill second quarter of screen with 50% opacity green

Step 7: While part3 = true

           play sound = correct.wav
           or
           fill third quarter of screen with 50% opacity green

Step 8: While part4 = true

          play sound = correct.wav
          or
          fill forth quarter of screen with 50% opacity green

Step 9: While part1 + part2  + part3 + part4 = true

            play sound = complete.wav
            pointillize image with smaller dots so image is clear and
            not distorted.

No comments:

Post a Comment