You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As shown in the README example and the Google Colab example, we can construct Z-order or Morton space filling curve patterns. In my original plan for presenting examples, I thought I should construct Hilbert-type space filling curves first. In fact, a Hilbert.py file is already in the examples folder.
The question is, how should I modify the algorithm so that we can construct Hilbert-type space filling curves?
Thoughts:
Change the sort order when switching to a new direction.
For implementation details, I can either create a new function similar to sort_divide but for Hilbert-type pattern sorting/indexing or keep the same function but change the behavior when a key word like pattern_type is specified to either Morton or Hilbert.
The text was updated successfully, but these errors were encountered:
As shown in the README example and the Google Colab example, we can construct Z-order or Morton space filling curve patterns. In my original plan for presenting examples, I thought I should construct Hilbert-type space filling curves first. In fact, a
Hilbert.py
file is already in theexamples
folder.The question is, how should I modify the algorithm so that we can construct Hilbert-type space filling curves?
Thoughts:
sort_divide
but for Hilbert-type pattern sorting/indexing or keep the same function but change the behavior when a key word likepattern_type
is specified to eitherMorton
orHilbert
.The text was updated successfully, but these errors were encountered: