JavaScript Translate Function
How to Use the translate() Function in JavaScript Canvas

Learn how the JavaScript translate() method moves the canvas origin for precise positioning of elements in HTML5 canvas.