@amilajack/gaussian-blur

0.0.0 • Public • Published

gaussian-blur

Build Status Dependency Status

Optimized separable gaussian blurs for GLSL. This is adapted from Efficient Gaussian Blur with Linear Sampling.

demo

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

Package Sidebar

Install

npm i @amilajack/gaussian-blur

Weekly Downloads

2

Version

0.0.0

License

MIT

Unpacked Size

541 kB

Total Files

13

Last publish

Collaborators

  • amilajack