JuliaGeometry / JuliaGeometry/Triangulate.jl
Julia-style kwargs?
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 42
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Description
Really cool! I'm using this package to play around with generative art for my pen plotter 😎
One thing that I was thinking: I have not used the original CLI program before, so this API:
triangulate(triin; planar_straight_graph=true, maxarea=maxarea, quiet=true)
would be more natural than the current API (example from docs):
area=@sprintf("%.15f",maxarea) # Don't use exponential format!
triangulate("pa$(area)Q", triin)
What do you think?
More generally, a more high-level API (without IO, with GeometryBasics or Vector{SVector{Float64,2}} input/output instead of Matrix) would be nice to make this package slightly easier to use for my purposes (very small number of points, sunday afternoon entertainment). I already wrote some functions that I can turn into a PR if you like!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the documented triangulate(...) example and the current triangulate entry point. Compare the proposed Julia keyword-argument form and higher-level GeometryBasics or SVector inputs with the existing Matrix and IO usage. Done requires an agreed API direction and a focused implementation proposal or PR, so clarify the broader scope with maintainers first.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- api
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100