Rearranger is inspired by the artist Tête Au Carré and his art. Why does it work? I'm not sure, but it works. It perfectly reassembles the original input image into hypnotized stylized tiles.
Making of steps
This is where all "heavy" lifting is done. It calculates offsets. To optimize it, I used a 32-bit one-dimensional image as a minimum dynamic array to fit the required offsets. It would be even faster if only Pixel Processor could export integers.