Core HTML5 Canvas
Artikelomschrijving
One of HTML5 as 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 all 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 all 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 coversThe 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
Specificaties
| ISBN/EAN | 9780132761666 |
| Verschijningsvorm | eBook |
| Licentieduur |
eBook online lezen: 730 days
eBook offline lezen (downloaden): Oneindig |
Artikelomschrijving
One of HTML5 as 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 all 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 all 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 coversThe 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
Specificaties
| ISBN/EAN | 9780132761666 |
| Verschijningsvorm | eBook |
| Licentieduur |
eBook online lezen: 730 days
eBook offline lezen (downloaden): Oneindig |