Communication to Ruby-Processing
in
Processing with Other Languages
•
8 months ago
Is there a way to access a Ruby-Processing sketch from another Ruby Script?
I have an application in Ruby that needs data visualization, so I chose Ruby-Processing because of the visual interfaces.
Now I want to display a grid in Processing (which I know how to do) but I want the cells in that grid to change color depending on another Ruby Script that is performing some calculations. I cant do the calcs directly in Processing since my original Ruby Script depends on other software as well.
This would be similar to Arduino <-> Processing via serial communication, except now the Ruby-Processing sketchup would get updated by another Ruby script, instead of Arduino
I am aware of KeyPress events and Mouve Events but I want to be able to update the Processing sketch based on some data, not hardware triggered events.
Any ideas?
Thanks!
1