This is potentially serious. Indeed as many have said, go see an eye doctor ASAP.
I have had several of these problems in the past, before Keto. I was sitting at my desk at work, and noticed the blinds in the window looked like there were pinched. I thought that was odd. I also noticed all of the air vents in the room were pinched the same way. And then I noticed the lines of text in the book I was reading was pinched. I quickly did a self diagnostic. Covering one eye at a time to see where this effect was coming from. It was just my right eye. Sigh of relief, if both eyes were doing it I was going to freak, it wasn’t optical, but it was an optical effect.
For the next few days I paid attention to see if it was getting worse. It was always in the same place. So I printed up some 1mm graphing paper with very thin lines. And a dot right in the middle. I stared at the dot, and traced an outline around the distortion. I did this everyday. At the end of the week I could see that it was getting bigger. A very steady increase in size.
I called the eye doc in the mall. He made an appointment for me. Made room for me in fact. It was this serious. Turns out in my case it was high blood pressure. Sure enough my BP was 180/140. Been in BP meds ever sense.
There are a lot of things that can cause visual artifacts. It’s best to get these things checked out ASAP.
As for the migraine effect. That’s the only way I get migraines now. Annoying as hell. But no pain. There is what looks like a lightning bolt flashing in my eye. It’s the same shape image in both eyes. I don’t think it’s really located in the eye. It’s probably in the nerve center where vision is processed. No pain receptors there. So I see the migraine. I treat it as if it were painful. I try to relax, drink some water. Hydrate, take some electrolytes. If it goes on more than 10 minutes I’ll take some Ibproffenn, and enjoy the light show.