← Blog

Flashing prank screens and photosensitive epilepsy: how to prank safely

Reviewed byProfessor Arnold Wilkins

· updated · 15 min read · The WhiteScreen.tv team

A red warning triangle with an exclamation mark on a plain dark background
No stripes on purpose: striped patterns can be uncomfortable to look at. The table below shows what we found in every prank.

This article is general safety information, not medical advice.

A good screen prank makes someone jump, laugh, and then forgive you. It should never put anyone in hospital. For a small number of people, rapidly flashing images can trigger a seizure. Many more get migraines, or simply find flicker and busy patterns hard to look at. Before you run a flashing effect on a colleague's monitor or a party projector, it is worth knowing which effects flash and how to use them safely.

We went through every prank on WhiteScreen.tv to find out. Most do not flash at all. One effect, the Glitch Screen, could flash faster than the standard guideline, so we changed it. It is still a fast, high-contrast effect, so the advice below still applies.

Photosensitive epilepsy in brief

Photosensitive epilepsy is a form of epilepsy in which seizures are triggered by flashing or flickering light, or by some high-contrast patterns.

  • It is uncommon. The UK's Epilepsy Society says "around 1 in 100 people has epilepsy and, of these people, around 3% have photosensitive epilepsy" (Epilepsy Society). A 2005 review for the Epilepsy Foundation of America put the prevalence of seizures from light stimuli at about 1 in 10,000 people, or 1 in 4,000 among those aged 5 to 24 (Fisher et al., 2005).
  • It mostly affects young people. "Most people who develop photosensitive epilepsy are between the age of 7 and 19 years old", and it is more common in women than men (Epilepsy Society).
  • Some flash rates are riskier than others. "Frequencies of 15-25 Hz are most provocative, but the range is 1-65 Hz", and red color is also a factor (Fisher et al., 2005). The Epilepsy Society gives 3 to 30 flashes per second as the common range.
  • Patterns count too. The same review notes that light-dark borders can bring on seizures in people who are pattern-sensitive, and the Epilepsy Society mentions geometric patterns with strong contrast, such as stripes or bars.
  • People often do not know they are at risk. In the best-known case, an episode of the Pokémon cartoon broadcast in Japan in 1997 sent 685 children to hospital after a sequence of red and blue flashes (Fisher et al., 2005); most seizures happened at a scene where red and blue frames alternated 12 times a second (Takada et al., 1999). Only 24% of the children who had a seizure during the cartoon had ever had one before.

That last point is why "nobody here has epilepsy" is not a complete safety check.

Migraine and visual discomfort

Seizures are the most serious risk and the rarest. Discomfort is much more common, and it follows different rules.

  • Flicker and bright light are common migraine triggers. The Migraine Trust says bright or flickering lights are "frequently reported as triggers for migraine attacks" (Migraine Trust). Sensitivity to light is also part of how migraine is diagnosed: the international criteria list light and sound sensitivity together as one of the features of an attack (ICHD-3).
  • Stripes and busy patterns can be uncomfortable, more so with migraine. Some striped patterns are unpleasant to look at, and the same kinds of pattern can produce abnormal brain-wave readings in people with photosensitive epilepsy (Wilkins et al., 1984). In a small 1989 study, 82% of people with migraine were sensitive to striped patterns, against 6% of those without (Marcus and Soso, 1989). In a 2006 study, people with migraine saw more illusions in striped patterns and reported more "pattern glare" (Harle et al., 2006).
  • The three-flashes rule is about seizures, not comfort. An effect can stay under it and still be hard to watch, cause a headache or set off a migraine. There is no agreed comfort limit for flicker on a screen.

So if someone says an effect bothers them, believe them and turn it off. It does not need to be a seizure risk to be a good reason.

The three-flashes rule

Broadcasters and web designers work to the same basic limit: no more than three flashes in any one second.

