node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

@pixi/filter-cross-hatch

CrossHatchFilter

PixiJS v4 filter to apply a cross-hatch black and white effect.

Installation

npm install @pixi/filter-cross-hatch

Usage

import {CrossHatchFilter} from '@pixi/filter-cross-hatch';
import {Container} from 'pixi.js';
 
const container = new Container();
container.filters = [new CrossHatchFilter()];

Documentation

See https://pixijs.github.io/pixi-filters/docs