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

@pixi/filter-tilt-shift

tilt-shiftFilter

PixiJS v4 filter to render DisplayObject as tilt-shift text.

Installation

npm install @pixi/filter-tilt-shift

Usage

import {tilt-shiftFilter} from '@pixi/filter-tilt-shift';
 
const container = new PIXI.Container();
container.filters = [new tilt-shiftFilter()];

Documentation

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