DailyJS

jQuery Plugin Roundup 4: Spritely, Entropy

Alex R. Young

Subscribe

@dailyjs

Facebook

Google+

jquery graphics plugins

jQuery Plugin Roundup 4: Spritely, Entropy

Posted by Alex R. Young on .
Featured

jquery graphics plugins

jQuery Plugin Roundup 4: Spritely, Entropy

Posted by Alex R. Young on .

Welcome to the jQuery Plugin Roundup, episode 4. Remember you can send
your plugins in for review through our contact form or
@dailyjs.

Spritely

jQuery.spritely can be used to create character and background animation using HTML and JavaScript. Even
though it's fairly lightweight, it can help build animations that look
convincing.

The documentation has some
good examples, where an image like this is animated:

$('#bird').sprite({fps: 12, no_of_frames: 3});

jQuery Entropy

Entropy is a widget library that builds on concepts from Entwine:

Under Entropy, widgets are merely logical groupings of DOM elements that respond to the events fired by the containing element and all child elements. Each Widget maintains its own subsystem of message passing (in the vein of a Observer/PubSub pattern) and responds accordingly to contained (and external) events.

By using message passing, live bindings and simple object structure, you
could create reusable interface elements with sophisticated behaviour.
There isn't any documentation yet, but experimenting with the demos and
Entwine will get you going.

You can view a simple example in First Demo – A Simple Window
Widget
.
Press the play button and click Add to DOM to see the code in action.
Adding more than one window to the page is possible, and despite the
short code features like window ordering works: