Thanks for the queue example. I think that an ordinary Clojure data structure in an atom would do as well, but perhaps I'll see a use for the queue as I proceed.
My mention of agents was not related to the communication between the long-running process and the quil draw loop (which I imagined happening through an atom) but instead related to the need to start the long-running process and the quil draw loop both running concurrently. One way to get two things running concurrently is to create an agent, use `send` to that agent with a function call that will run one of the things, and then do the other thing in the code following the call to `send`.
In any event, thanks for the input; I will experiment.
It may turn out to be simpler just to use some other drawing library that doesn't require to draw from within a draw loop. That would be a shame, since quil has all of the features that I want and is so pleasant in other ways. But if I want to do this, does anyone have a suggestion for such a drawing library?
Thanks,
-Lee