{"id":21091938,"url":"https://github.com/hactarce/incrementalconvexhull","last_synced_at":"2025-03-14T06:23:44.835Z","repository":{"id":62570841,"uuid":"350834554","full_name":"HactarCE/IncrementalConvexHull","owner":"HactarCE","description":"Incremental convex hull visualization for CSC 591","archived":false,"fork":false,"pushed_at":"2021-05-11T23:30:30.000Z","size":1614,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-02-21T16:09:47.119Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HactarCE.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":"2021-03-23T19:34:49.000Z","updated_at":"2021-05-11T23:30:33.000Z","dependencies_parsed_at":"2022-11-03T17:01:13.480Z","dependency_job_id":null,"html_url":"https://github.com/HactarCE/IncrementalConvexHull","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/HactarCE%2FIncrementalConvexHull","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HactarCE%2FIncrementalConvexHull/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HactarCE%2FIncrementalConvexHull/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HactarCE%2FIncrementalConvexHull/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HactarCE","download_url":"https://codeload.github.com/HactarCE/IncrementalConvexHull/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243533465,"owners_count":20306338,"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":[],"created_at":"2024-11-19T21:47:58.158Z","updated_at":"2025-03-14T06:23:44.809Z","avatar_url":"https://github.com/HactarCE.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IncrementalConvexHull\nIncremental Convex Hull Visualization for CSC 591, Spring 2021\n\n## Starting Resources\n- Read our [documentation](https://hactarce.github.io/IncrementalConvexHull/api.html)\n- [In-depth walkthrough](https://github.com/HactarCE/IncrementalConvexHull/blob/main/WALKTHROUGH.md) outlining how to use the GUI along with some interesting examples\n\n## Development\n\nWe recommend working in a virtual environment to maintain consistency across developers' machines.\n\nTo set things up, run the following in the root project directory:\n\n```\n$ python -m venv --prompt IncConvexHull --upgrade-deps venv\n\n$ source ./venv/bin/activate      # or venv\\Scripts\\activate.bat in Windows cmd\n                                  # or venv\\Scripts\\Activate.ps1 in PowerShell\n\n$ pip install -r requirements.txt\n\n[Development happens here]\n\n$ deactivate                      # When you're done working\n```\n\nIf you ever add/change dependencies during development (e.g. running `pip install` or `pip upgrade` within the virtual environment), be sure to run `pip freeze \u003e requirements.txt` and commit those changes to the repository.\n\n## Incremental Convex Hull Concepts and Backgrounds\nThis interactive visualization tool will plot the points of a _convex polygon_ while incrementally growing the _convex hull_ as points are added. Additionally, this tool will maintain a valid _traingulation_ of the plotted polygon. The polygons are represented using a graph data structure with nodes and edges.\n\n\n### Convex Polygons\nThe formal definition of convex polygon is a shape in which no interior angle is greater than 180 degrees. The simplest form of a convex polygon is a triangle. You can think of this visually as a shape with no \"dents\" in it, or edges that protrude inside the main cavity of the shape.\n\n\u003cimg src=\"https://raw.githubusercontent.com/HactarCE/IncrementalConvexHull/main/docs/img/convex-concave-polygons.jpg\" width=\"350\" height=150\u003e\n\n### Triangulations\nEvery convex polygon can be broken down into smaller triangles, the simplest form of a convex polygon. This process of dividing a polygon into triangles is called triangulation. There are multiple ways the triangulate a shape. Our visualization supports multiple triangulations. Upon clicking an _internal_ edge in the polygon, the edge will then flip, producing another valid triangulation.\n\n\u003cimg src=\"https://raw.githubusercontent.com/HactarCE/IncrementalConvexHull/main/docs/img/triangulation.png\" width=\"500\" height=150\u003e\n\n### Convex Hulls\nA convex hull is the outtermost boundary in a set of points that encompasses all other points. This visualization tool only supports convex polygons with no colinear points. The following are properties of convex polygons: \n\nThe following are properties of convex hulls:\n- All points within a set are encompassed by the convex hull\n- A tangent line can be drawn for each point on the convex hull such that all other points are on one side of the tangent line\n\n\n\u003cimg src=\"https://raw.githubusercontent.com/HactarCE/IncrementalConvexHull/main/docs/img/convex_hull.png\" width=\"200\" height=150\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhactarce%2Fincrementalconvexhull","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhactarce%2Fincrementalconvexhull","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhactarce%2Fincrementalconvexhull/lists"}