May 2008 Archives

May 9, 2008

Processing JS

I've added a new external object called "processing" to Lily today to take advantage of John Resig's wonderful new library Processing.js. Processing.js is a Canvas based implementation of the processing language in Javascript. Unlike my own port of the processing API, John's library includes a parser for near total compatibility with the language. Awesome.

I haven't had much time to play with it yet (John only released it last night), but it's been interesting to compare it with my own SVG based implementation. SVG, being DOM-based, seems to have a ceiling for the number of objects that can be included in an animation- once that ceiling is exceeded performance begins to suffer noticeably. John's Canvas-based version seems to handle much more complex animations without pinning the meter. There are also a couple of features in John's library that take advantage of the new Canvas functionality in Firefox 3. I'm really looking forward to spending more time playing it. Great work John!

You can download the latest Lily beta here - it includes the "processing" external.

About May 2008

This page contains all entries posted to Lily in May 2008. They are listed from oldest to newest.

April 2008 is the previous archive.

Many more can be found on the main index page or by looking through the archives.

Powered by
Movable Type 3.34