compositing multiple transparencies per frame in HTML5 canvas, and some flocking behavior