See my bubble popping code for something like your idea.
Circles, circles, circles, and did I say Circles?
Code labeled as v0.7 of Soap Bubbles
It makes a larger than real matrix sized buffer so that it can move the bubbles upwards to float “on screen”, and then adjusts values so the bubbles “pop” in a way that lasts multiple frames with some sense of decaying history