August 2007 Archives

August 2, 2007

Beta 3A

I've updated the current beta with my Windows fixes. There's still some cosmetic infelicities, unfortunate text wrapping and whatnot, but the core functionality is there and the demo patches are all working, save the text/marquee demo which has a hard-coded path to /usr/share/dict/words (if there's a Windows equivalent, changing the path to point to it should fix it). There's also a couple of new externals, including "drop" which enables reading a file's path and contents by dragging and dropping it into the window.

The download url is unchanged from Beta 3. I'll only email the folks who've signed up in the last couple weeks and save the mass spamming for the Beta 4 which will include the Unix fixes and tutorials. As always, if you're interested in testing, lemme know.

August 14, 2007

svg


From the beginning, Lily has used Firefox's SVG capabilities for various shape primitive externals ("circle", "rect", etc) and to draw connections between objects, but until this weekend, it lacked a straightforward way to use SVG's capabilities for animation and graphics. To address this, I've added a new UI object, "svg" that provides a resizable SVG canvas to draw to. As an added bonus, the drawing API is compatible with the Processing API, meaning that "svg" can run most of the 2-D examples on the Processing site with minimal modification. "svg" drawing commands can be messages from other objects sent via connections or run from an external script file. It's also possible for an external script to define a method that can be called with parameters from an input message. Scripts can also output messages from outlets.

As you'd expect with a Javascript-based SVG implementation, there are some limitations- there's no 3-D yet (though this could be added), no support for OpenGL, no reading & writing pixels directly, etc. There are performance limits as well, though this really only becomes an issue for animations that need to manipulate hundreds (or thousands) of objects many times a second. And with Tarmarin on the way, this should become less of an issue. There are even a couple of advantages- there's no compilation, so programs can be switched in and out instantly at runtime, and unlike an applet, SVG is completely transparent and interoperable with the web page it's embedded in. "svg" will be included in Beta 4 which should be ready sometime in next month. Interested in testing? Let us know.

About August 2007

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

July 2007 is the previous archive.

October 2007 is the next archive.

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

Powered by
Movable Type 3.34