Tried it on a Mac mini of age but still a Core 2 Duo. It was very slow in Google Chrome. If it's moving smoothly on more modern computer I guess It's time to upgrade.
On another note, I believe that this is why native still is around.
Works smoothly on Chrome 21 on Windows XP. Note that if you change tentacles to max, thickness to about 9, gravity to max, and friction to 0.3, it is a good simulation of long flowing hair - maybe could be used in a RPG with a girl as protagonist?
# Ethiopian Multiplication
# usage: ruby em.rb 673 7
m, n = ARGV.map(&:to_i)
product = 0
while m >= 1
puts "%4d : %4d %s" % [m, n, m.even? ? "Ignore" : ""]
product += n unless m.even?
m = m / 2
n = n * 2
end
puts "Product: #{product}"
I played with the same kind of hack back in the nineties and then in JavaScript+HTML table in 2001.
http://plea.se/me/galen_man.htm (it was hideously slow to scroll down back then)