photosensitive epilepsy photosensitive epilepsy photosensitive epilepsy (pse) is a form of epilepsy in which seizures are triggered by visual stimuli that form patterns in time or space, such as flashing lights; bold, regular patterns; or regular moving patterns. photosensitive epilepsyepilepsy warning label on a pinball machine with video componentsspecialtyneurologyfrequency1 in 4000 pse affects approximately one in 4,000 people (5% of those with epilepsy). signs and symptoms people with pse experience epileptiform seizures upon exposure to certain visual stimuli. the exact nature of the stimulus or stimuli that triggers the seizures varies from one patient to another, as does the nature and severity of the resulting seizures (ranging from brief absence seizures to full tonic–clonic seizures). many pse patients experience an "aura" or feel odd sensations before the seizure occurs, and this can serve as a warning to a patient to move away from the trigger stimulus. the visual trigger for a seizure is generally cyclic, forming a regular pattern in time or space. flashing lights or rapidly changing or alternating images (as in clubs, around emergency vehicles, near overhead fans, in action movies or television programs, etc.) are examples of patterns in time that can trigger seizures, and these are the most common triggers. static spatial patterns such as stripes and squares may trigger seizures as well, even if they do not move. in some cases, the trigger must be both spatially and temporally cyclic, such as a certain moving pattern of bars. several characteristics are common in the trigger stimuli of many people with pse. the patterns are usually high in luminance contrast (bright flashes of light alternating with darkness, or white bars against a black background). contrasts in colour alone (without changes in luminance) are rarely triggers for pse. some patients are more affected by patterns of certain colours than by patterns of other colours. the exact spacing of a pattern in time or space is important and varies from one individual to another: a patient may readily experience seizures when exposed to lights that flash seven times per second, but may be unaffected by lights that flash twice per second or twenty times per second. stimuli that fill the entire visual field are more likely to cause seizures than those that appear in only a portion of the visual field. stimuli perceived with both eyes are usually much more likely to cause seizures than stimuli seen with one eye only (which is why covering one eye may allow patients to avoid seizures when presented with visual challenges). some patients are more sensitive with their eyes closed; others are more sensitive with their eyes open. sensitivity is increased by alcohol consumption, sleep deprivation, illness, and other forms of stress. television television has traditionally been the most common source of seizures in pse. for people with pse, it is especially hazardous to view television in a dark room, at close range, or when the television is out of adjustment and is showing a rapidly flickering image (as when the horizontal hold is incorrectly adjusted on analog television sets). modern digital television sets that cannot be maladjusted in this way and which refresh the image on the screen at very high speed present less of a risk than older, analog television sets. some people with pse, especially children, may exhibit an uncontrollable fascination with television images that trigger seizures, to such an extent that it may be necessary to physically keep them away from television sets. some people (particularly those with cognitive impairments, although most people with pse have no such impairments) self-induce seizures by waving their fingers in front of their eyes in front of bright light or by other means. uk television broadcasters require all screen content to pass an automated pse and qc test. previously, the harding fpa test was used to assess content, however this has been replaced by software such as baton or vidchecker. ofcom regularly updates their definition of a flashing sequence. this is an objective standard of assessment of potential to trigger seizures in the susceptible population. this test is not currently required internationally. an automated file-qc system like baton implements algorithms to detect pse levels based on the restrictions described in itu-r bt.1702, ofcom, and nab-j guidelines. the recent versions of baton support ofcom, nab-j, itu-t bt. 1702 (2005 and itu-r bt. 1702 (2018), there are plans to support itu bt.1702-2 (10/2019) as well in the upcoming release. fluorescent lighting when functioning correctly, mains-powered fluorescent lighting has a flicker rate sufficiently high (twice the mains frequency, typically 100 hz or 120 hz) to reduce the occurrence of problems. however, a faulty fluorescent lamp can flicker at a much lower rate and trigger seizures. newer high-efficiency compact fluorescent lamps (cfl) with electronic ballast circuits operate at much higher frequencies (10–20 khz) not normally perceivable by the human eye, though defective lights can still cause problems. diagnosis diagnosis may be made by noting the correlation between exposure to specific visual stimuli and seizure activity. more precise investigation can be carried out by combining an eeg with a device producing intermittent photic stimulation (ips). the ips device produces specific types of stimuli that can be controlled and adjusted with precision. the testing physician adjusts the ips device and looks for characteristic anomalies in the eeg, such as photoparoxysmal response (ppr), that are consistent with pse and/or may herald the onset of seizure activity. the testing is halted before a seizure actually occurs. sometimes diagnostic indicators consistent with pse can be found through provocative testing with ips, and yet no seizures may ever occur in real-life situations. many people will show pse-like abnormalities in brain activity with sufficiently aggressive stimulation, but they never experience seizures and are not considered to have pse. treatment and prognosis no cure is available for pse, although the sensitivity of some people may diminish over time. medical treatment is available to reduce sensitivity, with sodium valproate being commonly prescribed. patients can also learn to avoid situations in which they might be exposed to stimuli that trigger seizures and/or take steps to diminish their sensitivity (as by covering one eye) if they are unavoidably exposed. these actions together can reduce the risk of seizures to almost zero for many pse patients. epidemiology pse affects approximately one in 4,000 people, or 5% of individuals with epilepsy. it is more common in women and people who are younger. society and culture law a law requiring pse warnings be displayed on packages and stores was proposed by the state of new york. games the first case of epileptiform seizures related to a video game was reported in 1981. since then, "many cases of seizures triggered by video games were reported, not only in photosensitive, but also in nonphotosensitive children and adolescents with epilepsy... specific preventive measures concerning the physical characteristics of images included in commercially available video games (flash rate, choice of colours, patterns, and contrast) can lead in the future to a clear decrease of this problem." risks can be reduced through measures such as keeping a safe distance away from the screen (at least 2 meters). while computer displays in general present very little risk of producing seizures in pse patients (much less risk than that presented by television sets), video games with rapidly changing images or highly regular patterns can produce seizures, and video games have increased in importance as triggers as they have become more common. some people with no prior history of pse may first experience a seizure while playing a video game. often the sensitivity is very specific, e.g., it may be a specific scene in a specific game that causes seizures, and not any other scenes. despite this, there are questions on the dangers of this, and calls for testing all video games for causing pse. web design as with video games, rapidly changing images or highly regular patterns such as flashing banner ads or irregular fonts can trigger seizures in people with photosensitive epilepsy. two sets of guidelines exist to help web designers produce content that is safe for people with photosensitive epilepsy: the world wide web consortium - web content accessibility guidelines (wcag) version 2.0, produced in 2008, specifies that content should not flash more than 3 times in any 1 second period. however it does allow flashing above this rate if it is below the "general and red flashing thresholds", which means if the effect is small or low-contrast enough it is acceptable. in the united states, websites provided by federal agencies are governed by section 508 of the rehabilitation act. the act says that pages shall be designed to avoid causing the screen to flicker with a frequency greater than 2 hz and less than 55 hz. public attention photosensitive epilepsy was again brought to public attention in december 1997 when the pokémon episode "dennō senshi porygon" ("cyber soldier porygon") was broadcast in japan, showing a sequence of flickering images that triggered seizures simultaneously in hundreds of susceptible viewers (although 12,000 children reported symptoms which may be attributable to mass hysteria). in march 1997, the 25th episode of an anime series called yat anshin! uchū ryokō caused a similar incident, when a reported four children were taken to hospitals by ambulances after viewing a scene with red and white flashing colours. in march 2008, the anonymous group of hackers was claimed to be behind an attack on a forum for people with epilepsy. the anonymous hackers in turn blamed the church of scientology for the attacks, saying they were falsified to hurt anonymous' image. the attacks first consisted of gif images flashing at high speeds that were hidden in discussion threads with innocuous-sounding titles. later attacks redirected web browsers to a page with "a more complex image designed to trigger seizures in both photosensitive and pattern-sensitive epileptics." the technology website wired news considered it to be "possibly the first computer attack to inflict physical harm on the victims". an animated segment of a film promoting the 2012 summer olympics was blamed for triggering seizures in people with photosensitive epilepsy. the charity epilepsy action received telephone calls from people who had seizures after watching the film on television and online. in response, the london 2012 olympic committee removed the offending segment from its website. in december 2016, newsweek journalist kurt eichenwald, who has epilepsy, reportedly had a seizure after an internet troll intentionally sent him a flashing gif via twitter. three months later, the user behind the gif was arrested and charged with cyberstalking. the 2018 pixar film incredibles 2 contains scenes with flashing lights starting about an hour into the film, in which a villain called the screenslaver hypnotizes other characters. after concerns over possible triggering of seizures due to this scene, theatres posted warnings for audiences with this condition. cyberpunk 2077, a video game released in december 2020, contains a "braindance" sequence with red and white flashing lights which reportedly resembles the patterns produced by medical devices used to intentionally trigger seizures. liana ruppert, a journalist for game informer who has photosensitive epilepsy, experienced a grand mal seizure while reviewing the game days before its release. after criticism from epilepsy advocacy groups that the game's disclaimers were insufficient, cd projekt red announced work on a fix and later patched the effect to be less likely seizure-inducing.