Skip to content

Instantly share code, notes, and snippets.

@jamesmichiemo
Created August 1, 2019 02:58
Show Gist options
  • Save jamesmichiemo/7554da6483ae4ae3f2a5b20a6d005c51 to your computer and use it in GitHub Desktop.
Save jamesmichiemo/7554da6483ae4ae3f2a5b20a6d005c51 to your computer and use it in GitHub Desktop.
processing + propane sketch
#!/usr/bin/env jruby
# frozen_string_literal: false
require 'propane'
# response
# propane graffiti by 8mana
# based on code by Casey Reas and Ben Fry
class DrawFunction < Propane::App
def settings
size 480, 120
end
def setup
sketch_title 'the draw function'
end
def draw
puts "I'm drawing"
puts frameCount
end
end
DrawFunction.new
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment