{"id":18047130,"url":"https://github.com/jw3126/convexhulls2d.jl","last_synced_at":"2026-05-02T03:32:00.814Z","repository":{"id":81963136,"uuid":"606178323","full_name":"jw3126/ConvexHulls2d.jl","owner":"jw3126","description":"Simple and lightweight convex hull in 2d","archived":false,"fork":false,"pushed_at":"2023-02-27T20:44:10.000Z","size":117,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-11T12:47:10.857Z","etag":null,"topics":["2d","convex","convex-hull","julia"],"latest_commit_sha":null,"homepage":"","language":"Julia","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/jw3126.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-24T19:27:39.000Z","updated_at":"2023-03-01T22:29:19.000Z","dependencies_parsed_at":"2023-07-11T07:15:22.709Z","dependency_job_id":null,"html_url":"https://github.com/jw3126/ConvexHulls2d.jl","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/jw3126%2FConvexHulls2d.jl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jw3126%2FConvexHulls2d.jl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jw3126%2FConvexHulls2d.jl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jw3126%2FConvexHulls2d.jl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jw3126","download_url":"https://codeload.github.com/jw3126/ConvexHulls2d.jl/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247289447,"owners_count":20914463,"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":["2d","convex","convex-hull","julia"],"created_at":"2024-10-30T19:10:25.842Z","updated_at":"2026-05-02T03:32:00.743Z","avatar_url":"https://github.com/jw3126.png","language":"Julia","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ConvexHulls2d\n\n[![Stable](https://img.shields.io/badge/docs-stable-blue.svg)](https://jw3126.github.io/ConvexHulls2d.jl/stable/)\n[![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://jw3126.github.io/ConvexHulls2d.jl/dev/)\n[![Build Status](https://github.com/jw3126/ConvexHulls2d.jl/actions/workflows/CI.yml/badge.svg?branch=main)](https://github.com/jw3126/ConvexHulls2d.jl/actions/workflows/CI.yml?query=branch%3Amain)\n[![Coverage](https://codecov.io/gh/jw3126/ConvexHulls2d.jl/branch/main/graph/badge.svg)](https://codecov.io/gh/jw3126/ConvexHulls2d.jl)\n\nZero dependency convex hulls in 2d.\n\n# Usage\n```julia\nusing ConvexHulls2d\npts = [randn(2) for _ in 1:50]\nh = CH.ConvexHull(pts)\nCH.area(h)\nCH.circumference(h)\nCH.vertices(h) # corner points that span the convex hull\nCH.indices(h)  # indices of the corner points as elements of pts\n\nusing GLMakie # requires \u003e= julia 1.9\n\nfap = scatter(first.(pts), last.(pts), label=\"points\", color=:blue)\nlines!(h, label=\"ConvexHull\", color=:red)\nscatter!(h, label=\"vertices\", color=:red)\naxislegend()\nfap\n```\n![image](https://user-images.githubusercontent.com/7261506/221288722-fda37e04-a452-428b-ba0a-0aff1352dbc3.png)\n\n# Alternatives\nThere are many packages in julia capapable of computing convex hulls. Some examples are:\n* [LazySet](https://github.com/JuliaReach/LazySets.jl)\n* [QHull](https://github.com/JuliaPolyhedra/QHull.jl)\n* [LibGEOS](https://github.com/JuliaGeo/LibGEOS.jl)\n* [Meshes](https://juliageometry.github.io/Meshes.jl/stable/algorithms/hulls.html)\n\n\nAll of these packages offer much more than this package, however they are more heavy depependencies.\nAlso this package is faster then most of them for small to medium numbers of points.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjw3126%2Fconvexhulls2d.jl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjw3126%2Fconvexhulls2d.jl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjw3126%2Fconvexhulls2d.jl/lists"}