Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require './stickpig'
- 100.times do |i|
- stick = StickpigScript.new(0.4)
- puts "#{i}, #{stick.script.length}" +
- [-20,-10,-1,0,1,10,20].inject("") {|line, x| line + ", #{stick.evaluate(x).round(5)}"}
- end
Add Comment
Please, Sign In to add comment