How Procedurally Generated Ishihara-Style Plates Work
AnyTool Color Blindness Test builds every plate in the browser — no copyrighted Ishihara art is used or downloaded. A deterministic engine fills a disc with hundreds of randomly placed, varied-size dots using a seeded PRNG, so each plate renders identically every time. The figure is a digit rendered through a compact 5×7 bitmap font into a mask; any dot whose centre lands on the mask is coloured from a “figure” palette, and the rest from a “background” palette. The two palettes are chosen to sit on a colour-vision confusion line — for red-green probes a warm orange/brown figure against an olive-green ground, for blue-yellow probes a teal figure against a pink/grey ground — so a person with that deficiency perceives little contrast and misreads the number, exactly the pseudoisochromatic principle of the printed test. The dots are painted onto a device-pixel-ratio-aware canvas clipped to the disc.
- Plates generated on canvas — no copyrighted images, nothing downloaded
- Seeded PRNG → identical, stable plates every render
- Digit drawn via a 5×7 bitmap font into a figure mask
- Figure vs background palettes sit on a colour-vision confusion line
- Red-green (warm vs olive) and blue-yellow (teal vs rose) probes
