Repeating beam effect

I have 2 beams, I want them to “connect” and create a seamless connection