Core HTML5 Canvas

Graphics, Animation, and Game Development

Nonfiction, Computers, Internet, Web Development, HTML, SGML, VRML, Programming, Programming Languages, & VRML
Cover of the book Core HTML5 Canvas by David Geary, Pearson Education
View on Amazon View on AbeBooks View on Kobo View on B.Depository View on eBay View on Walmart
Author: David Geary ISBN: 9780132761666
Publisher: Pearson Education Publication: May 14, 2012
Imprint: Prentice Hall Language: English
Author: David Geary
ISBN: 9780132761666
Publisher: Pearson Education
Publication: May 14, 2012
Imprint: Prentice Hall
Language: English

One of HTML5’s most exciting features, Canvas provides a powerful 2D graphics API that lets you implement everything from word processors to video games. In Core HTML5 Canvas , best-selling author David Geary presents a code-fueled, no-nonsense deep dive into that API, covering everything you need to know to implement rich and consistent web applications that run on a wide variety of operating systems and devices.

 

Succinctly and clearly written, this book examines dozens of real-world uses of the Canvas API, such as interactively drawing and manipulating shapes, saving and restoring the drawing surface to temporarily draw shapes and text, and implementing text controls. You’ll see how to keep your applications responsive with web workers when you filter images, how to implement smooth animations, and how to create layered, 3D scrolling backgrounds with parallax. In addition, you’ll see how to implement video games with extensive coverage of sprites, physics, collision detection, and the implementation of a game engine and an industrial-strength pinball game. The book concludes by showing you how to implement Canvas-based controls that you can use in any HTML5 application and how to use Canvas on mobile devices, including iOS5. This authoritative Canvas reference covers 

  • 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 no unnecessary verbiage. All of the book’s code and live demonstrations of key techniques are available at corehtml5canvas.com.

View on Amazon View on AbeBooks View on Kobo View on B.Depository View on eBay View on Walmart

One of HTML5’s most exciting features, Canvas provides a powerful 2D graphics API that lets you implement everything from word processors to video games. In Core HTML5 Canvas , best-selling author David Geary presents a code-fueled, no-nonsense deep dive into that API, covering everything you need to know to implement rich and consistent web applications that run on a wide variety of operating systems and devices.

 

Succinctly and clearly written, this book examines dozens of real-world uses of the Canvas API, such as interactively drawing and manipulating shapes, saving and restoring the drawing surface to temporarily draw shapes and text, and implementing text controls. You’ll see how to keep your applications responsive with web workers when you filter images, how to implement smooth animations, and how to create layered, 3D scrolling backgrounds with parallax. In addition, you’ll see how to implement video games with extensive coverage of sprites, physics, collision detection, and the implementation of a game engine and an industrial-strength pinball game. The book concludes by showing you how to implement Canvas-based controls that you can use in any HTML5 application and how to use Canvas on mobile devices, including iOS5. This authoritative Canvas reference covers 

Throughout the book, Geary discusses high-quality, reusable code to help professional developers learn everything they really need to know, with no unnecessary verbiage. All of the book’s code and live demonstrations of key techniques are available at corehtml5canvas.com.

More books from Pearson Education

Cover of the book My Digital Photography for Seniors by David Geary
Cover of the book The Home Owner's Guide to Taking Control of Your Money by David Geary
Cover of the book 4 Investing Fundamentals Everyone Needs by David Geary
Cover of the book Your Team Dynamics and the Dynamics of Your Team (Chapter 6 from Disrupt Together) by David Geary
Cover of the book Software Endgames by David Geary
Cover of the book Fire Your Stock Analyst!: Analyzing Stocks On Your Own by David Geary
Cover of the book iOS Programming by David Geary
Cover of the book C Primer Plus by David Geary
Cover of the book iMovie for iPhone and iPad by David Geary
Cover of the book The Tempest: York Notes for GCSE (9-1) by David Geary
Cover of the book Learning Angular by David Geary
Cover of the book Deal with Your Debt by David Geary
Cover of the book Computer Basics Absolute Beginner's Guide, Windows 8.1 Edition by David Geary
Cover of the book LATEX Notes by David Geary
Cover of the book My iPad (covers iOS 7 on iPad Air, iPad 3rd/4th generation, iPad2, and iPad mini) by David Geary
We use our own "cookies" and third party cookies to improve services and to see statistical information. By using this website, you agree to our Privacy Policy