Click to play the original Youtube video. http://mambohead.com/2011/08/piezo-generator/ Post navigation Flocking algorithm Bristolbot
It's explained in the link but it's the piezoelectric effect.
So how does this work?