Growing lines with soft falloff

- YouTube this is the effect I’m trying to make. I tried using Material Functions and found there was a bug using opacity masks. Anyone done anything like this? And suggestions?

Thanks!

steve