Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More

pixi-filters

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pixi-filters

Optional display filters to work with PixiJS

  • 2.2.0
  • npm
  • Socket score

Version published
Weekly downloads
17K
decreased by-0.49%
Maintainers
3
Weekly downloads
 
Created

PixiJS Filters

Build Status CDNJS

Optional filters that work with PixiJS v4.

Filters include:

  • AsciiFilter @pixi/filter-ascii
  • AdvancedBloomFilter @pixi/filter-advanced-bloom
  • BloomFilter @pixi/filter-bloom
  • BulgePinchFilter @pixi/filter-bulge-pinch
  • ColorReplaceFilter @pixi/filter-color-replace
  • ConvolutionFilter @pixi/filter-convolution
  • CrossHatchFilter @pixi/filter-cross-hatch
  • DotFilter @pixi/filter-dot
  • DropShadowFilter @pixi/filter-drop-shadow
  • GlowFilter @pixi/filter-glow
  • GodrayFilter @pixi/filter-godray
  • EmbossFilter @pixi/filter-emboss
  • MultiColorFilter @pixi/filter-multi-color-replace
  • PixelateFilter @pixi/filter-pixelate
  • OutlineFilter @pixi/filter-outline
  • RGBSplitFilter @pixi/filter-rgb
  • ShockwaveFilter @pixi/filter-shockwave
  • SimpleLightmapFilter @pixi/filter-simple-lightmap
  • TiltShiftFilter @pixi/filter-tilt-shift
  • TwistFilter @pixi/filter-twist
  • ZoomBlurFilter @pixi/filter-zoom-blur

Examples

Click here for filter demos.

Installation

Using NPM:

npm install pixi-filters

Usage

Browser

<script src="https://pixijs.download/release/pixi.min.js"></script>
<script src="pixi-filters/lib/pixi-filters.min.js"></script>
var filter = new PIXI.filters.AsciiFilter();

Rollup or Webpack

// Include library by requiring pixi-filters module
import * as filters from 'pixi-filters';
const filter = new filters.DotFilter();

// Alternatively, using PIXI.filters global object
import 'pixi-filters';
const filter = new PIXI.filters.DotFilter();

Documentation

API documention can be found here.

FAQs

Package last updated on 18 Oct 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts