-
-
Notifications
You must be signed in to change notification settings - Fork 166
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Matt Karl
committed
Jul 26, 2017
1 parent
6609837
commit ff5f3ad
Showing
148 changed files
with
1,731 additions
and
291 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
.idea | ||
.vscode | ||
node_modules | ||
bin | ||
npm-debug.log | ||
lib | ||
*.log | ||
docs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
The MIT License | ||
|
||
Copyright (c) 2013-2017 Mathew Groves, Chad Engler | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
THE SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
# PixiJS Filters | ||
|
||
[](https://travis-ci.org/pixijs/pixi-filters) [](https://cdnjs.com/libraries/pixi-filters) | ||
|
||
Optional filters that work with PixiJS v4. | ||
|
||
Filters include: | ||
|
||
* **AsciiFilter** _@pixi/filters-ascii_ | ||
* **BloomFilter** _@pixi/filters-bloom_ | ||
* **BulgePinchFilter** _@pixi/filters-bulge-pinch_ | ||
* **ColorReplaceFilter** _@pixi/filters-color-replace_ | ||
* **ConvolutionFilter** _@pixi/filters-convolution_ | ||
* **CrossHatchFilter** _@pixi/filters-cross-hatch_ | ||
* **DotFilter** _@pixi/filters-dot_ | ||
* **DropShadowFilter** _@pixi/filters-drop-shadow_ | ||
* **GlowFilter** _@pixi/filters-glow_ | ||
* **EmbossFilter** _@pixi/filters-emboss_ | ||
* **PixelateFilter** _@pixi/filters-pixelate_ | ||
* **OutlineFilter** _@pixi/filters-outline_ | ||
* **RGBSplitFilter** _@pixi/filters-rgb_ | ||
* **ShockwaveFilter** _@pixi/filters-shockwave_ | ||
* **SimpleLightmapFilter** _@pixi/filters-simple-lightmap_ | ||
* **TiltShiftFilter** _@pixi/filters-tilt-shift_ | ||
* **TwistFilter** _@pixi/filters-twist_ | ||
|
||
## Examples | ||
|
||
Click [here](https://pixijs.github.io/pixi-filters/examples) for filter demos. | ||
|
||
## Installation | ||
|
||
Using NPM: | ||
|
||
```bash | ||
npm install pixi-filters | ||
``` | ||
|
||
## Usage | ||
|
||
### Browser | ||
|
||
```html | ||
<script src="https://pixijs.download/release/pixi.min.js"></script> | ||
<script src="pixi-filters/lib/pixi-filters.umd.min.js"></script> | ||
``` | ||
```js | ||
var filter = new PIXI.filters.AsciiFilter(); | ||
``` | ||
|
||
### Rollup or Webpack | ||
|
||
```js | ||
// 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](http://pixijs.github.io/pixi-filters/docs/). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
{ | ||
"name": "pixi-filters", | ||
"version": "2.0.0", | ||
"main": "lib/pixi-filters.min.js", | ||
"description": "Optional display filters to work with PixiJS", | ||
"author": "Mat Groves <[email protected]>", | ||
"contributors": [ | ||
"Ivan Popelyshev <[email protected]>", | ||
"Matt Karl <[email protected]>", | ||
"Chad Engler <[email protected]>" | ||
], | ||
"module": "lib/pixi-filters.es.min.js", | ||
"homepage": "http://pixijs.com/", | ||
"bugs": "https://github.com/pixijs/pixi-filters/issues", | ||
"license": "MIT", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/pixijs/pixi-filters.git" | ||
}, | ||
"files": [ | ||
"lib" | ||
], | ||
"scripts": { | ||
"build:umd": "rollup -c -f umd && rollup -cp -f umd", | ||
"build:es": "rollup -c && rollup -cp", | ||
"build": "npm run build:umd && npm run build:es" | ||
}, | ||
"peerDependencies": { | ||
"pixi.js": "^4.0.0" | ||
}, | ||
"dependencies": { | ||
"@pixi/filter-ascii": "^2.0.0", | ||
"@pixi/filter-bloom": "^2.0.0", | ||
"@pixi/filter-bulge-pinch": "^2.0.0", | ||
"@pixi/filter-color-replace": "^2.0.0", | ||
"@pixi/filter-convolution": "^2.0.0", | ||
"@pixi/filter-cross-hatch": "^2.0.0", | ||
"@pixi/filter-dot": "^2.0.0", | ||
"@pixi/filter-drop-shadow": "^2.0.0", | ||
"@pixi/filter-emboss": "^2.0.0", | ||
"@pixi/filter-glow": "^2.0.0", | ||
"@pixi/filter-outline": "^2.0.0", | ||
"@pixi/filter-pixelate": "^2.0.0", | ||
"@pixi/filter-rgb-split": "^2.0.0", | ||
"@pixi/filter-shockwave": "^2.0.0", | ||
"@pixi/filter-simple-lightmap": "^2.0.0", | ||
"@pixi/filter-tilt-shift": "^2.0.0", | ||
"@pixi/filter-twist": "^2.0.0" | ||
}, | ||
"devDependencies": { | ||
"rollup": "^0.45.2", | ||
"@tools/build": "^2.0.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
import build from '@tools/build'; | ||
export default build; |
Oops, something went wrong.