Canvas Drawing We use cookies to improve user experience, and analyze website traffic. bezierCurveTo (110, 102, 130, 80, 130, 62.5); ctx. In order to draw graphics on the canvas we use a JavaScript context object, which creates graphics on the fly. HTML5 Canvas Tutorial: Useful Tips. The tag is only a container for graphics, you must use a script to actually draw the graphics. It gives us flexible control over animating the graphics elements inside the canvas. When drawing lines in canvas, you actually need to straddle the pixels. 1. Note that every HTML5 canvas element is blank by default and won't show until it's styled or has a drawing on it. To learn more about