Project Nayuki


Gaussian blur demo

Demo program (JavaScript)

Blur radius (pixels):

Description

This program loads a picture into memory, computes a Gaussian blur on it according to the radius selected by the user, and draws the resulting blurred image. This demonstrates how my open-source fast Fourier transform (FFT) library can be used in a practical application (image convolution) with acceptable runtime performance in JavaScript. The source code is available for viewing. Filtering an image with Gaussian blur is a common feature available in image editor applications, such as Adobe Photoshop and GIMP.

Notes