This article mainly teaches you how to use Html5 to write your own drawing board, perform painting, color adjustment and other operations. Interested friends can refer to it. I recently learned that the powerful drawing function of HTML5 surprised me, so, I wrote a gadget---a graffiti pad, which can achieve the following functions: drawing, changing colors, and adjusting the brush size. HTML5 drawing can be divided into points, lines, surfaces, circles, pictures, etc. Points and lines are all plane effects. With these two things, there is nothing that cannot be drawn, only unimaginable algorithms. Let’s start with the code: htmlXML/HTML Code copy the content to the clipboard