There's not; your eyes see the vague white lines formed by the lighter boxes, but when they're in your peripheral vision your brain is filling in the missing information, and because they're so close in location, colour, and thickness to the straight lines, your brain conflates the two. This results in exaggerating the white lines so you're more aware of them than when you're looking straight at them and can see the outlines of the white boxes clearly, and the white and green lines seem to blend when they're both in your peripheral vision.
I've got a bit of a hangover, or maybe I'm still drunk, I dunno, but when I look at the center of the image and focus, all the lines go straight. I'm also on a phone, so maybe not enough is in my peripheral vision to completely fuck me up.
EDIT: It was definitely the alcohol. I'm more sober now and I can't do it anymore.
Look at the white zigzags, they're what trick your brain. If you switch to the square lines after keeping the white zigzags in mind you should be able to see both and your brain doesn't switch back and forth between them.
I opened the image in an editor and replaced the yellow lines with red ones, which made the lines look a lot straighter. I think the illusion comes from the color of the yellow interacting with lines suggested by the white background "pebbles".
As far as I know it relies on the fact that you only have clear vision in the central 20% of you FoV, and your brain just makes the rest up. Also the big blind spot
Ha, good point. I'm showing my age here. I understand our modern phone screens have resolution approaching that of good print, but when I think of a screen my brain still defaults to something like a 14" VGA at 57PPI :-)
Edit: never mind figured it out: the "random buildings" aren't random but rather build alternative paths that you only really see in your peripheral vision
Pretty much any optical illusion that involves "random" patterns actually involves pseudorandom noise, just like adversarial generative networks use tailored pseudorandom noise to fool the discriminator.