function render(nTimes) {
const svg = d3.select(vis)
.style('background', '#4e1d4c');
const dj = svg.selectAll('g')
.data(d3.range(nTimes))
.join('g')
.attr('transform', (d, i) => `translate(${w/2}, ${h/2}) rotate(${i * rotation})`);
dj.selectAll('path')
.data([null])
.join('path')
.attr('d', ("M " + ([].concat( trianglePoints )) + " Z"))
.style('fill', 'none')
.style('stroke', '#f99d1b')
.style('stroke-width', 3)
.style('stroke-opacity', 0.5);
return nTimes;
}