I have to disagree with this attitude about time consuming
computations. It's about how are we looking at this problem. I agree
that client side code shouldn't be just presenter of text data or "eye-
candy" animation maker. I'll try to explain why I think that time
consuming computations don't belongs to cliend side. As @Uemit said,
yes computers are still faster and faster, but you forget to mobile
devices which are getting more and more popular in daily use. Last two
years are in trend of tablets and smartphones as main work tools, yes
they are faster and faster but still, can you imagine that most pages/
apps will do time consuming or high CPU operatoions in browsers? If I
said that I hate when my smartphone is drained after end of every day,
then most of you will agree with me that you hate it too.
And this is my only reason why I don't recommend to have these kind of
alghoritms on cliend side code. You can create highly valuable
applications without need of creating they native app clone on
smartphones, because your web app is too big or too slow or after 2
hours of using it mobile user will be very upset about battery state.
OrNOt: for image processing has Google API very good interface.