{"id":30522277,"url":"https://github.com/harryfoster1812/cloth-simulation","last_synced_at":"2026-04-15T16:31:40.425Z","repository":{"id":310548228,"uuid":"1040242259","full_name":"HarryFoster1812/Cloth-Simulation","owner":"HarryFoster1812","description":"Real-time C++ cloth simulation with OpenGL, GLFW, and Dear ImGui. Features configurable physics, collisions, fly camera, and wireframe mode.","archived":false,"fork":false,"pushed_at":"2025-08-18T18:52:12.000Z","size":24069,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-26T23:15:47.129Z","etag":null,"topics":["cloth-simulation","cpp","opengl"],"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/HarryFoster1812.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,"zenodo":null}},"created_at":"2025-08-18T17:08:52.000Z","updated_at":"2025-08-18T18:53:13.000Z","dependencies_parsed_at":"2025-08-18T20:52:04.083Z","dependency_job_id":null,"html_url":"https://github.com/HarryFoster1812/Cloth-Simulation","commit_stats":null,"previous_names":["harryfoster1812/cloth-simulation"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/HarryFoster1812/Cloth-Simulation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HarryFoster1812%2FCloth-Simulation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HarryFoster1812%2FCloth-Simulation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HarryFoster1812%2FCloth-Simulation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HarryFoster1812%2FCloth-Simulation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HarryFoster1812","download_url":"https://codeload.github.com/HarryFoster1812/Cloth-Simulation/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HarryFoster1812%2FCloth-Simulation/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31849704,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"ssl_error","status_checked_at":"2026-04-15T15:24:39.138Z","response_time":63,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","cpp","opengl"],"created_at":"2025-08-26T18:42:03.200Z","updated_at":"2026-04-15T16:31:40.407Z","avatar_url":"https://github.com/HarryFoster1812.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cloth Simulation Project\n\nA real-time cloth simulation implemented in **C++** using **OpenGL**, **GLFW**, **Glad**, and **Dear ImGui**. This project simulates cloth dynamics with interactive controls and physics-based behavior.\n\n## Features\n\n- **Configurable Cloth Properties**  \n  - Adjustable particle mass, spring constants, and pinning.  \n  - Real-time updates for simulation parameters.  \n\n- **Simulation Controls**  \n  - Pause/resume simulation.  \n  - Toggle **wireframe mode** for debugging.  \n\n- **Collision Handling**  \n  - Cloth interacts with **cubes** and **planes** in the scene.  \n\n- **Camera**  \n  - Fly camera for free exploration of the scene.  \n\n## Dependencies\n\n- [GLFW](https://www.glfw.org/) – windowing and input  \n- [Glad](https://glad.dav1d.de/) – OpenGL loader  \n- [Dear ImGui](https://github.com/ocornut/imgui) – GUI for simulation controls  \n- OpenGL 3.3+  \n\n## Build Instructions\n\n1. Clone the repository:\n\n```bash\ngit clone \u003crepo-url\u003e\ncd cloth-sim\ncmake .. -DMAIN_PATH:STRING=../main.cpp -DCMAKE_BUILD_TYPE=Debug\nmake\n./main\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharryfoster1812%2Fcloth-simulation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fharryfoster1812%2Fcloth-simulation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharryfoster1812%2Fcloth-simulation/lists"}