(HTML5 canvas basic tutorialCanvas is a standard solution for developing cross platform animation and games on desktops, tablets and mobile phones. It also has the ability to operate images and videos at the pixel level, creating a broad space for future web graphics and video processing. To learn HTML5, you must learn canvas. This book can lay a solid foundation for canvas developmentThis is a real book for beginners. Start with the history of HTML5 and the basic concepts of JavaScript (and jQuery), making HTML5 and JavaScript easier for novices. Then, the author makes a coherent and step-by-step introduction to all aspects of canvas, including rendering context, coordinate system, canvas state, deformation synthesis and advanced image and video processing. On this basis, this book summarizes the mathematics and Physics related to creating animation. Finally, through the detailed analysis of the conception, design and coding of two classic games, space bowling and asteroid avoidance, this paper introduces the palace of HTML5 game development to readers.)