News for hackers. Stuff that matters.
Re:Tearable Cloth Simulation in JavaScript by vanderZwan on Tuesday April 23, 2013 @06:07AM (#5594217)
It's not so much the novelty as the presentation that makes the difference, and I mean that as a positive thing.

Ignore the code/algorithm itself for a moment and look at everything else: we see the code first and the results underneath. It's inherently open-source and fairly accessible, because it's JS, and everyone is at least a little bit familiar with the language. Lastly, it can be tweaked and recompiled on the fly so playing with the code has never been easier. I don't recall actionscript working like that.

As far as I know, the closest other languages (that don't compile to JS) can come at the moment is something like the Go Playground, and in comparison the best it can do is a text-based Game of Life[1] or a non-interactive generated picture[2] (which can be combined to a graphical version of GoL I suppose). And even something as minimal as the Go Playground turns out to be pretty awesome when discussing bugs/ideas about Go on the internet, so even there it helps and I wish more languages had something like it.

[1] http://play.golang.org/p/6j5z_RNr0q (by Jan Mercl)

[2] http://play.golang.org/p/yOn9pQwEzJ (taken from the Go Tour - http://tour.golang.org/#35 )

There are no comments on this comment yet.