Free Downloads
Core HTML5 Canvas: Graphics, Animation, And Game Development (Core Series)

Download the book's code and a free chapter at corehtml5canvas.com Read how David wrote Core HTML5 Canvas: corehtml5canvas.wordpress.com/2012/08/08/the-making-of-core-html5-canvasCheck out David's article series on HTML5 2D Game Development at IBM's developerworks: ibm.com/developerworks/library/j-html5-game1This book is a painstakingly crafted, expertly written, code-fueled, no-nonsense deep dive into HTML5 Canvas printed in full color with syntax-highlighted code listings throughout. Core HTML5 Canvas is written for experienced software developers with an intermediate-level understanding of JavaScript. The result of two years full-time work by a long-time best-selling author, this book shows you how to implement anything you can imagine with the Canvas 2D API, from text editors to video games. Geary meticulously covers every detail of the API with crystal-clear writing so that you not only understand advanced concepts, but most importantly, you can modify the book's examples for your own specific use cases.Here are some of the things you will learn about in this book:The canvas element--using it with other HTML elements, handling events, printing a canvas, and using offscreen canvases Shapes--drawing, dragging, erasing, and editing lines, arcs, circles, curves, and polygons; using shadows, gradients, and patterns Text--drawing, positioning, setting font properties; building text controls Images--drawing, scaling, clipping, processing, and animating Animations--creating smooth, efficient, and portable animations Sprites--implementing animated objects that have painters and behaviors Physics--modeling physical systems (falling bodies, pendulums, and projectiles), and implementing tweening for nonlinear motion and animation Collision detection--advanced techniques, clearly explained Game development--all aspects of game development, such as time-based motion and high score support, implemented in a game engine Custom controls--infrastructure for implementing custom controls; implementing progress bars, sliders, and an image panner Mobile applications--fitting Canvas apps on a mobile screen, using media queries, handling touch events, and specifying iOS5 artifacts, such as app icons  Throughout the book, Geary discusses high-quality, reusable code to help professional developers learn everything they really need to know, with absolutely no fluff. All the book's code and live demonstrations of key examples are available at CoreHTML5Canvas.com.

Series: Core Series

Paperback: 752 pages

Publisher: Prentice Hall; 1 edition (May 14, 2012)

Language: English

ISBN-10: 0132761610

ISBN-13: 978-0132761611

Product Dimensions: 6.9 x 1.1 x 9 inches

Shipping Weight: 2.2 pounds (View shipping rates and policies)

Average Customer Review: 4.6 out of 5 stars  See all reviews (60 customer reviews)

Best Sellers Rank: #674,392 in Books (See Top 100 in Books) #485 in Books > Computers & Technology > Games & Strategy Guides > Game Programming #500 in Books > Computers & Technology > Programming > Web Programming > JavaScript #798 in Books > Textbooks > Computer Science > Graphics & Visualization

This book is laid out like a logical college text. The prerequisites would be familiarity with HTML scripting, and JavaScript programming. This book presumes you know these things well as it provides no attention to either of these basic reader prerequisites.The author wastes little time getting into the nitty gritty. Code examples are the foundation for this book, along with execution screen shots. The book is extremely detailed and the author's instruction is insightful yet to the point. Chapter 1 covers the essentials of the canvas element such as event handling, using HTML elements within the canvas element, and printing a canvas. He even includes a small primer on the various math to be used throughout the book, as a refresher. Quite useful I might add.The next chapter introduces the "student" to drawing with canvas. Again he starts with the basics like drawing basic shapes and advances the instruction along to more advance techniques such as using bezier curves, path manipulation, and transformations.And so goes the rest of the book.. The student progresses through the following topics (in the following order):Text: stroking and filling text, positioning text and implementing text controlsImages and Video: drawing, scaling, image manipulation, animation images, and video processingAnimation: animation loops, frame rate manipulation, backgrounds, timing, etc.

Core HTML5 Canvas: Graphics, Animation, and Game Development (Core Series) Computer Graphics Through OpenGL: From Theory to Experiments (Chapman & Hall/CRC Computer Graphics, Geometric Modeling, and Animation) Elemental Magic, Volume II: The Technique of Special Effects Animation (Animation Masters Title) Learning Processing, Second Edition: A Beginner's Guide to Programming Images, Animation, and Interaction (The Morgan Kaufmann Series in Computer Graphics) Exam Ref 70-480 Programming in HTML5 with JavaScript and CSS3 (MCSD): Programming in HTML5 with JavaScript and CSS3 CSS (with HTML5): Learn CSS in One Day and Learn It Well. CSS for Beginners with Hands-on Project. Includes HTML5. (Learn Coding Fast with Hands-On Project Book 2) Learning PHP, MySQL & JavaScript: With jQuery, CSS & HTML5 (Learning Php, Mysql, Javascript, Css & Html5) HTML5: Discover How To Create HTML 5 Web Pages With Ease (HTML5 CSS3 JavaScript) Animated Storytelling: Simple Steps For Creating Animation and Motion Graphics The Complete Guide to Blender Graphics, Second Edition: Computer Modeling and Animation The Web Game Developer's Cookbook: Using JavaScript and HTML5 to Develop Games (Game Design) 3D Math Primer for Graphics and Game Development, 2nd Edition Graphics Gems IV (IBM Version) (Graphics Gems - IBM) (No. 4) Introduction To 3D Game Programming With Directx 9.0 (Wordware Game and Graphics Library) Introduction to 3D Game Programming with DirectX 9.0c: A Shader Approach (Wordware Game and Graphics Library) Web Development and Design Foundations with HTML5 Foundation Game Design with HTML5 and JavaScript From null to full HTML5 cross platform game The Gettysburg Cyclorama: The Turning Point of the Civil War on Canvas Poly-Canvas Bible / Book Cover w/Fish Applique (Large / Gray)