Super Saiyan Photobooth

For week 9 I wanted to keep things simple.  I’m a little embarassed to admit the idea came to me after seeing something on reddit about Dragon Ball Z, so I thought “hey, what would I look like as a super saiyan?”.  Thus, this sketch was born.

Screen Shot 2015-10-31 at 1.20.24 PM

It took some playing around with the clmtracker library to get it to work properly.  I got stuck on one thing in particular for a while – after getting all the positions from tracker.getCurrentPosition(); I was unable to simply access a single point in the positions array right away.  I realized after a while that the face tracker takes at least a few frames to grab the points from your face – all the while draw() is still looping.  This means that in the first few frames, the positions array is undefined, but in draw() we attempt to access a value within an undefined property.  This obviously breaks the sketch and nothing worked.  Adding a simple check:  if (positions) {} solved the problem, because now we only use the positions values if it isn’t undefined.

Anyway – here’s the sketch! Super Saiyan Photobooth

Some more notes:

I had a hard time feeling any inspiration this week.  It was one of those weeks where all the ideas that came to mind felt terrible.  Stuck in a rut, as they say.  So I thought just doing something dumb and quick and simple was a good way to start to get out of that.  The idea of video and sound wasn’t super exciting to me – although I’d love to work on sound visualization at some point, but at the moment something along the lines of sound viz seemed too daunting at the moment.  Hopefully soon I’ll try to tackle a sound viz project.

Leave a Reply

Your email address will not be published. Required fields are marked *