Permalink
Browse files

docs

  • Loading branch information...
1 parent f545d3f commit a631a27994d0cec5ca7a3b7fdd095b895cdaae5a @tj tj committed Sep 26, 2012
Showing with 3 additions and 4 deletions.
  1. +1 −1 Readme.md
  2. +2 −3 index.html
View
@@ -3,7 +3,7 @@
Canvas [convolution](http://en.wikipedia.org/wiki/Convolution) filter.
- ![](http://f.cl.ly/items/3m1B1n241u0O2U3S0N01/Screen%20Shot%202012-09-25%20at%209.39.59%20AM.png)
+ ![](https://s3.amazonaws.com/files.droplr.com/files_production/acc_5213/MQXC?AWSAccessKeyId=AKIAJSVQN3Z4K7MT5U2A&Expires=1348635022&Signature=i14itNXW%2B0GAG8MQfQ38MgEahiQ%3D&response-content-disposition=inline%3B%20filename%2A%3DUTF-8%27%27Screen%2BShot%2B2012-09-25%2Bat%2B8.50.08%2BPM.png)
## API
View
@@ -44,9 +44,8 @@
canvas.width = img.width;
canvas.height = img.height;
ctx.drawImage(img, 0, 0);
- convolve(edges)
- .bias(128)
- .canvas(canvas);
+ convolve(blur).canvas(canvas);
+ convolve(edges).factor(2).bias(128).canvas(canvas);
}
</script>
</body>

0 comments on commit a631a27

Please sign in to comment.