April 2009
2 posts
2 tags
Passing arguments to Processing sketches
I recently received an email asking about how to pass arguments when launching a processing sketch from the command line. I hadn’t ever done such a thing, but after some poking came up with an easy, though not exactly robust, solution. This example sets the value of the r, g, and b variables and uses them to set the background color. The main method just clones the array of arguments into a...
Apr 19th
1 tag
aleatory
Dependent on chance, luck, or an uncertain outcome: an aleatory contract between an oil prospector and a landowner. Of or characterized by gambling: aleatory contests. also a·le·a·to·ric (ā’lē-ə-tôr’ĭk, -tōr’-) Music. Using or consisting of sounds to be chosen by the performer or left to chance; indeterminate: An object placed inside the piano added an aleatory element to the...
Apr 10th