Thanks for the feedback!
What I use to merge the water particles is an algorithm called metaballs, in short you go through all the pixels on the screen and sum the distance between the particles and that pixel. If the sum value is high enough then the pixel is rendered as water.
I completely forgot the source code, if you want to check it out: https://github.com/GuilOliveira/MyWaterBox