Closed fjenett closed 14 years ago
Just use the ruby (you know it makes sense) or the penny might have dropped by now?
Yep -- the Ruby versions are preferred to the Java ones.
true, although Processing's success is largly due to it's simplifications .. not only in terms of syntax but also in terms of being intuitive.
anyways for people missing the methods or if you change your mind:
class Processing::App
["abs","ceil","floor","round"].each do |meth|
method = <<-EOS
def #{meth}( obj )
obj.#{meth} if obj.methods.include? "#{meth}"
end
EOS
eval method
end
end
abs() is missing from App and Proxy. I know it's available thru -123.abs but i think since sin(), cos() and others are available it's confusing.