What is the name of the snake-like image movement algorithm?

The name of the algorithm after some math.

You can move the image line along the line, of course, but you can move the image using a recursive generated path to which the main blocks belong:

U

This is to bypass the 2x2 pixel image. If you have more images, you "multiply" this block (rotated or not) for each segment. The result is a serpentine path.

So, perhaps you remember the name of this algorithm :-) Thanks in advance.

+5
source share
2 answers

I believe it could be Hilbert Traverse or Hilbert Curve.

., . http://corte.si/posts/code/hilbert/portrait/index.html

alt text

+8

Z-order a.k.a. .

+2

All Articles