mwg API
    Preparing search index...

    Variable COLOR_BLINDNESS_MATRICESConst

    COLOR_BLINDNESS_MATRICES: Record<ColorBlindnessType, ColorMatrix> = ...

    Brettel/ViƩnot-derived simulation matrices, the same values widely used by colourblindness simulators - a 5x4 (20-value) row-major RGBA matrix, Pixi's own ColorMatrixFilter format. Exported so the matrix data itself can be tested without constructing a ColorMatrixFilter, which (like BitmapText) needs a real WebGL context even to construct.

    import { COLOR_BLINDNESS_MATRICES } from '@datamoc/mw_games/two-d/render';

    console.log(COLOR_BLINDNESS_MATRICES.deuteranopia.length); // 20