If you are able to read spanish, please visit the latest tutorial http://www.codepixel.com/tutoriales/metaballs/ written for the codepixel website by Jacobo Rodriguez Villar (author of http://www.typhoonlabs.com/)..) It explains with pictures the physics behind these balls, and includes pseudocode to create them. Also, you can download sample code.
Thanks in advance.