diff --git a/README.md b/README.md index 3d5cf4242..3999d5892 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,22 @@ Depending on your version of PixiJS, you'll need to figure out which major versi | v6.x - v7.x | v5.x | | v8.x | v6.x | +## Installation + +Installation is available using NPM: + +```bash +npm install pixi-filters +``` + +Alternatively, you can use a CDN such as JSDelivr: + +```html + +``` + +If all else failes, you can manually download the bundled file from the [releases](https://github.com/pixijs/filters/releases) section and include it in your project. + ## Demo [View the PixiJS Filters Demo](https://pixijs.io/filters/examples/) to interactively play with filters to see how they work. @@ -76,22 +92,6 @@ PixiJS has a handful of core filters that are built-in to the PixiJS library. | **DisplacementFilter**
[View demo][Displacement_demo] | ![displacement](https://filters.pixijs.download/main/screenshots/displacement.png?v=3) | | **NoiseFilter**
[View demo][Noise_demo] | ![noise](https://filters.pixijs.download/main/screenshots/noise.png?v=3) | -## Installation - -Installation is available using NPM: - -```bash -npm install pixi-filters -``` - -Alternatively, you can use a CDN such as JSDelivr: - -```html - -``` - -If all else failes, you can manually download the bundled file from the [releases](https://github.com/pixijs/filters/releases) section and include it in your project. - ## Building PixiJS Filters uses [Lerna](https://github.com/lerna/lerna) under-the-hood to build all of the filters separately. Install all dependencies by simply running the following.