Programming Books C Java PHP Python Learn more Browse Programming Books

Sorry, this item is not available in
Image not available for
Image not available

To view this video download Flash Player


Sign in to turn on 1-Click ordering
Sell Us Your Item
For a $7.72 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
Start reading Foundation HTML5 Canvas: For Games and Entertainment on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Foundation HTML5 Canvas: For Games and Entertainment [Paperback]

by Rob Hawkes
4.2 out of 5 stars  See all reviews (11 customer reviews)

List Price: $39.99
Price: $26.00 & FREE Shipping on orders over $35. Details
You Save: $13.99 (35%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Gift-wrap available.
Want it tomorrow, April 25? Choose One-Day Shipping at checkout. Details
Free Two-Day Shipping for College Students with Amazon Student


Amazon Price New from Used from
Kindle Edition $17.27  
Paperback $26.00  
Shop the new
New! Introducing the, a hub for Software Developers and Architects, Networking Administrators, TPMs, and other technology professionals to find highly-rated and highly-relevant career resources. Shop books on programming and big data, or read this week's blog posts by authors and thought-leaders in the tech industry. > Shop now

Book Description

April 10, 2011 1430232919 978-1430232919 1
Foundation HTML5 Canvas: For Games and Entertainment teaches you how to make exciting interactive games and applications using HTML5 canvas.

Canvas lets you produce graphics, animations, and applications using the HTML5 and JavaScript web standards. It allows you to draw directly within the browser without the need for third-party plugins like Adobe Flash, and so canvas works perfectly across desktop and mobile devices, like the iPhone and Android.

Foundation HTML5 Canvas begins by introducing you to HTML5 and the cool new features that it opens up for you. You are then offered a quick guide to JavaScript programming to get you up to speed. Next up you'll receive a thorough introduction to the canvas element, which teaches you how to draw objects within the browser with great ease.

Once the basics are covered you'll move on to the more advanced features of canvas, including image and video manipulation. You'll also learn how to create realistic animations with the help of some basic physics.

Foundation HTML5 Canvas then teaches you how to create two thrilling space-based games using all the skills you've learned so far. You'll find plenty of code examples and illustrations designed to help you understand even the most complex of topics.

HTML5 is already here for you, and Foundation HTML5 Canvas will provide you with all the information you need to enjoy the show.

What you'll learn
  • The exciting new features that HTML5 brings and how to use them
  • The basics of programming in JavaScript and capturing user input
  • What the canvas drawing element is all about and why you'd want to use it
  • How to utilize both basic and advanced features of canvas
  • How to create realistic animations using canvas and a splash of physics
  • How to make interactive games using canvas, JavaScript, and other HTML5 goodies

Who this book is for

The book has been written in a friendly way that makes it approachable to beginners and experts alike. It is predominantly for Web designers who are new to HTML5 and JavaScript, and covers the absolute basics of creating interactive games and applications using the HTML5 canvas element. Experienced Web designers and programmers will also learn about all the features of canvas and how they can be used within their own projects. Flash and Silverlight developers wanting to broaden their reach across the Web and mobile devices will also benefit from the information in this book.

Table of Contents
  1. Introducing HTML5
  2. Foundation JavaScript
  3. Learning the Basics of Canvas
  4. Pushing Canvas Further
  5. Manipulating Images and Video
  6. Making Things Move
  7. Implementing Advanced Animation
  8. Creating the Space Bowling Game
  9. Creating the Asteroid Avoidance Game
  10. Taking Things Further and the Future of Canvas 

Frequently Bought Together

Foundation HTML5 Canvas: For Games and Entertainment + Foundation HTML5 Animation with JavaScript + HTML5 Games: Creating Fun with HTML5, CSS3, and WebGL
Price for all three: $79.01

Buy the selected items together

Editorial Reviews

About the Author

Rob Hawkes thrives on solving problems through code. He's addicted to visual programming, and can't get enough of HTML5, alongside other exciting new features of the Web. Most of his waking life is spent working on crazy projects involving all sorts of new and exciting technologies, both online and off. Rob is originally from London, but now lives in Bournemouth on the South coast of the UK. He studied Interactive Media Production at Bournemouth University, which is how he fell in love with the seaside town, and is the reason why he still lives there today.

Product Details

  • Series: Foundation
  • Paperback: 316 pages
  • Publisher: friendsofED; 1 edition (April 10, 2011)
  • Language: English
  • ISBN-10: 1430232919
  • ISBN-13: 978-1430232919
  • Product Dimensions: 7.4 x 9.2 x 0.7 inches
  • Shipping Weight: 1.2 pounds (View shipping rates and policies)
  • Average Customer Review: 4.2 out of 5 stars  See all reviews (11 customer reviews)
  • Amazon Best Sellers Rank: #675,840 in Books (See Top 100 in Books)

More About the Author

Rob thrives on solving problems through code. He's addicted to visual programming can't get enough of HTML5 canvas, and most of his waking life is spent working on crazy projects involving all sorts of new and exciting technologies, both on-line and off.

Aside from his studies in Interactive Media Production at Bournemouth University, Rob has written a book called "Foundation HTML5 Canvas" which is all about making games with the new Web technology. It's on the shelves right now!

Check out Rob's website ( if you want to find out more about what he gets up to.

Customer Reviews

Most Helpful Customer Reviews
20 of 21 people found the following review helpful
4.0 out of 5 stars Fantastic introduction to Canvas! April 23, 2011
Format:Paperback|Verified Purchase
I've been building websites since FrontPage was the standard and everything was done in quirks mode by default. Thanks to that experience, I'm very accomplished working with regular HTML markup, have picked up more dynamic techniques (CMS platforms save a LOT of time!), and have learned JavaScript as well. When it comes to working with JS, regular HTML, or scripting a CMS to generate a page, I'm somewhat of an expert.

But when it comes to working with the newer elements of HTML5, namely Canvas, to say I'm a novice would be ... polite.

When I usually pick up "introduction to" books to learn a new concept I find them difficult to read because they're not really intro-level books. The "learn Adobe AIR" book I started with assumed you had already written several AIR applications. The "beginners JavaScript" book I started with years ago assumed you already worked with jQuery and YUI on a daily basis and dreamed in prototypes.

Foundation Canvas is different. It's actually approachable for those of us with zero experience working with HTML5 markup. And that's fantastic! Since much of HTML5 manipulation is done through JavaScript, the book starts with a spectacular introduction to how JS works, how to use libraries to optimize your workflow, and how to use JS with HTML5. If you already know what jQuery is or how to build an object prototype you can probably skip this chapter, but it's still a great building block for the rest of the book.

Every example throughout the book is very detailed, walks you through an explanation of what each piece of code does, and builds on the lessons learned in the previous chapter.
Read more ›
Comment | 
Was this review helpful to you?
8 of 8 people found the following review helpful
5.0 out of 5 stars Love It April 23, 2011
Format:Paperback|Verified Purchase
This book has been instrumental in pushing my understanding of how to draw and animate using the Canvas API but also introducing me to physics and the mathematics involved with creating games. While those concepts can be complex the author does a good job of breaking them down and explaining them clearly.

If you want to develop a good understanding of how to use HTML5 Canvas and how to write games within Canvas this is the book for you. Yes it is a foundation, it gives you a foundation in this new technology and gives you enough exposure to the core concepts to competently go out and start making things yourself. There is always more that they could have demonstrated and as pointed out several times in the book if you want to delve right into the guts of game physics and the like there are entire books written on that one aspect. The author has written a great book which has been invaluable to me and I would highly recommend it.
Comment | 
Was this review helpful to you?
5 of 5 people found the following review helpful
5.0 out of 5 stars Very good examples of real games August 15, 2011
Format:Paperback|Verified Purchase
I bought this book along with a 2nd HTML games programming book from the same publisher, "Using games to learn HTML5".

This book by far had more realistic and modern example games.

The example games of bowling and meteor shooting are quite fun and relevant.

The "Using Games" book had text based games like dice and quiz and hangman with primitive graphics, circa 1995.
Comment | 
Was this review helpful to you?
2 of 2 people found the following review helpful
5.0 out of 5 stars Great book/clear explanations - Highly recommended June 24, 2011
This is a great book! Usually I'm into the O'Reilly books as the definitive reference book or way to get started with a new language or feature but in this case Rob's book was simply easier to understand and gave clearer examples with less jargon than the O'Reilly HTML5 Canvas book. Well written, great example code to get you started and will be the start I need on my own developments in HTML5 and Canvas! Thanks Rob - great book!
Comment | 
Was this review helpful to you?
1 of 1 people found the following review helpful
5.0 out of 5 stars Is Canvas new to you? This is where you should start! February 25, 2012
By Juanfe
Format:Paperback|Verified Purchase
I didn't have a lot of experience as a web developer before reading this book, though terms like variables, functions, loops, and conditionals where familiar. I did have some experience using xhtml and css but the way this book is structured is great! It starts with a brief history of the evolution of html (very interesting), then a brief but solid explanation of what is html5, what it isn't and how to create a new html5 page. Then you are introduced to javascript (nice chapters!) and finally to Canvas. When you get to the Canvas chapter and if you've been reading the book in the proposed order, you'll feel really up to the challenge and the way Mr Hawkes explains is great for those who want to avoid geeky terms and prefer english instead. Yes, it's basic. Yes, it isn't for advanced developers. And yes, you'll really love this book if you want a solid-rock foundation that will let you become a premier canvas and web developer.
By the way, I'm about to finish this book and I'm about to finish the basic canvas course in as well. Both are great but Rob Hawkes' book has the edge, definitely!!
Comment | 
Was this review helpful to you?
1 of 1 people found the following review helpful
5.0 out of 5 stars Great introduction! May 17, 2011
Format:Paperback|Verified Purchase
Yeah, the book is written for beginners. And if you are a beginner, well, this is a great place to begin with Canvas.
Comment | 
Was this review helpful to you?
Most Recent Customer Reviews
Search Customer Reviews
Only search this product's reviews

What Other Items Do Customers Buy After Viewing This Item?


There are no discussions about this product yet.
Be the first to discuss this product with the community.
Start a new discussion
First post:
Prompts for sign-in

Look for Similar Items by Category