It uses the box2d physics engine to simulate gravity, dependent on the mobile device’s accelerometer’s data. And the code is pretty neat and compact, thanks to some object-oriented concepts..
The submission deadline is 29.07.2013, so I cannot reveal the code right now, but after the submission phase, I will provide a github link for everyone who wants to play and improve the simple bubble melody app.
It is very simple and very powerful programming language/environment for experimental stuff. I recently started to play with it, so here’s my first simple program to visualize the Koch’s snowflake fractal. It is, indeed nothing much, but it clearly shows how easy is creating classes and extracting functionality in methods with Processing (which is no surprise, since Processing is java-based).
The interactive part is, that on mouse click the snowflake changes it’s stroke color and order, depending on the x-y coordinates of the mouse pointer during the click time.
It is so much fun, so stay tuned.. There is more to come..
And here is a video, of how can you creatively use the provided code: