A quick search gave me this site: WebGL Fake effect for HTML5 games , it uses glfx.js library .
, WebGL , canvas ...
canvas.
:
var lines = new Image();
lines.src = 'http://i.imgur.com/TAJ0Zkw.png';
window.addEventListener('load', fakeCRT, false);
function fakeCRT() {
var glcanvas, source, srcctx, texture, w, h, hw, hh, w75;
try {
glcanvas = fx.canvas();
} catch (e) {return;}
source = document.getElementsByTagName('canvas')[0];
srcctx = source.getContext('2d');
texture = glcanvas.texture(source);
w = source.width;
h = source.height;
hw = w / 2;
hh = h / 2;
w75 = w * 0.75;
source.parentNode.insertBefore(glcanvas, source);
source.style.display = 'none';
glcanvas.className = source.className;
glcanvas.id = source.id;
source.id = 'old_' + source.id;
setInterval(function () {
srcctx.drawImage(lines, 0, 0, w, h);
texture.loadContentsOf(source);
glcanvas.draw(texture)
.bulgePinch(hw, hh, w75, 0.12)
.vignette(0.25, 0.74)
.update();
}, Math.floor(1000 / 40));
}
, , Safari 6 , , ... . Chrome.