The web standard, WCAG 2.2 success criterion 2.3.1, says: "Web pages do not contain anything that flashes more than three times in any one second period, or the flash is below the general flash and red flash thresholds" (W3C). The detail matters:

  • A flash is a pair of opposite changes in brightness, bright then dark or dark then bright, big enough to matter: a change of at least 10% of the maximum relative luminance, where the darker state is below 0.80 (W3C Understanding 2.3.1).
  • Small flashes are allowed. Flashing is acceptable if it covers less than about a quarter of any 10-degree area of the visual field. On a 1024 x 768 screen, W3C uses a 341 x 256 pixel rectangle as the test area. Very fine, even patterns, such as TV static with grains smaller than about 0.1 degree, are not counted as flashing.
  • Red is treated separately. Any pair of opposing transitions involving a saturated red counts as a red flash, whatever the brightness change.
  • A stop button comes too late. W3C explains why the rule limits the content instead of relying on controls: for someone photosensitive, a seizure could happen faster than most people could turn the effect off.

UK television follows the same idea. Ofcom's guidance says flashing is not permitted when the flashes cover "more than one quarter" of the screen and there are "more than three flashes within any one-second period" (Ofcom). It also limits regular patterns of "more than five light-dark pairs of stripes in any orientation", and warns that flashing lasting more than five seconds "might constitute a risk even when it complies with the guidelines". The international broadcasting recommendation, ITU-R BT.1702, sets out the same limits (ITU). Ofcom is candid about what the rules can achieve: "it is therefore impossible to eliminate the risk".

Flicker you cannot see: screen PWM

Everything above is about flashing you can see: an effect drawn by a page, a few times a second. A screen can also flicker on its own. Many OLED phones and some monitors dim by switching their light on and off very quickly, usually hundreds of times a second or more. This is called pulse-width modulation, or PWM. It is far faster than the flashing the three-flashes rule is about, and it does not look like flicker when you look at the screen steadily.

  • No web page controls it. PWM comes from the screen and its brightness setting, not from what is on it. Our effects can add visible flicker on top, but they cannot cause or remove PWM.
  • Most of the evidence comes from lighting. In a double-blind study in offices, replacing fluorescent lights that flickered 100 times a second with high-frequency ones more than halved the average rate of headaches and eyestrain (Wilkins et al., 1989). The eye responds to flicker of up to about 200 times a second even when it is too fast to see, and during quick eye movements a flickering light can show up as a row of separate images (Wilkins, Veitch and Lehman, 2010).
  • Direct evidence about phone PWM is still limited. Lighting studies are a reason to take complaints seriously, not proof that a given phone causes symptoms. For seizures, the Epilepsy Society says modern screens, phones and tablets are unlikely to be a trigger themselves; what matters is what they show.

If you think your screen's PWM bothers you, our sister site explains how to check it: screen flicker and PWM dimming on ScreenTest.Pro.

Which of our pranks flash

We read the code of every prank and timed every repeating animation. We then measured the ones that change quickly: we recorded them frame by frame in a 1024 x 768 window, at 60, 120 and 144 frames per second, and counted general and red flashes in every 341 x 256 area, following the WCAG definitions. That is our own approximation of the test, not a certified analysis with a tool such as the Trace Center's PEAT. We last repeated it on November 3, 2026.

PrankWhat moves, and what we found
Glitch Screen, Chaos styleRandom color bursts, some across the whole screen and some red, plus tearing and static. The bursts share one clock and are at least half a second apart, so there can never be more than two in a second, on any display. In our count no second had more than two general flashes or one red flash, at any intensity, at 60, 120 or 144 Hz. Before our October fix it reached about 7 flashes a second at intensity 5 on a 60 Hz display.
Glitch Screen, Digital styleColored blocks and torn lines, in bursts with the same cap. We counted at most one flash in any second.
Glitch Screen, Analog VHS styleScanlines and faint static. No flashes; no change covered more than 6% of a test area.
Glitch Screen, Frozen styleNew: one still frame of damage. Nothing moves.
Virus ScreenA soft colored glow fades in and out, automatically about every 28 to 55 seconds depending on severity, and when you press some keys. We measured it: the change in brightness is far too small to count as a flash, however fast the keys are pressed.
FBI Lock ScreenThe red warning banner dims and brightens once a second. It covers less than a fifth of any test area, and it stops if the device asks for reduced motion.
Hacker TyperThe cursor blinks and the ACCESS GRANTED banner glows, each once a second. Both stop with reduced motion.
White NoiseAnimated TV static. Every pixel changes every frame, but the overall brightness stays level and the grain is much finer than 0.1 degree, so it does not count as flashing. Some people find it uncomfortable to watch, so it can now show still static, or a dark screen with the sound only.
DVD ScreensaverThe logo changes color when it bounces: every few seconds on a laptop, and up to about twice a second on a small phone with the large, fast logo. That is at most about one flash a second, from a logo that covers well under a quarter of the screen.
Matrix RainFalling green characters. No flashes; no change covered more than 7% of a test area.
Broken Screen, Fake Blue Screen, Fake Windows Update, Fake macOS Update, Fake Terminal HackStill images, progress bars or scrolling text. No flashing.

