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

@pixi/filter-convolution

ConvolutionFilter

PixiJS v4 filter to apply a convolution effect.

Installation

npm install @pixi/filter-convolution

Usage

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

Documentation

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