{"id":13732141,"url":"https://github.com/sam007961/FastMassSpring","last_synced_at":"2025-05-08T06:31:28.311Z","repository":{"id":61160243,"uuid":"161530761","full_name":"sam007961/FastMassSpring","owner":"sam007961","description":"Interactive cloth simulator using the method described in the SIGGRAPH paper \"Fast Simulation of Mass-Spring Systems\" by Liu, T., Bargteil, A. W., Obrien, J. F., \u0026 Kavan, L.","archived":false,"fork":false,"pushed_at":"2020-09-25T17:51:50.000Z","size":69,"stargazers_count":212,"open_issues_count":2,"forks_count":30,"subscribers_count":13,"default_branch":"master","last_synced_at":"2024-05-02T19:21:52.067Z","etag":null,"topics":["cloth-simulation","computer-graphics","mass-spring-simulation","mass-spring-systems","opengl"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sam007961.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-12-12T18:46:42.000Z","updated_at":"2024-04-29T07:28:21.000Z","dependencies_parsed_at":"2022-10-12T19:19:58.990Z","dependency_job_id":null,"html_url":"https://github.com/sam007961/FastMassSpring","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sam007961%2FFastMassSpring","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sam007961%2FFastMassSpring/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sam007961%2FFastMassSpring/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sam007961%2FFastMassSpring/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sam007961","download_url":"https://codeload.github.com/sam007961/FastMassSpring/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":213757420,"owners_count":15634174,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cloth-simulation","computer-graphics","mass-spring-simulation","mass-spring-systems","opengl"],"created_at":"2024-08-03T02:01:47.431Z","updated_at":"2024-11-14T23:31:23.139Z","avatar_url":"https://github.com/sam007961.png","language":"C++","readme":"### Fast Mass-Spring System Simulator\n\nA C++ implementation of *Fast Simulation of Mass-Spring Systems* [1], rendered with OpenGL.\nThe dynamic inverse procedure described in [2] was implemented to constrain spring deformations\nand prevent the \"super-elastic\" effect when using large time-steps.\n\n### Dependencies\n\n* **OpenGL, freeGLUT, GLEW, GLM** for rendering.\n* **OpenMesh** for computing normals.\n* **Eigen** for sparse matrix algebra.\n\n### Building\n\nYou need to install OpenGL, GLEW and GLUT on your system to build. The rest of the dependencies\nwill be automatically fetched by cmake during configuration.\n\nTo build, run the following commands from the root directory of the project:\n``` bash\nmkdir build\ncd build\ncmake ..\ncmake --build .\n```\n\nOn Windows, you will likely need to specify the directories containing GLUT and GLEW in CMAKE_PREFIX_PATH so that cmake can find them.\n\n``` bash\ncmake .. -DCMAKE_PERFIX_PATH:PATH=/path/to/libs\n```\n\nYou will also need to copy the DLLs to the build directory if they are not available globally.\n\n### Demonstration\n\n![curtain_hang](https://user-images.githubusercontent.com/24758349/79005907-97ad1100-7b60-11ea-9e27-90375461beaf.gif)\n![curtain_ball](https://user-images.githubusercontent.com/24758349/79005924-9d0a5b80-7b60-11ea-8ce4-d9fc683441d7.gif)\n\n### References\n\n[1] Liu, T., Bargteil, A. W., Obrien, J. F., \u0026 Kavan, L. (2013). Fast simulation of mass-spring systems. *ACM Transactions on Graphics,32*(6), 1-7. doi:10.1145/2508363.2508406\n\n[2] Provot, X. (1995). Deformation constraints in a mass-spring modelto describe rigid cloth behavior. *InGraphics Interface* 1995,147-154.\n","funding_links":[],"categories":["Physics"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsam007961%2FFastMassSpring","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsam007961%2FFastMassSpring","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsam007961%2FFastMassSpring/lists"}