Skip to content

Consider Using a Different Approximation for turf.circle(...) #2897

@lemmingapex

Description

@lemmingapex

turf.circle(...) uses an inscribed polygon to estimate a circle. I am wondering if you have considered different constructions of this polygon. A construction of a regular polygon that has equal area to the circle it's approximating will give better results in many cases. The following post contains many more detail you may consider:
https://observablehq.com/@lemmingapex/smarter-approximations-for-circles

Please let me know what you think about this and if you have any questions. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions