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…
Tearable Cloth Simulation in JavaScript
151–159 of 159 posts
Re: Tearable Cloth Simulation in JavaScript
#152Without 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…
Re: Tearable Cloth Simulation in JavaScript
#153Re: Tearable Cloth Simulation in JavaScript
#154Is there a way to add the stress/elasticity factor to it, so as to demonstrate that after certain point of pulling a point on cloth, any more force will tear the cloth?
Re: Tearable Cloth Simulation in JavaScript
#155Modified to support touch, Vine video: https://twitter.com/wyz/status/326808367437848576
Re: Tearable Cloth Simulation in JavaScript
#156Earlier 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?
Re: Tearable Cloth Simulation in JavaScript
#157Re: Tearable Cloth Simulation in JavaScript
#158Modified 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
#159Modified 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!