Why did the old Glitch Screen flash more on fast displays? It decided on every animation frame whether to fire a burst, so a 120 Hz screen got twice as many chances per second as a 60 Hz one. The new version is timed by the clock instead of by frames, so every display behaves the same.

A cap is not a guarantee. The guidelines themselves say that no limit removes all risk, and staying under them says nothing about comfort. The Glitch Screen is still fast, high-contrast and full of movement, so treat it with care around anyone who is photosensitive or gets migraines.

Before and after you press Start

  • Nothing plays until you press Start or the play button. The Glitch Screen's preview is a still picture.
  • The Glitch Screen tells you what the selected style does before it starts, and its Frozen style gives the look with no movement at all. If your device asks for reduced motion, the page opens on Frozen.
  • Tags on the prank gallery mark the effects with flicker or moving static, and Random Prank never picks the Glitch Screen.
  • Escape, a click or a tap stops every prank, and each one says so for a few seconds when it starts. Digital and Chaos also stop when you switch tabs or lock the phone, and going Back never returns you to an effect that is still running.

How to prank safely

  1. Choose a non-flashing prank when in doubt. The Broken Screen, the fake updates and the Fake Blue Screen are just as convincing and do not flash. If you want the Glitch Screen, Frozen gives the same look without movement. If you know or suspect that someone in the room has epilepsy, gets migraines or is sensitive to flicker, use one of those.
  2. Keep fast effects off big screens. Larger images fill more of the visual field, so the same effect matters more on a TV or projector than on a laptop. If you use the Glitch Screen on a big screen, pick Frozen or Analog VHS at a low intensity, or choose a still prank instead.
  3. Keep the room lit and keep your distance. The ITU recommendation advises watching "in a well-lit room from a distance of at least two metres" (ITU). Glitch effects in a dark room at close range are the riskiest combination.
  4. Keep it short. A few seconds is enough to get a reaction, and long flashing sequences add risk.
  5. Watch the person, not the screen. If anyone looks unwell, confused or dazed, or says it bothers them, end it immediately: Escape, a click or a tap. The Epilepsy Society notes that "covering one eye completely with your hand can reduce the photosensitive effect", and advises not to close the eyes, as that can cause a flicker effect (Epilepsy Society).

If someone has a seizure

The NHS advice is to:

  • only move the person if they are in danger;
  • cushion their head if they are on the ground, and loosen any tight clothing around their neck;
  • note the time the seizure starts and finishes;
  • turn them on to their side once the convulsions stop, and stay with them, talking calmly, until they recover.

"Do not put anything in their mouth, including your fingers" (NHS). And do not hold them down; the Epilepsy Society's advice is to "allow the seizure to happen" (Epilepsy Society).

Call an ambulance (999 in the UK, 911 in the US) if it is their first seizure, if it lasts more than five minutes when you do not know how long their seizures usually last, if they do not fully wake up or have another seizure, if they are seriously injured, or if they have trouble breathing afterwards (NHS, CDC).

In short

Most of our prank screens are still images or slow animations. The Glitch Screen is the exception: it stays under the three-flashes limit, but it is still the fastest effect we have, and its Frozen style is there for when you are not sure. Flicker does not have to be a seizure risk to be a problem; migraine and plain discomfort are far more common. Pick a calm prank when you are not sure about your audience, keep the room bright and the prank short, and stop the moment someone asks. A prank is only funny if everyone is fine at the end of it.

Sources

More from WhiteScreen.tv: the screensaver collection and the changelog. How we source and check articles: editorial standards.