Hacker News new | ask | show | jobs
by gezhengwen 80 days ago
Yes, it is essentially the same mathematical concept — both are cycle decompositions of permutations. Carmack used a permutation to ensure every pixel is visited exactly once.