g.js — graphical objects for JavaScript

blurblur

Blur an image.

var i = g.import('cat-sunbeam.jpg');
[i, g.blur(i, 20)];

Parameters

  • image: The input image.
  • radius: The blurring radius.