powered by
Hilbert conversion, distance to coordinates
hilbertd2xy(n, d)
Size (must be a 2^k value, such as 4,8,16,32)
A vector of values to be converted to coordinates (starts with 0)
Tibble with columns x and y
# NOT RUN { hilbertd2xy(64,31) # }
Run the code above in your browser using DataLab