04.04.2013 Views

Processing: Creative Coding and Computational Art

Processing: Creative Coding and Computational Art

Processing: Creative Coding and Computational Art

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

PROCESSING: CREATIVE CODING AND COMPUTATIONAL ART<br />

44<br />

I hope that helps; it will come in time if it’s still a bit fuzzy. If you’re anything like me, It just<br />

takes some time to restart the brain after years of turpentine exposure <strong>and</strong> bad TV. When<br />

you get stuck on a programming problem, it really does help to write out a simple algorithm.<br />

Later on, when you begin cranking out thous<strong>and</strong>s of lines of dense code, creating<br />

algorithmic roadmaps before you start coding might even eventually begin to feel like<br />

conceptual brainstorming or preliminary sketching—of course, by then you will also be a<br />

certifiable geek.<br />

Happy coding mistakes<br />

After my diatribe about algorithms, how can a coding mistake be seen as happy? Well, I<br />

don’t mean “computer bug” when I write “mistake.” A bug is usually not happy. Bugs are<br />

when stuff happens that is not very interesting <strong>and</strong> usually annoying. Bugs are the things in<br />

software—such as missing semicolons, misspelled variable names, or infinite loops—that<br />

can drive you insane <strong>and</strong> make you try to physically impale your keyboard. Happy coding<br />

mistakes, on the other h<strong>and</strong>, are nonfatal things that happen, often revealing unforeseen<br />

possibilities. As a painter, it took me a long time to be comfortable with my mistakes<br />

(which were many). I wanted to control the paint—which of course is pretty much impossible.<br />

In time, I began to realize that the so-called mistakes I was making were often the<br />

best parts of the paintings. This phenomenon occurs in all creative pursuits, as somehow<br />

our unconscious mind seems to assert itself when we least expect it. Arguably, this is also<br />

where our inspiration lies. I think more experienced artists just learn how to better utilize<br />

this capability as well as gain the ability to more selectively recognize the happy accidents<br />

from the bugs. <strong>Coding</strong> is a creative process, <strong>and</strong> thus code art can benefit from these<br />

happy mistakes. However, because the process of coding involves many more rigid rules<br />

than painting, it is not as easy to underst<strong>and</strong> the concept of happy coding mistakes. In<br />

addition, when starting out coding, it is easy to get caught up in the technical aspects or<br />

craft of coding <strong>and</strong> lose sight of its power as an expressive medium.<br />

There is a macho aspect to coding, as well as to painting. You begin to feel powerful <strong>and</strong><br />

capable of describing all kinds of interesting behaviors; plus, you have access to a secret<br />

language that most people don’t underst<strong>and</strong>. <strong>Coding</strong> can become like a giant, multidimensional<br />

crossword puzzle, <strong>and</strong> you can easily get consumed in these really dense,<br />

abstract worlds—losing site of expressive possibilities or what you need to say (in an artistic<br />

sense). You need craft in coding; the more mastery you have of your medium, the wider<br />

the scope or range of your work. You also need a creative vision; without it, coding can<br />

become an analytical quagmire. I can’t say that I always navigate clear of the quagmire<br />

myself, as I often get caught in trying to solve these endless, albeit interesting, technical<br />

problems. But when I let myself play with the code <strong>and</strong> let things happen that are not<br />

completely in my control, I often have more fun <strong>and</strong> even experience the same kind of<br />

(warning; new-agey phrase coming) transcendent feeling I get when I am in the flow of<br />

painting. I also think the work is more original <strong>and</strong> expressive. Ultimately, I think it is about<br />

finding flow in the coding process that takes you to new places <strong>and</strong> allows you to turn<br />

your so-called mistakes into new <strong>and</strong> fertile investigations.<br />

OK, let’s assume you buy some of this; a logical question for a new coder to ask is “How<br />

do you begin to find or embrace happy coding mistakes when you don’t even know the<br />

fundamentals (or basic craft) of programming?” I think the answer is to always try to find

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!