An epilepsy characterized by seizures triggered by visual stimuli that form patterns in space or time, such as flashing lights. The disease is photosensitive epilepsy (Monarch Disease Ontology identifier MONDO_0015643). Also known as: photogenic epilepsy, photoparoxysmal response.