npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

pixi-filters

v6.0.5

Published

[![Node.js CI](https://github.com/pixijs/filters/workflows/Node.js%20CI/badge.svg)](https://github.com/pixijs/filters/actions/workflows/nodejs.yml?query=branch%3Amain) [![npm version](https://badge.fury.io/js/pixi-filters.svg)](https://www.npmjs.com/packa

Downloads

69,115

Readme

PixiJS Filters

Node.js CI npm version

Compatibility

Depending on your version of PixiJS, you'll need to figure out which major version of PixiJS Filters to use.

| PixiJS | PixiJS Filters | |--------|----------------| | v5.x | v3.x | | v6.x | v4.x | | v7.x | v5.x | | v8.x | v6.x |

Installation

Installation is available using NPM:

npm install pixi-filters

Alternatively, you can use a CDN such as JSDelivr:

<script src="https://cdn.jsdelivr.net/npm/pixi-filters@latest/dist/browser/pixi-filters.min.js"></script>

If all else failes, you can manually download the bundled file from the releases section and include it in your project.

Demo

View the PixiJS Filters Demo to interactively play with filters to see how they work.

Filters

| Filter | Preview | |----------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------| | AdjustmentFilterpixi-filters/adjustmentView demo | adjustment | | AdvancedBloomFilterpixi-filters/advanced-bloomView demo | advanced-bloom | | AsciiFilterpixi-filters/asciiView demo | ascii | | BackdropBlurFilterpixi-filters/backdrop-blurView demo | backdrop-blur | | BevelFilterpixi-filters/bevelView demo | bevel | | BloomFilterpixi-filters/bloomView demo | bloom | | BulgePinchFilterpixi-filters/bulge-pinchView demo | bulge-pinch | | ColorGradientFilterpixi-filters/color-gradientView demo | color-gradient | | ColorMapFilterpixi-filters/color-mapView demo | color-map | | ColorOverlayFilterpixi-filters/color-overlayView demo | color-overlay | | ColorReplaceFilterpixi-filters/color-replaceView demo | color-replace | | ConvolutionFilterpixi-filters/convolutionView demo | convolution | | CrossHatchFilterpixi-filters/cross-hatchView demo | cross-hatch | | CRTFilterpixi-filters/crtView demo | crt | | DotFilterpixi-filters/dotView demo | dot | | DropShadowFilterpixi-filters/drop-shadowView demo | drop-shadow | | EmbossFilterpixi-filters/embossView demo | emboss | | GlitchFilterpixi-filters/glitchView demo | glitch | | GlowFilterpixi-filters/glowView demo | glow | | GodrayFilterpixi-filters/godrayView demo | godray | | GrayscaleFilterpixi-filters/grayscaleView demo | grayscale | | HslAdjustmentFilterpixi-filters/hsl-adjustmentView demo | hsl-adjustment | | KawaseBlurFilterpixi-filters/kawase-blurView demo | kawase-blur | | MotionBlurFilterpixi-filters/motion-blurView demo | motion-blur | | MultiColorReplaceFilterpixi-filters/multi-color-replaceView demo | multi-color-replace | | OldFilmFilterpixi-filters/old-filmView demo | old-film | | OutlineFilterpixi-filters/outlineView demo | outline | | PixelateFilterpixi-filters/pixelateView demo | pixelate | | RadialBlurFilterpixi-filters/radial-blurView demo | radial-blur | | ReflectionFilterpixi-filters/reflectionView demo | reflection | | RGBSplitFilterpixi-filters/rgb-splitView demo | rgb split | | | ShockwaveFilterpixi-filters/shockwaveView demo | shockwave | | SimpleLightmapFilterpixi-filters/simple-lightmapView demo | simple-lightmap | | TiltShiftFilterpixi-filters/tilt-shiftView demo | tilt-shift | | TwistFilterpixi-filters/twistView demo | twist | | ZoomBlurFilterpixi-filters/zoom-blurView demo | zoom-blur |

Built-In Filters

PixiJS has a handful of core filters that are built-in to the PixiJS library.

| Filter | Preview | |-----------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------| | AlphaFilterView demo | alpha | | BlurFilterView demo | blur | | ColorMatrixFilter (contrast)View demo | color-matrix-contrast | | ColorMatrixFilter (desaturate)View demo | color-matrix-desaturate | | ColorMatrixFilter (kodachrome)View demo | color-matrix-kodachrome | | ColorMatrixFilter (lsd)View demo | color-matrix-lsd | | ColorMatrixFilter (negative)View demo | color-matrix-negative | | ColorMatrixFilter (polaroid)View demo | color-matrix-polaroid | | ColorMatrixFilter (predator)View demo | color-matrix-predator | | ColorMatrixFilter (saturate)View demo | color-matrix-saturate | | ColorMatrixFilter (sepia)View demo | color-matrix-sepia | | DisplacementFilterView demo | displacement | | NoiseFilterView demo | noise |

Building

Install all dependencies by simply running the following.

npm install

Build all filters, demo and screenshots by running the following:

npm run build

Watch all filters and demo (auto-rebuild upon src changes):

npm run watch

Documentation

API documention can be found here.