function zoomed() {
const t = d3.event.transform
const context = d3.select('canvas').node().getContext('2d');
context.save();
context.clearRect(0,0,size.width,size.height)
context.translate(t.x, t.y);
context.scale(t.k, t.k);
context.drawImage(image, 0, 0);
context.restore()
}