This is not visual.
This is brain.
You need to see a neurologist.
Seizure disorder could do it, although very unusual in this case.
A brain process needs to be ruled out.
You need an MRI and EEG.
Hallucinations need to be ruled out, which can be a brain problem.
Severe depression, and other psychiatric disorders can also do it.
Start with a neurologist.
OK, so you might have more questions or want to give me more information: Please use reply to expert if you have further questions. Also, please click a positive rating [hopefully excellent—that’s how we are paid, per rating]. If you forgot something, just use reply and come back. I am here