Growing algorithm – the result of Sound/Hypermedia AOC
Last week was my last AOC Sound/Hypermedia class, here is a version of our (un)finished group work done during this course… In this project I was with Marie Fontanel, Hong Seong Hye and Aurélie Loffroy
The idea comes from tree barks… Here are some starting images:



We first tried to reproduce the nodes shapes using some spiral functions.

You can see the animation here.
You can see the code source in two parts : first and second part.
Built with Processing
Then we decided to put drawing rules (inspired on Game of life) : we draw using the pixels[], if the position where the pixel is going to be drawn is occupied, then the pixel searches the fastest (and easiest) way to go around the occupied space, finaly if there is no solution to go around the occupied space, then the pixel chooses a random empty position. The code is still unfinished, I guess that later I’ll change it in order to add some new rules….

We integrated the Wiimote to use it as a rubber, when you shake the Wiimote the image gets erased. To connect the Wiimote with Processing, we use a software called OSCulator. For the sound part, we use Pure Data: Processing sends to Pure Data the pixels’ orientation (its angle) which modulates some sound samples (made thanks to Audacity). Both OSCulator and Pure Data use OSC protocol to communicate with Processing. Here you can find the OSC library.
You can download the complete set here.