HTML5 Canvas experiments 2: Metaball generator

It generatoes and displays metaballs in 2D.

Each line in textarea is one metasphere, with following parameters delimited by space: x position, y position, radius, and influence
The last parameter is useful mainly for making negative metaballs. Set to 1 for positive or -1 for negative.

Also, all parameter will be converted to integers.

The generator isn't perfect, but it should work for most of the possible inputs.

And here it is.

Comments:
Name:
Website (not required):
Text: