0
$\begingroup$

Hey i will be happy to get some hint on how it can be done. in class i saw an example on how it can be done by mapping it in a "spiral" way. but i cant find an explicit function that works.
the numbering is(0,0), (1,0), (1,1), (0,1), (-1,1), (-1,0), (-1,-1), (0,-1), (1,-1),(2,-1), (2,0), (2,1) (2,2), (1,2), etc.

$\endgroup$
4

0

Browse other questions tagged or ask your own question.