Tag Archives: canvaspixelarray

Highfalutin’ Convolutin’

Convolution Image

I was doing a code test recently where I was asked to write an html 5 gallery. It led me to reach a couple of conclusions:-

  • HTML5 video is a lovely idea but from a practical implementation standpoint is stupid and useless because of the ridiculous browser requirements.
  • The canvas 2d context API is woefully underpowered.

Today I will be ranting about and playing with the second idea. We’ll start with introducing the CanvasPixelArray. We’ll apply a grey filter to an image, then we’ll move on to writing a simple convolution method.
Continue reading