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

@pixi/filter-tilt-shift

2.6.0 • Public • Published

TiltShiftFilter

PixiJS v4 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://pixijs.github.io/pixi-filters/docs

Keywords

none

install

npm i @pixi/filter-tilt-shift

Downloadsweekly downloads

978

version

2.6.0

license

MIT

homepage

pixijs.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
  • avatar