@pixi/filter-tilt-shift
v5.2.0
Published
PixiJS filter to render a tilt-shift-like camera effect
Downloads
48,528
Readme
TiltShiftFilter
PixiJS filter to render a tilt-shift-like camera effect.
Installation
npm install @pixi/filter-tilt-shift
Usage
import {TiltShiftFilter} from '@pixi/filter-tilt-shift';
import {Container} from 'pixi.js';
const container = new Container();
container.filters = [new TiltShiftFilter()];
Documentation
See https://filters.pixijs.download/main/docs/TiltShiftFilter.html