This is an initial release of some unorganized code.
This is:
Some issues:
a. May need some coaxing to get working, specifically you need to get Jython and Processing, ActiveMQ, and Stomp for Python elsewhere b. You will have to register the JARs with Maven for the mvn commands to work:
Here is how to add Jython:
mvn install:install-file -DgroupId=org.python -DartifactId=jython -Dversion=2.5.2b1 -Dpackaging=jar -Dfile=jython.jar
Here is how to add Processing:
mvn install:install-file -DgroupId=org.processing -DartifactId=processing-core -Dversion=0135-BETA -Dpackaging=jar -Dfile=core.jar
Here is an example of how to add a specific Processing library JAR:
mvn install:install-file -DgroupId=keystone -DartifactId=keystone -Dversion=1 -Dpackaging=jar -Dfile=keystone.jar
c. Jython and Jython Libs folder have to be in the correct place. ... When I would run the jar that Maven puts in the work/ path, I had the Lib folder in there, and Jython seemed to find it. I guess this isn't technically required, but having the standard Python library is rather helpful for most things.
d. OpenGL requires LD_LIBRARY_PATH to point to the location of the platform binary libraries
Changes from traditional Processing:
Draw actually executes all functions contained in a Jython list called "drawlist" ... simply mix in and out functions to be called, in order, and looped, in this list. This is trade off of various techniques, and I think exposes the functional styling of Python.
The display is always in Present mode on each machine you run it on
Where Processing overrides things in Java style where a function and a variable can be named the same depending on their strongly typed definition, these things have been renamed, and are listed as some of the first commands in Display.java. For instance, frameRate is a Jython function, but the current frame rate is always in the variable currentFrameRate. See Display.java for more info.
Synchronization of running code is surprisingly fast over many machines, with minimal delays, but performance feedback is also welcome.
Best of luck! Contributions very welcome.