Hacking Illustrator with JavaScript

You can do some entertaining and evil things to an Illustrator document with Scriptographer. For instance, I implemented a static version of the XScreenSaver module Interaggregate in about 80 lines of code, which by itself isn’t terribly practical, but being able to generate hundreds of randomly-sized circles each with their own vectors and calculate their intersections over time does suggest some interesting art-hackery.