Building on the EaselBox framework I’ve been cobbling together (see my last post about the Angry Birds clone), here is a demo using animated bitmaps. I put a spinning Earth in a field of sparkling stars, and made their gravities draw them closer together. With my EaselBox framework for integrating EaselJS for drawing on canvas with the Box2dWeb physics engine, it took almost no time at all. Well, not counting all the time I spent googling for free, pretty artwork.
Where I think EaselBox has an advantage over Boxbox is that I’m using the power of EaselJS for all the canvas rendering, with a display list and object model similar to what you might use in Flash. It is written by Grant Skinner, who has a ton of Flash experience. Boxbox is clean and simple, but it hasn’t yet replicated all the functionality that EaselJS already has.
Anyway, check out the demo, take a look, and let me know what you think. I already have an idea for the next demo, involving binding callbacks to collision events.