Core HTML5 Canvas

Core HTML5 Canvas
Author :
Publisher : Pearson Education
Total Pages : 752
Release :
ISBN-10 : 9780132761666
ISBN-13 : 0132761661
Rating : 4/5 (661 Downloads)

Book Synopsis Core HTML5 Canvas by : David Geary

Download or read book Core HTML5 Canvas written by David Geary and published by Pearson Education. This book was released on 2012-05-14 with total page 752 pages. Available in PDF, EPUB and Kindle. Book excerpt: 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.


Core HTML5 Canvas Related Books

Core HTML5 Canvas
Language: en
Pages: 752
Authors: David Geary
Categories: Computers
Type: BOOK - Published: 2012-05-14 - Publisher: Pearson Education

DOWNLOAD EBOOK

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 C
Building a 2D Game Physics Engine
Language: en
Pages: 129
Authors: Michael Tanaya
Categories: Computers
Type: BOOK - Published: 2017-01-11 - Publisher: Apress

DOWNLOAD EBOOK

Build your very own 2D physics-based game engine simulation system for rigid body dynamics. Beginning from scratch, in this book you will cover the implementati
Core HTML5 2D Game Programming
Language: en
Pages: 640
Authors: David Geary
Categories: Computers
Type: BOOK - Published: 2015 - Publisher: Pearson Education

DOWNLOAD EBOOK

'Core HTML5 Game Programming' walks you step-by-step through building an HTML5 arcade-style game entirely from scratch, with no third-party frameworks, showing
Introducing JavaScript Game Development
Language: en
Pages: 211
Authors: Graeme Stuart
Categories: Computers
Type: BOOK - Published: 2017-12-07 - Publisher: Apress

DOWNLOAD EBOOK

Learn to build a fully-functional 2D game inspired by the 1979 Atari classic, Asteroids, using just HTML5, CSS and JavaScript. Developing games has never been e
Building HTML5 Games with ImpactJS
Language: en
Pages: 140
Authors: Jesse Freeman
Categories: Computers
Type: BOOK - Published: 2012-02-15 - Publisher: "O'Reilly Media, Inc."

DOWNLOAD EBOOK

Step-by-step guide to creating a 2D game using Impact, the JavaScript game framework that works with HTML5's Canvas element.