This repo shows a way to implement the rigid finite element method (RFEM) for modeling deformable objects. To learn more about the RFEM read my tutorial blogpost.
Install all the packages from requirements.txt
and run main.py
. To change the elasticity parameters of the rod use rod_params.py
file. To add new custom controllers use the base class from controllers.py
.