Is there any easy way how to zoom in and back out in canvas (JavaScript)? Basically I have a 400x400px canvas and I\'d like to be able to zoom in with \'mousedown\' (2x) and
IIRC Canvas is a raster style bitmap. it wont be zoomable because there's no stored information to zoom to.
Your best bet is to keep two copies in memory (zoomed and non) and swap them on mouse click.