JavaScript pixel processing

Problem: thresholding an image using a HTML5 2D canvas. It's a really simple problem, but if implemented wrong it can lead to really bad performance. Original (right. credits greyamoon) and thresholded transparent image (left). Live demo on JSFiddle.My initial idea was to make a function everyPixel(ctx, f) that…

Google Summer of Code experience

This article was also published on Medium. I am glad I have contributed to open-source during the summer as part of the Google Summer of Code 2014 programme. For those who are not familiar with Google Summer of Code, it is a programme organised by Google and consists of connecting…