When using canvas to make a path animation, It's blurry when moving, when it stops it's clear again. Any idea how to fix this?https://jsfiddle.net/1j1sepa9/
function render() {
cData.push(Math.abs(90 * Math.random()));
cData.shift();
var numberOfItemsToRender = n_columns;
var startingPoint = 0;
ctx.clearRect(0, 0, ctx.canvas.width, ctx.canvas.height);
ctx.beginPath();
ctx.moveTo(x(startingPoint), y(cData[startingPoint]));
for (var i = startingPoint + 1, len = n_columns; i < len; i++) {
ctx.lineTo(x(i),y(cData[i]));
//plotLine(x(i-1), y(cData[i-1]), x(i), y(cData[i]))
}
ctx.stroke();
}
