Rudin-Shapiro Curve
Rudin-Shapiro Curve
The Rudin-Shapiro sequence gives the parity of the number of (possibly overlapping) 11 blocks in the binary representation of . A curve can be derived from this sequence as follows. At step , if is even, turn right 90°; otherwise turn left 90°. The curve visits every lattice point in one eighth of the plane precisely twice. (Here the corners are rounded for clarity.)
a
n
n
n
n++
a
n
a
n+1