Core HTML5 Canvas: Graphics, Animation, and Game Development; David Geary; 2012

Core HTML5 Canvas: Graphics, Animation, and Game Development Upplaga 1

av David Geary
One of HTML5s 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. Youll 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, youll 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 elementusing it with other HTML elements, handling events, printing a canvas, and using offscreen canvasesShapesdrawing, dragging, erasing, and editing lines, arcs, circles, curves, and polygons; using shadows, gradients, and patternsTextdrawing, positioning, setting font properties; building text controlsImagesdrawing, scaling, clipping, processing, and animatingAnimationscreating smooth, efficient, and portable animationsSpritesimplementing animated objects that have painters and behaviorsPhysicsmodeling physical systems (falling bodies, pendulums, and projectiles), and implementing tweening for nonlinear motion and animationCollision detectionadvanced techniques, clearly explainedGame developmentall aspects of game development, such as time-based motion and high score support, implemented in a game engineCustom controlsinfrastructure for implementing custom controls; implementing progress bars, sliders, and an image pannerMobile applicationsfitting 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 books code and live demonstrations of key techniques are available at corehtml5canvas.com.
One of HTML5s 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. Youll 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, youll 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 elementusing it with other HTML elements, handling events, printing a canvas, and using offscreen canvasesShapesdrawing, dragging, erasing, and editing lines, arcs, circles, curves, and polygons; using shadows, gradients, and patternsTextdrawing, positioning, setting font properties; building text controlsImagesdrawing, scaling, clipping, processing, and animatingAnimationscreating smooth, efficient, and portable animationsSpritesimplementing animated objects that have painters and behaviorsPhysicsmodeling physical systems (falling bodies, pendulums, and projectiles), and implementing tweening for nonlinear motion and animationCollision detectionadvanced techniques, clearly explainedGame developmentall aspects of game development, such as time-based motion and high score support, implemented in a game engineCustom controlsinfrastructure for implementing custom controls; implementing progress bars, sliders, and an image pannerMobile applicationsfitting 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 books code and live demonstrations of key techniques are available at corehtml5canvas.com.
Upplaga: 1a upplagan
Utgiven: 2012
ISBN: 9780132761611
Förlag: PRENTICE-HALL
Format: Häftad
Språk: Engelska
Sidor: 752 st
One of HTML5s 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. Youll 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, youll 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 elementusing it with other HTML elements, handling events, printing a canvas, and using offscreen canvasesShapesdrawing, dragging, erasing, and editing lines, arcs, circles, curves, and polygons; using shadows, gradients, and patternsTextdrawing, positioning, setting font properties; building text controlsImagesdrawing, scaling, clipping, processing, and animatingAnimationscreating smooth, efficient, and portable animationsSpritesimplementing animated objects that have painters and behaviorsPhysicsmodeling physical systems (falling bodies, pendulums, and projectiles), and implementing tweening for nonlinear motion and animationCollision detectionadvanced techniques, clearly explainedGame developmentall aspects of game development, such as time-based motion and high score support, implemented in a game engineCustom controlsinfrastructure for implementing custom controls; implementing progress bars, sliders, and an image pannerMobile applicationsfitting 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 books code and live demonstrations of key techniques are available at corehtml5canvas.com.
One of HTML5s 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. Youll 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, youll 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 elementusing it with other HTML elements, handling events, printing a canvas, and using offscreen canvasesShapesdrawing, dragging, erasing, and editing lines, arcs, circles, curves, and polygons; using shadows, gradients, and patternsTextdrawing, positioning, setting font properties; building text controlsImagesdrawing, scaling, clipping, processing, and animatingAnimationscreating smooth, efficient, and portable animationsSpritesimplementing animated objects that have painters and behaviorsPhysicsmodeling physical systems (falling bodies, pendulums, and projectiles), and implementing tweening for nonlinear motion and animationCollision detectionadvanced techniques, clearly explainedGame developmentall aspects of game development, such as time-based motion and high score support, implemented in a game engineCustom controlsinfrastructure for implementing custom controls; implementing progress bars, sliders, and an image pannerMobile applicationsfitting 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 books code and live demonstrations of key techniques are available at corehtml5canvas.com.
Begagnad bok (0 st)
Begagnad bok (0 st)