Cloth simulation algorithms (Position Based Dynamics and Mass-Spring System) implemented in TypeScript
This is a web based port of some examples from the OpenCloth library.
The changes in this port includes:
The repository contains examples for two simulation methods:
Features missing:
This project was written as a part of my master’s thesis titled:
Implementation of cloth simulation algorithms
Code in this repository is not state of the art but it does its job.
bower install
tsd install
mss.html
or pbd.html
file in a web browserCopyright (c) 2015 Marcin Gajda. MIT license applies.