JSPM

@amilajack/gaussian-blur

0.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 9
  • Score
    100M100P100Q40001F
  • License MIT

optimized 9-tap gaussian blur for GLSL

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

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