Skip to content

Julia-style kwargs? #12

Description

@fonsp

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions