Skip to content

Instantly share code, notes, and snippets.

@jamesmichiemo
Created August 1, 2019 03:00
Show Gist options
  • Select an option

  • Save jamesmichiemo/fdc54e7ebd9cae01ff0597314094d8b4 to your computer and use it in GitHub Desktop.

Select an option

Save jamesmichiemo/fdc54e7ebd9cae01ff0597314094d8b4 to your computer and use it in GitHub Desktop.
processing + propane sketche
#!/usr/bin/env jruby
# frozen_string_literal: false
require 'propane'
# the setup function
# propane graffiti by 8mana
# based on code by Casey Reas and Ben Fry
class SetupFunction < Propane::App
def settings
size 480, 120
end
def setup
sketch_title 'the setup function'
puts "I'm starting"
end
def draw
puts "I'm drawing"
end
end
SetupFunction.new
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment