Hacker News new | past | comments | ask | show | jobs | submit login
WebGL physics engine - cloth simulation (kamibu.com)
42 points by alexandros on Jan 24, 2012 | hide | past | favorite | 8 comments



Very nice. Is performance suffering because of accuracy?

A bit faster in Chrome than Firefox but still not realtime.

I guess wireframe has exponentially less work to do http://andrew-hoyer.com/experiments/cloth/


Actually performance is suffering if you run it on a system with a not-so-good GPU. Intel GPUs are known for their poor WebGL performance.

The performance with wireframe rendering would be the same. The difference is that Andrew is simulating 150 points in CPU whereas this simulates ~260k in the GPU. On my 2008 laptop with NVidia GPU it runs at 60 FPS.


If it helps to know, I am running a dual core i3 @ 4ghz with native graphics from the IGP in the cpu.

Not cutting edge by any means but no slouch either. http://bit.ly/zOkben

It's not maxing out the cpu either for what it's worth.


Macbook Air 13inch runs with little to no slowdown. Turning on wind is an instant change in behavior.


Doesn't seem to work for me in Safari Version 5.1.2 (7534.52.7). I simply get a black screen...


Is the source code available?



Fails to load.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: