What if … I finally documented my creative coding work from last semester

Screen Shot 2012-11-14 at 1.20.25 PM

I’ve been enjoying a very long and fun break since the ITP show (more on that later) but now I’m aboutto start another semester! I can’t wait to start working on some new projects, but I still haven’t shown some of my work from my previous semester. First up: Introduction to Computational Media, or my creative coding class.

Here were a couple of the smaller weekly assignments I made throughout the semester.


Once we started working with cameras, I wanted to make a sketch that worked similar to a teleidoscope with copies of the same images rotating slowly. a simple proof of concept.


teleidoscope2 from brett peterson on Vimeo.

Code: https://github.com/ptterb/teleidoscope

Pixel Mirror

Screen Shot 2013-01-19 at 12.49.41 PMAnother onethat I made and just really liked the effect of. These weren’t very complicated applications, but I really liked the effects they produced.


pixel mirror from brett peterson on Vimeo.

Code: https://github.com/ptterb/pixel_mirror


What If

Screen Shot 2012-11-14 at 1.17.02 PM

I took the Conspiracy Keanu meme and created an app that crawls twitter for “what if”, does some parsing and creates an image from the text it finds. This one was really fun to run a bunch of times. Most made little sense

code: https://github.com/ptterb/whatif


Bubble Rider – my first complete game in Processing

I just completed my first full game in Processing! It’s called Bubble Rider and you can play it here:

Play Bubble Rider

It’s a pretty simple game; you control a green and blue bubble as obstacles wiz past them. I’ll probably tweak it to make it more fun and have the difficulty ramp up nicely, but for now, it’s functional and done.

I also made controllers for the game using some arcade buttons and an Arduino that communicates to the sketch over a serial connection. The switch is connected to the normally open and ground connectors.



The Arduino code is here: https://github.com/ptterb/button_press

Processing catch-up post

I haven’t posted any of my ICM homework to my blog yet, so this post will take care of it in one shot! Here are a few of the projects I’ve worked on recently.


Move the mouse inside the window to create sparks!


The inspiration for this one was an equalizer. I ended up spending way to much time thinking about the math of the line heights


click inside the box to start drawing.