How does a flashing light induce seizures?

Photic stimulation. Eeg's may include the flashing lights in an attempt to de-synchronize cerebral rhythms to prove presence of epilepsy. Seizures may be seen on dance floors with strobe lights if inappropriate frequencies of flashing. All of these evokes a chemical response from glutamate receptors, and subsequent epileptic discharges.