Before teaching, I think if you are smart, you have mastered the basic basic operation methods of Canvas. If you don’t know much about Canvas, then I suggest you go to http://www.w3school.com.cn /tags/html_ref_canvas.asp Get familiar with it first;
okey! The picture below is the simple effect after we complete it. Action is not as good as action, so let’s do a simple drawing!
1. Define the canvas