3.0.31 • Published 4 years ago

@amoy/filter-colorblind v3.0.31

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

amoy-filters

Build Status

Amoy-filters are based on pixijs filter, similar to pixi-filters library, providing rich and common 2D game effects!

Demo

Click here to interactively play with filters to see how they work.

Real examples

Click here to interactively play with filters to see how they work.

Doc API

Click here to see how to use it.

Filters

FilterPreview
AmoyPixelVibrationFilter@amoy/filter-pixel-vibrationpixel-vibration
AmoyWiteBlackSketchFilter@amoy/filter-white-black-sketchwhite-black-sketch
AmoyFlameFilter@amoy/filter-flameflame
white-black-sketch.png?v=2)
AmoyRainfallFilter@amoy/filter-rainfallrainfall
AmoyBrokenCamDistortionFilter@amoy/filter-broken-cam-distortionrainfall
AmoyGameboyStyleFilter@amoy/filter-gameboyrainfall
AmoyInnerOutlineFilter@amoy/filter-inner-outlinerainfall
AmoyMosaicFilter@amoy/filter-mosaicrainfall
AmoyLightSweepFilter@amoy/filter-light-sweeprainfall

All filters work with PixiJS v5.

Building

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

npm run build

Build single filter by running the following:

npm run build:prod -- --scope "@amoy/filter-flame"

Build multiple filters where scope is a glob expression:

npm run build:prod -- --scope "{@amoy/filter-light2d,@amoy/filter-mosaic}"

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

npm run watch

Build all filters in dev-mode (un-minified):

npm run build:dev

Thanks PIXI FILTERS .