The original, or at least the first one that was released, was written in processing. I have the sourcecode around somewhere, doubt it will still compile though.