Code that uses itself as a string of characters, from which to generate an image.
- The color for each "dot" is based on the frequency of that character in the code itself.
- Each bend occurs when there is a space or end of line occurs in the string.
- Python, and Python Image Library (PIL)
At a gallery event, here in San Francisco, 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 visually. After percolating on it for awhile, I started writing some python code that takes itself as input and draws an image based on the text of that code.
For more on my creative process at the beginning of this project, please see this blog post on Self-Drawing Code.