examples/hello.rb in processing-0.4.0 vs examples/hello.rb in processing-0.5.0
- old
+ new
@@ -1,9 +1,10 @@
%w[xot rays reflex processing]
.map {|s| File.expand_path "../../#{s}/lib", __dir__}
.each {|s| $:.unshift s if !$:.include?(s) && File.directory?(s)}
-require 'processing/include'
+require 'processing'
+using Processing
draw do
background 0, 10
textSize 50