Morphing grid segments?

Hi, I feel like this shouldn’t be too tricky. I want to “morph” two grid segments together so they look like this?

I’m following this contribution cocoonwavegenerator and have been trying to figure out what morphs the circles together but I just can’t wrap my head around it. The contribution has a lot of extra animation features that I don’t want but I’m not sure what part of it is creating the “morphed” shape effect

Thanks