Archive for October, 2008

Google Top Draw: a Processing killer?

Saturday, October 4th, 2008

Another algorithmic drawing program hit the scene this week in Top Draw, a Mac-only program from Google. Much like Processing or OpenFrameworks, it provides a language to write code that produces images.

Top Draw was developed by one Dan Waylonis. You write object-oriented JavaScript code that is translated into images. The object-orientation differs from Processing and OpenFrameworks (and OpenGL and JOGL), where you write using the methods of one big class. And the methods are different. So for someone used to Processing-style methods (which are shared with OpenFrameworks), it’s a bit of a learning curve.

The big thing that Top Draw brings to the table is access to Apple’s CoreImage filters. Among other things, they allow you to transform 2D space with bumps and holes. Processing does not have this stuff built in, and I don’t think anyone has created a library to either use CoreImage on the Mac, or implemented the filters in Java. It would be cool stuff. ActionScript also has filters.

There’s some confusing extra functionality that lets you make a drawing your desktop image, or rotate through drawings. Neat, but really almost a separate program.

Top Draw is written in C and is licensed under the apache 2.0 license. The source code and the download is available on Google code.

So is it a Processing killer? I don’t think so. On the plus side has the CoreImage filters going for it. On the other hand, the language is awkward. The biggest issue is that it’s not a web application; even though you write in JavaScript, the library itself is in C. Processing sketches can be shown on the web using the moribund Java applet technology, and ActionScript can create Flash applications. It seems to me that almost everything must run on the web these days. Processing even has a JavaScript implementation (processing.js) that lets you run sketches using JavaScript in the browser. In this way it’s more like OpenFrameworks or OpenGL, which can’t run in a browser. And of course Top Draw only runs on Mac.

All in all, a good way to play with CoreImage filters.

Review of ‘Here Comes Everybody’ by Clay Shirky

Saturday, October 4th, 2008

Imagine that you could get people to do valuable things for you for free, like writing and distributing book reviews. That’s exactly what’s happening on the web today. Clay Shirky, in his book ‘Here Comes Everybody’, looks at the effects of the internet on producing economic value without the effort and expense of establishing an organization. He argues that the cost of organizing certain activities, such as publishing book reviews, has fallen to almost zero. Web services, such as Flickr, blogger.com, Amazon reviews, and Wikipedia are successful because they allow people to voluntarily contribute to a goal with minimal organizational effort.

Many of the examples in the book are well known (though some, like the use of blogs to organize protests in Belarus, are less known and wonderful). What makes Shirky’s book useful is the analysis that he does of the examples. Various models are proposed; a particularly useful model is promise, tool, bargain. He argues that a new group makes a promise (‘lets put together photos of mermaid parades’), then provides tools to achieve that promise (Flickr), then makes bargains to achieve the goal (the agreement not to post off-topic images).

A quick read for a pretty good payoff.

Here Comes Everybody: The Power of Organizing Without Organizations