{"id":24483880,"url":"https://github.com/kingnobro/cloth-simulation","last_synced_at":"2026-03-16T11:31:11.306Z","repository":{"id":129116558,"uuid":"430587723","full_name":"kingnobro/Cloth-Simulation","owner":"kingnobro","description":"Naive Cloth Sewing based on OpenGL","archived":false,"fork":false,"pushed_at":"2022-02-22T02:41:04.000Z","size":24748,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-31T11:51:10.260Z","etag":null,"topics":["simulation"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kingnobro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-11-22T06:24:34.000Z","updated_at":"2023-12-23T13:41:09.000Z","dependencies_parsed_at":"2023-03-30T17:18:12.945Z","dependency_job_id":null,"html_url":"https://github.com/kingnobro/Cloth-Simulation","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/kingnobro%2FCloth-Simulation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kingnobro%2FCloth-Simulation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kingnobro%2FCloth-Simulation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kingnobro%2FCloth-Simulation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kingnobro","download_url":"https://codeload.github.com/kingnobro/Cloth-Simulation/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252913484,"owners_count":21824188,"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":["simulation"],"created_at":"2025-01-21T13:12:46.381Z","updated_at":"2026-03-16T11:31:11.257Z","avatar_url":"https://github.com/kingnobro.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Naive-Cloth-Sewing\n\n### Cloth Sewing\n[![HxqTVf.gif](https://s4.ax1x.com/2022/02/22/HxqTVf.gif)](https://imgtu.com/i/HxqTVf)\n[![T7HWdO.png](https://s4.ax1x.com/2022/01/03/T7HWdO.png)](https://imgtu.com/i/T7HWdO)\n[![T7HReK.png](https://s4.ax1x.com/2022/01/03/T7HReK.png)](https://imgtu.com/i/T7HReK)\n\n\n\n### Triangulation\n\n[![T7HgL6.png](https://s4.ax1x.com/2022/01/03/T7HgL6.png)](https://imgtu.com/i/T7HgL6)\n\n\n\n### Implementation\n\n1. Cloth Simulation based on Mass-Spring System\n2. High Efficiency Collision Detection\n3. Constrained Delaunay Triangulation\n4. Parsing Cloth Data from `.dxf` and Sewing them together.\n\n\n\n### Build\n\nYou need to make following modifications in Visual Studio,\n\n- INCLUDE\n- LIB\n- Additional Dependencies: `glfw3.lib`, `assimp-vc142-mt.lib`\n- Preprocessor Definitions: `_CRT_SECURE_NO_WARNINGS`\n\n\n\n### Future Work\n\n- Cloth Self Collision\n- Multilayer Cloth Simulation\n\n\n\n### Reference\n\n1. [Cloth Simulation](https://github.com/xxMeow/ClothSimulation)\n2. [CDT: Constrained Delaunay Triangulation](https://github.com/artem-ogre/CDT)\n3. [Efficient Cloth Model and Collision Detection for Dressing Virtual People](http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.103.4540\u0026rep=rep1\u0026type=pdf)\n4. [dxflib](https://qcad.org/en/90-dxflib)\n5. [assimp](https://www.assimp.org/)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkingnobro%2Fcloth-simulation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkingnobro%2Fcloth-simulation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkingnobro%2Fcloth-simulation/lists"}