geom_hilbert_outline(closed = FALSE)
identifies endcap incorrectly
#31
Labels
bug
Something isn't working
Currently, the endcap ("to side") is identified as being opposite the "from side". But this means we're saying the path is traveling in a straight line, which is rarely true for a Hilbert curve. To know the true endcap, we probably need to calculate the next (or previous) square in the path.
This example demonstrates the problem. We've used
closed = FALSE
, but there are lots of lines blocking the path.Created on 2023-01-12 with reprex v2.0.2
The text was updated successfully, but these errors were encountered: