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

pixi-filters

Package Overview
Dependencies
Maintainers
2
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pixi-filters

Optional display filters to work with Pixi.js

  • 1.0.4
  • npm
  • Socket score

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

Pixi.js Filters

Include optional filters that work with Pixi.js v4.

Filters include:

  • AsciiFilter pixi-filters/bin/ascii
  • BloomFilter pixi-filters/bin/bloom
  • ConvolutionFilter pixi-filters/bin/convolution
  • CrossHatchFilter pixi-filters/bin/crosshatch
  • DotFilter pixi-filters/bin/dot
  • EmbossFilter pixi-filters/bin/emboss
  • PixelateFilter pixi-filters/bin/pixelate
  • RGBSplitFilter pixi-filters/bin/rgb
  • ShockwaveFilter pixi-filters/bin/shockwave
  • TiltShiftFilter pixi-filters/bin/tiltshift
  • TwistFilter pixi-filters/bin/twist

Installation

Using NPM:

npm install pixi-filters

Use Bower:

bower install pixi-filters

Usage

Browser

<script src="pixi.js/bin/pixi.js"></script>
<script src="pixi-filters/bin/filters.js"></script>
var filter = new PIXI.filters.AsciiFilter();
Individual Filter
<script src="pixi.js/bin/pixi.js"></script>
<script src="pixi-filters/bin/dot.js"></script>
var filter = new PIXI.filters.DotFilter();

NodeJS

// Include library by requiring pixi-filters module
var filters = require('pixi-filters');
var filter = new filters.DotFilter();

// Alternatively, using PIXI.filters global object
require('pixi-filters');
var filter = new PIXI.filters.DotFilter();
Individual Filter
// Using a single filter
var AsciiFilter = require('pixi-filters/bin/ascii');
var filter = new AsciiFilter();

Rebuilding

Make sure you run NPM install to get the build dependencies.

npm install

Run the build command to build all filters.

npm run build

FAQs

Package last updated on 09 Aug 2016

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc