Preview added to your library
Core HTML5 Canvas By: David Geary

Core HTML5 Canvas - Graphics, Animation, and Game Development

Core Series

  • 1
  • 2
  • 3
  • 4
  • 5
Rate this book!

( 0 customer ratings)

In order to rate this item, you must sign in first.

Pearson Education, May 2012

Synopsis

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.

$27.29 List price: $43.99 You save: 38% ($16.70)

BUY NOW

Preview added to your library

eBook Information

Imprint: Prentice Hall
ISBN: 9780132761666
Language:  English
Download options: Adobe DRM EPUB

Files Available for Download

If you use one of Kobo's free reading apps you won't need to worry about download options most of the time. Your Kobo reading app can easily add Kobo Store books to your library for a seamless reading experience.

Download options matter when:

  • You want to read your book on an eReader other than the Kobo eReader (see here for a list of supported eReaders).
  • The book you want is only available as an Adobe DRM PDF.

In both of these cases you will need to:

  1. Download a copy of your book to your computer.
  2. Open the book using a free application called Adobe Digital Editions.

You can also use Digital Editions to transfer the book to your eReader. See here for more information on Digital Editions.

Read this on:

  • Desktop More

    Kobo Desktop App

    You can read this item on your computer using our free Kobo Desktop Application. This application lets you read, manage your library of eBooks, and even shop for new ones. Check out our demo for more information!

    Download it now for PC!

    Download App!

    Mac user? Click here

    Download it now for Mac!

    Download App!

    PC user? Click here

    Learn More »
  • eReaders More

    eReading Devices

    You can read this item on your Kobo eReader (or other select electronic reading devices). The Kobo eReader lets you carry your whole library with you, so that you can read on the go.

    Visit kobo.com/ereaders »
  • Tablets More

    Tablets

    You can read this item on select tablets using one of our free Kobo apps. These apps let you read, manage your library of eBooks, and even shop for new ones.

    Learn More »
  • Kobo Vox More

    Kobo Vox

    You can read this item on your Kobo Vox eReader. The Kobo Vox eReader lets you read books with color, sound or interactive elements. Check out our demo for more information on the Kobo Vox.

    Learn More »
  • Kobo Arc More

    Kobo Arc

    You can read this item on your Kobo Arc using the Library app. This app lets you read, manage your library of eBooks, and shop for new books.

    Learn More »
  • Android More

    Android

    You can read this item on any Android device (phone, tablet) with one of our free Kobo apps. These apps let you read, manage your library of eBooks, and even shop for new ones.

    Learn More »
  • iPhone More

    iPhone

    You can read this item on the free Kobo app for iPhone. This app let you read, manage your library of eBooks, and even shop for new ones.

    Download the iPhone App! Learn More »

Goodreads Reviews for Core HTML5 Canvas

{1}

By: {2}

Available on: {3}

Coming soon

Secure Transaction

Subtotal

Store Credit

Total

We'll charge your credit card {4} on {3}.

We'll charge your credit card {4} when the book is added to your Library.

Your store credit covers the cost of this purchase, so we don't charge your credit card

Use Quick Buy for all eBook purchases.
{0}
By clicking Buy Now, I agree to Kobo's Terms of Sale. BUY NOW Pre-Order

Thank you for your purchase

Thanks for pre-ordering

{2} is now in your library. You'll receive an email confirming your purchase very soon.

{2} has been pre-ordered. You'll receive a confirmation email confirming your pre-order very soon.

You were charged:

You will be charged: on {3}

You will be charged: when the book is added to your Library

Rakuten Super Points earned: {1}

Rakuten Super Points {1} earned after the book is added to your Library

{0}
Continue shopping