Live data from Hacker News

Tearable Cloth Simulation in JavaScript

codepen.io

151–159 of 159 posts

Re: Tearable Cloth Simulation in JavaScript

#151

Without wishing to appear negative, I do find it odd the way that a technical crowd react to these online demos. Would you have found this impressive if it was a compiled executable? Because this is just the same thing, just running slower because it's on the web. It's not technically novel in any way. If you're curious about the algorithm, then take a look at the presentation 'Advanced Character Physics' by Jacobson…

Imagine if HN and comp.sys.ibm.pc.demos really would have the same audience. So everybody'd be like "oh, cloth simulation. we did that in the 90s", as well as, "... in javascript, even! ... just like scenerdude303 did 8 years ago, except he didn't have a canvas-element back then, web browsers were still make of wood and he had to get up at 5am to write the code in the snow when it was still fresh, type with his bare…

Is this the InkScape tutorial you refer to? https://news.ycombinator.com/item?id=4852611

Re: Tearable Cloth Simulation in JavaScript

#152

Without wishing to appear negative, I do find it odd the way that a technical crowd react to these online demos. Would you have found this impressive if it was a compiled executable? Because this is just the same thing, just running slower because it's on the web. It's not technically novel in any way. If you're curious about the algorithm, then take a look at the presentation 'Advanced Character Physics' by Jacobson…

well, this sounds like a pc critic in the 70s. "what's new with this thing called personal computer? I see nothing new that couldn't have been done on a mainframe it my university five years ago". but yes, the differ de is that you have now that power in your bedroom. similarly, i guess that most people visit more web pages each day than they download programs, so yes, new-old possibilities in the browser ARE a relevant thing.

Re: Tearable Cloth Simulation in JavaScript

#153
This is beautiful, and even more so considering it's done so well in JavaScript. It's times like these when I reflect with disdain that our industry is so full of hipster brogrammers with tons of butthurt. Get over yourself.

Re: Tearable Cloth Simulation in JavaScript

#155
post #150

Modified to support touch, Vine video: https://twitter.com/wyz/status/326808367437848576

Can you share the source code for this modification? Interested to diff the two and see just what magic is required to turn something that does not support touch events into something that does. Everything I find on stack exchange about it outright doesn't work for me on the platforms I need to support. Fingers crossed!

Re: Tearable Cloth Simulation in JavaScript

#156
post #110
post #65

Earlier quoted context omitted.

you might want to check this tutorial out: http://gamedev.tutsplus.com/tutorials/implementation/simulat... which is what this thingy seems to be based on...

Excellent tutorial, thanks! I just tried submitting it to HN but it was auto-killed for some reason. Any idea why?

on a hunch, I tried posting another article from that site, and it also arrived dead. Looks like that domain has been banned for some reason, probably spam.

Re: Tearable Cloth Simulation in JavaScript

#158
post #150

Modified to support touch, Vine video: https://twitter.com/wyz/status/326808367437848576

Can you share the source code for this modification? Interested to diff the two and see just what magic is required to turn something that does not support touch events into something that does. Everything I find on stack exchange about it outright doesn't work for me on the platforms I need to support. Fingers crossed!

on it...

Re: Tearable Cloth Simulation in JavaScript

#159
post #150

Modified to support touch, Vine video: https://twitter.com/wyz/status/326808367437848576

Can you share the source code for this modification? Interested to diff the two and see just what magic is required to turn something that does not support touch events into something that does. Everything I find on stack exchange about it outright doesn't work for me on the platforms I need to support. Fingers crossed!

There you go: http://codepen.io/anon/pen/qpDGf
Post reply on HN