Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

From the code:

https://krikienoid.github.io/flagwaver/js/flagwaver.js

Aug 3 2012

Since I started working for a new startup not too long ago, I commute between home and work for over 2 hours a day. Although this means less time on three.js, I try getting a little coding on the train.

This set of experiments started from a simple hook's law doodle, to spring simulation, string simulation, and I realized I once again stepped onto physics and particle simulation, this time, more specifically soft body physics.

Based on the "Advanced Character Physics" article, this experiment attempts to use a "massless" cloth simulation model. It's somewhat similiar but simplier to most cloth simulations I found.

This was coded out fairly quickly, so expect more to come meanwhile feel free to experiment yourself and share

Cheers, Graphics Noob (aka @Blurspline, zz85)

Suggested Readings:

Advanced Character Physics by Thomas Jakobsen Character:

http://web.archive.org/web/20070610223835/http:/www.teknikus...

http://freespace.virgin.net/hugo.elias/models/m_cloth.htm

http://en.wikipedia.org/wiki/Cloth_modeling

http://cg.alexandra.dk/tag/spring-mass-system/

Real-time Cloth Animation:

http://www.darwin3d.com/gamedev/articles/col0599.pdf



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

Search: