Soft body simulation using a spring-based model