To make the visuals I used minim to be able to make the visuals respond to the audio.
The basic idea is that there is a matrix of cubes. Each cube has an randomized age, and according to this age it grows. Once the growth reaches a certain percent, characteristics of the cube change.
Let me know what you think of it, I am curious to know :)
I am trying to apply easing on the speed with which a cube becomes larger.
I'm not sure why but when i try to take the n-th square root (through a power 1/n), processing doesn't seem to calculate my fracture power correctly...
Below is how I tried to implement the easing:
float growSpeed= pow(cubeSize, 1/time);
where growSpeed is the multiplication factor for each frame, until the framecount reaches the 'time' set for the animation to complete.
when I do println(growSpeed); I always get 1.0 as a result... :/