@pixi/filter-grayscale
v5.1.1
Published
PixiJS filter to apply a grayscale effect
Downloads
22,695
Readme
GrayscaleFilter
PixiJS filter to apply a grayscale effect.
Installation
npm install @pixi/filter-grayscale
Usage
import {GrayscaleFilter} from '@pixi/filter-grayscale';
import {Container} from 'pixi.js';
const container = new Container();
container.filters = [new GrayscaleFilter()];
Documentation
See https://filters.pixijs.download/main/docs/GrayscaleFilter.html