Skip to content

Instantly share code, notes, and snippets.

@monkstone
Created October 17, 2018 06:42
Show Gist options
  • Save monkstone/329f300c8a0870fe7f042c3149258a8a to your computer and use it in GitHub Desktop.
Save monkstone/329f300c8a0870fe7f042c3149258a8a to your computer and use it in GitHub Desktop.
What is JRubyArt?
JRubyArt allows you to code processing sketches in regular ruby (it supersedes ruby-processing for processing-3.0+).
Vanilla processing is essentially Java with an antlr pre-processor to make writing code simpler (in the processing ide).
JRubyArt is able to emulate the simplicity of vanilla processing, by using JRuby to load regular processing jars into a ruby runtime environment.
JRuby is an implementation of the Ruby programming language atop the Java Virtual Machine, written largely in Java (which is under continuous development cf jython).
You can write JRubyArt in any editor that supports ruby syntax, however the atom editor has a plugin that allows you to run / watch processing sketches without leaving the editor.
Vim and Emacs can also run sketches without leaving the editor, in addition both can be used to edit live JRubyArt code live from pry.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment