3 ms·
WebGL physics engine - cloth simulation
- atesti 15y agoIs the source code available?
- oscilloscope 15y agohttp://petros.kamibu.com/files/cloth/js/cloth.js http://petros.kamibu.com/files/cloth/js/cloth.js
- akg 15y agoDoesn't seem to work for me in Safari Version 5.1.2 (7534.52.7). I simply get a black screen...
- ck2 15y agoVery 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/ http://andrew-hoyer.com/experiments/cloth/
- petrosagg 15y agoActually 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.
- ck2 15y agoIf 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 http://bit.ly/zOkben It's not maxing out the cpu either for what it's worth.
- peregrine 15y agoMacbook Air 13inch runs with little to no slowdown. Turning on wind is an instant change in behavior.
- RDDavies 15y agoFails to load.