@amilajack/gaussian-blur
v0.0.0
Published
optimized 9-tap gaussian blur for GLSL
Downloads
6
Maintainers
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