Category: e-Portfolio

Creating the binary background

I’ve changed my background from a stock internet photo to one I created myself.

First of all I wrote a little python program that generated a random 0 or 1

1
2
3
4
5
6
7
import random
message=""
for item in range(3000):
    number=random.randint(0,1)
    message=message + str(number)

print(message)

 

blueBinaryI then took a screenshot of the resulting console window and cropped it with IrfanView. I made a negative of the image and swapped the RGB colours before saving it as a PNG file.

I then uploaded the file and set it as a time background, it needs a little crop as it’s a couple of pixels too wide on one edge.

I’m sure you can think of a way that you could use this technique to create even better backgrounds with patterns or hidden messages.