block by mpmckenna8 446943615357fd68a68be13bf53e7a46

446943615357fd68a68b

Full Screen

A dragon curve made using pretty much the algorithm I saw with openscad on Rosetta code. https://rosettacode.org/wiki/Dragon_curve.

Then it had to be hacked up a little bit to get it to work with d3.

This way also isn’t really optimized for showing each different unfold. Want to look into how people did it in some of the pretty animations and step throughts.

index.js

index.html