const canvas = canvas 주소 가져오기
const ctx = canvas.getContext("2d"); // 그림 그리기용 콘텍스트
canvas.width = 가로 크기 정하기
canvas.height = 세로 크기 정하기
ctx.fillRect(x,y,굵기,길이) // 사각형 만들기
ctx.moveTo(x,y) // 선을 긋지 않으면서 펜을 이동하기
ctx.lineTo(x,y) // 선을 그으면서 펜을 이동
ctx.lineWidth = 2; //선 굵기
ctx.stroke() // 그은 선 칠하기
ctx.fill() // 그은 선 채우기
ctx.fillStyle = "white" // 색 정하기
ctx.beginPath() // 새로운 패스 만들기
ctx.arc(x,y, 반지름, startAngle, endAngle) // 원 그리기