Musings of a Fondue

Dragon Curve

I watched this Numberphile playlist on the Dragon Curve and was completely mesmerized! Here’s my attempt at coding it.

In the process, I serendipitously created a Levi curve. Was curious what effect switching the direction would have, and was pleasantly surprised to see it created a Levi curve. (See the function generatePoints() in the code).

If you haven’t yet, checkout the Dragon Curve playlist on Youtube.

Vitals,
  • Created on May 2015

Comments