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

@pixi/filter-dot

DotFilter

PixiJS v4 filter to apply a black and white dot effect.

Installation

npm install @pixi/filter-dot

Usage

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

Documentation

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