Five Minutes » LCA2010 http://xn--9bi.net Really, it's all you need Mon, 13 Sep 2010 04:00:26 +0000 en hourly 1 http://wordpress.org/?v=3.3.1 CineJS http://xn--9bi.net/2010/01/19/cinejs/ http://xn--9bi.net/2010/01/19/cinejs/#comments Tue, 19 Jan 2010 10:08:01 +0000 Adam Harvey http://xn--9bi.net/?p=350 Yesterday at LCA 2010 I did a lightning talk in the Open Programming Languages Miniconf about a Javascript library I’ve been working on for a while called CineJS. CineJS provides a simple way to apply real-time filters to HTML5 video (and images) with only a few lines of Javascript and ships with nine pre-written filters that match the basic filters you would get from a simple image processing program.

There’s a simple example that applies a greyscale filter to a 30 second clip from the classic 1964 film Santa Claus Conquers the Martians. Check out the source code to look at how the filters are constructed and applied, or look at the more complicated stack demo to see how filters can be combined and altered.

This is pretty alpha, but it should work on current versions of Firefox, Safari and Chrome. I’d love to see some more complicated filters, and if you e-mail them to me, I’ll be very happy to include them in future versions.

The current version is 0.1.1 (and comes minified), and you can also clone the git tree.

]]>
http://xn--9bi.net/2010/01/19/cinejs/feed/ 1