1. 18
  1. 2

    That is fun. I want to see it used in a GUI — maybe something where you’re plugging components together.

    Also, METABALLS is an anagram of BLAME SALT.

    1. 1

      You can break the intro example? If I move the child circle away fast enough it stops interacting with the parent.

      1. 1

        This is a lot more about marching squares (an algorithm for turning pixelish data into vectorish data) than metaballs. Still, good to see an example based on something less complicated than the usual minetest knockoffs.

        1. 2

          Are we reading the same blog post? This has nothing to do with marching squares, it’s about rendering metaballs with circles and bézier curves.

          1. 3

            Perhaps Sophistifunk clicked through to the linked article: https://jamie-wong.com/2014/08/19/metaballs-and-marching-squares/

            It is indeed more about marching squares.

        2. 1

          Wow I haven’t seen that explicit surface formulation of metaballs before. Looks great! I don’t think it generalizes to more than two balls though.

          1. 1

            Depending on your fill method, you could probably just superimpose all the pairs on each other perhaps. Not awake enough yet to think that through.

            1. 1

              Yeah that would probably look fine but it doesn’t give the same result as summing all the potential fields and then thresholding. But since it’s a visual effect it all boils down to what looks good :) You can find some old metaball debates on pouet.net btw.

          Stories with similar links:

          1. Metaballs via friendlysock 5 years ago | 5 points | no comments