Drawing on Canvas
Canvas is a blank rectangle you paint with code โ the foundation of browser games, charts, and generative art.
What you'll learn
Draw shapes on a canvas with the 2D context.
New command
canvas.getContext('2d')๐ป Code Editorhtml
๐ฌ
Press Run Code to see your creation!