Could turn them into nCloth or soft bodies, put constraints on the ends, and make them collide with each other.