my design work in and out of architecture

The Ghost in the Machine


I more stumbled up this than created it outright as I was experimenting with some basic image manipulations in Processing. The actual script is very simple, but the results are quite fascinating if a bit eerie. The algorithm takes an image and subdivides it into a matrix of square samples and draws a diagonal that is flipped depending on the brightness value of the image at that specific location. I’ve included the source code for Processing so if you know the language feel free to download and experiment with it yourselves.

Download Processing

View the source code


Creative Commons License

Ghost in the Machine by Luis Gil is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.