Does anyone know how to make an effect like in that game?

http://www.kongregate.com/games/Stuv/shape-wars