<commit_before>!http://github.com/jaymcgavren/drb-processing/raw/master/drb-processing.jpg(Mac, Windows, and Linux machines, all displaying the same sketch via DRb-Processing)!


h1. DRb-Processing

Ruby-Processing, Internet-enabled.


h1. Installation

<pre>
  gem install ruby-processing drb-processing
</pre>


h1. Running a Server

<pre>
  drbpd
</pre>


h1. Connecting to a Server

<pre>
  rp5 live bin/drbp druby://&lt;server_address&gt;:9000
</pre>




h1. Resources

"Ruby-Processing Documentation":http://github.com/jashkenas/ruby-processing/wiki

"Code Samples":http://www.github.com/jaymcgavren/rubyonacid


h1. Copyright

Copyright (c) 2010 <NAME>. Released under the MIT license. See the LICENSE file for details.
<commit_msg>Better client example.<commit_after>!http://github.com/jaymcgavren/drb-processing/raw/master/drb-processing.jpg(Mac, Windows, and Linux machines, all displaying the same sketch via DRb-Processing)!


h1. DRb-Processing

Ruby-Processing, Internet-enabled.


h1. Installation

    gem install ruby-processing drb-processing


h1. Running a Server

    $ drbpd


h1. Connecting to a Server

    $ rp5 live bin/drbp druby://<server_address>:9000

When the prompt appears, call Processing::App methods on the proxy object stored in $client.  The call will be duplicated on all clients currently connected to the server.

    >> $client.stroke 100, 255, 50, 128
    => nil
    >> $client.oval 100, 100, 300, 200
    => nil



h1. Resources

"Ruby-Processing Documentation":http://github.com/jashkenas/ruby-processing/wiki



h1. Copyright

Copyright (c) 2010 <NAME>. Released under the MIT license. See the LICENSE file for details.

{'fraction_non_alphanumeric': 0.10684273709483794, 'fraction_numerical': 0.03181272509003601, 'mean_word_length': 3.9319526627218937, 'pattern_counts': {'":': 3, '<': 12, '<?xml version=': 0, '>': 18, 'https://': 0, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3044990', 'n_tokens_mistral': 610, 'n_tokens_neox': 528, 'n_words': 163}