const myCanvas = document.getElementById("myCanvas"); const ctx = myCanvas.getContext("2d");