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.)


  • [Snapshot]
  • [Snapshot]
  • [Snapshot]
    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.