An improvement upon the previous experiment. Two alternating concatenation rules (X
and Y
) are used to make the spiral grow alternatively clockwise and counterclockwise. Due to the fact that less segments are aligned, the worst aspect ratio of this layout is 1/4 like for the Hilbert spiral layout (the former experiment gave 1/6).
xxxxxxxxxx
<html>
<head>
<meta charset="utf-8">
<meta name="description" content="FASS spiral II (L-system)" />
<title>FASS spiral II (L-system)</title>
<link rel="stylesheet" href="index.css">
<script src="https://d3js.org/d3.v3.min.js"></script>
</head>
<body>
<script src="index.js"></script>
</body>
</html>
Modified http://d3js.org/d3.v3.min.js to a secure url
https://d3js.org/d3.v3.min.js