Self-Drawing Code: Sketches

If a program were self-aware, and could draw a picture of itself, what would it look like?

In this generative art project, I've written a program that takes its own source code as input and draws an image from it.

Inspiration: at a recent gallery event, I was inspired by one of my fellow artists who included the code for his generative art in the final print. It got me thinking about Code Reflection and how it’s used, and how I might play with these ideas. After percolating on it for awhile, I started writing some python code that takes itself as input and draws an image based on the string of characters that form that code.


Source Code

More Information