Package Exports
- @amilajack/gaussian-blur
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@amilajack/gaussian-blur) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
gaussian-blur
Optimized separable gaussian blurs for GLSL. This is adapted from Efficient Gaussian Blur with Linear Sampling.
Installation
npm install gaussian-blur
Usage
import GaussianBlur from 'gaussian-blur';
const blur = new GaussianBlur();
await blur.setImage('./foo.jpg');
blur.changeBlurRadius(5);
Running examples
git clone https://github.com/amilajack/gaussian-blur
cd gaussian-blur
yarn
# Run the example
yarn start
# Build the lib
yarn build