Skip to content
Permalink
Browse files

add blur class

  • Loading branch information...
Jeremy Heminger Jeremy Heminger
Jeremy Heminger authored and Jeremy Heminger committed Apr 4, 2019
1 parent a194ef3 commit 23f24fef38ffc9c68f9502e99c071946e21c93cb
Showing with 4 additions and 1 deletion.
  1. +4 −1 js/blur.js
@@ -15,10 +15,13 @@ export class Blur extends ImageData {
this.ctx = []
this.buffer = null
this.imgdata = null
}
blur() {

}
gaussian(x,y) {
let e = 2.71828182
let q = 0.84089642
let g = (1 / 2 * Math.PI() * q * q) * e - ((x * x + y * y) / (2 * q * 2 * q)
let g = (1 / 2 * Math.PI() * q * q) * e - ((x * x + y * y) / (2 * q * 2 * q))
}
}

0 comments on commit 23f24fe

Please sign in to comment.
You can’t perform that action at this time.