Check out the JRubyArt GitHub repo and getting started, for more info on how to get the most out of JRubyArt. File all bugs/feature requests at JRubyArt issues. Also check out the learning JRubyArt blog

def setup
  sketch_title 'Sketch Title'

def draw
  # the sketch loop

def settings
  size 200, 200
  # full_screen # replaces size for full screen sketches
  # smooth  

Example Sketches:-

k9 –install, book examples The Nature of Code for JRubyArt