# pixi-extra-filters

> Extra pixi filters not included by default with the main library

Latest version **1.1.4** (published 2017-06-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install pixi-extra-filters
pnpm add pixi-extra-filters
yarn add pixi-extra-filters
bun add pixi-extra-filters
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.4 |
| Published | 2017-06-07 |
| First published | 2015-10-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Chad Engler |
| Maintainers | englercj |
| Keywords | pixi, filters, 2d, render, glsl, shader, glow, outline |

## Links

- npm: https://www.npmjs.com/package/pixi-extra-filters
- Repository: https://github.com/pixijs/pixi-extra-filters
- Issues: https://github.com/pixijs/pixi-extra-filters/issues
- npm.io page: https://npm.io/package/pixi-extra-filters

## Dependencies (1)

- [glslify](https://npm.io/package/glslify.md) ^5.0.2

## Recent versions

- 1.1.4 (latest) — 2017-06-07
- 1.1.3 — 2017-06-03
- 1.1.2 — 2017-06-03
- 1.1.0 — 2016-03-10
- 1.0.1 — 2015-10-27
- 1.0.0 — 2015-10-27

## README

# pixi-extra-filters

Some extra filters for pixi that aren't in the core plugin.

## Usage

### Browserify

If you use browserify you can use pixi-extra-filters like this:

```js
var PIXI = require('pixi.js'),
    extraFilters = require('pixi-extra-filters');

var sprite = new PIXI.Sprite(someTexture);
sprite.filters = [new extraFilters.GlowFilter(15, 2, 1, 0xFF0000, 0.5)];
```

### Prebuilt Files

If you are just including the built files, pixi-extra-filters extends the `PIXI.filters` namespace with its filters:

```js
var sprite = new PIXI.Sprite(someTexture);
sprite.filters = [new PIXI.filters.GlowFilter(15, 2, 1, 0xFF0000, 0.5)];
```

## Building

You will need to have [node][node] setup on your machine.

Then you can install dependencies and build:

```js
npm i && npm run build
```

That will output the built distributables to `./dist`.

[node]:       http://nodejs.org/

---
_Source: https://npm.io/package/pixi-extra-filters · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
