As RubyProcessing is now deprecated this a home for JRubyArt.
JRubyArt relies on jruby-9.1.12.0
and uses the k9 -r
or k9 -w
commands.
Decent documentation live here:
Differences with RubyProcessing.
Some java jdk will likely need to be installed, with a pointer to:
https://www.oracle.com/java/technologies/downloads/#jdk17-mac
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk-17.jdk/Contents/Home
Note: installation may require sudo in number of places:
- gem install jruby_art
- sudo k9 --install
- etc...
further,
size, smooth and many other setup methods are no longer
supported in the setup
method. JRubyArt now has a settings
method.
Much of the Code in this Repo will need to be updated,
especially wrt the settings
conversion.
# Add the following method to any Ruby Processing file without it.
# Remove size(displayWidth, displayHeight) from setup.
def settings ; size(displayWidth, displayHeight) ; end