Daily Archives: 16 Sep 2011

Processing & Baba Yaga: Part 3

The third installment in the Baba Yaga series involves interaction. That is, the hut follows the mouse (with some delay built in), it gets taller if the left mouse button is pressed, shorter if the right button is pressed, and, if any key on the keyboard is pressed, there’s a special, secret surprise! (Well, not so secret because I’ll show it to you below.) I also think it has much cuter graphics. You can try the interactive version at OpenProcessing.org by clicking here.

Here’s the code:

And here’s a still shot of the Nickelodeon-style house:

And the special, secret surprise that you get when you press a key:

Whee!! Fun!!

Tagged , , , , , , ,