You are previewing Core HTML5 Canvas: Graphics, Animation, and Game Development.

Core HTML5 Canvas: Graphics, Animation, and Game Development

Cover of Core HTML5 Canvas: Graphics, Animation, and Game Development by David Geary Published by Prentice Hall
O'Reilly logo

Chapter 11. Mobile

In the 1990s, Java gained immense popularity because developers could write one application that ran on multiple operating systems. In the early 2000s, HTML5 is doing the same on the mobile front, letting developers implement a single application that runs on the desktop and multiple mobile operating systems.

In this chapter you will see how to get Canvas-based applications running on mobile devices; specifically, you will see how to configure the magnifying glass and paint applications discussed earlier in this book to run, indistinguishably from native applications, on the iPad.

The application shown in Figure 11.1 is the magnifying glass application discussed in Section 4.10, “A Magnifying Glass,” on p. 321, running on both ...

The best content for your career. Discover unlimited learning on demand for around $1/day.