
Eric Rowell
Written in cookbook style, this book offers a wide array of techniques for building HTML5 Canvas applications. Each recipe contains step-by-step instructions followed by analysis of what was done in each task and other useful information. The book is designed so that you can read it chapter by chapter, or you can look at the list of recipes and refer to them in no particular order. This book is geared towards web developers who are familiar with HTML and JavaScript. It is written for both beginners and seasoned HTML5 developers with a good working knowledge of JavaScript.
canvas小案例特别多,工作中如果需要可以当本工具书,举一反三自由组合
看过的所有JS的书和课程,不管是入门还是进阶,操作DOM几乎都是以document.getElementById开始的。 但至少十年前,html里的id就可以在JS中直接使用,myCanvas.getContext(‘2d’)就行,不必再const一个变量。