News for hackers. Stuff that matters.
Re:Grafi.js – JavaScript Image Processing Library by phoboslab on Tuesday April 26, 2016 @04:22AM (#11570231)
A while ago I wrote a similar library, running on the GPU using WebGL[1].

It's interesting how the library just became a _wrapper_ around 3 very simple pixel shaders (color matrix, convolution and blur), with the GPU doing all the looping over each pixel for you. Imho the shaders explain the idea of each filter much more clearly than iterative code could.

[1] http://phoboslab.org/log/2013/11/fast-image-filters-with-web...

There are no comments on this comment yet.