{
const svg = d3.select(DOM.svg(width, height))
.attr("fill", "none")
.attr("stroke", "black")
.attr("stroke-width", 0.5);
while (true) {
yield svg.node();
svg.append("path")
.attr("d", line(dampenedRandomWalk()))
.attr("stroke-dasharray", strokeNone)
.transition()
.ease(d3.easeLinear)
.duration(750)
.attrTween("stroke-dasharray", strokeIn)
.transition()
.attrTween("stroke-dasharray", strokeOut)
.remove();
}
}