&gt; You can get Z-ordering by using pixel[interleave(x,y)] where the function interleave(x,y) interleaves the bits of the two parameters.<p>That is pretty cool (also the raytracing application), but most surprising to me, is I remember the interleave operator from reading the INTERCAL[0] docs ... I never even considered the function could actually be applied to something useful :-)<p>[0] one of the early esoteric programming languages, designed to be &quot;most unlike any other language&quot;. It also features a &quot;COME FROM&quot; statement (because GOTO is considered harmful), which iirc also actually has a parallel in some modern programming paradigm.