25.02.2013 Views

Peter Lubbers - Pro HTML 5 Programming

Pro HTML 5 Programming

Pro HTML 5 Programming

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Download from Wow! eBook <br />

262<br />

CHAPTER 11 ■ THE FUTURE OF <strong>HTML</strong>5<br />

Figure 11-2. Shader Toy is a WebGL shader workbench<br />

■ Note Not only is the WebGL effort bringing OpenGL to JavaScript, it is spinning off a general-purpose binary<br />

data API as well. A fast 3D API needs binary buffers. To that end, there is a new proposal for an API for<br />

manipulating binary data called TypedArray. If the proposal takes off, TypedArray will likely be useful throughout<br />

<strong>HTML</strong>5.<br />

Devices<br />

Web applications will need access to multimedia hardware such as webcams, microphones, or attached<br />

storage devices. For this, there is already a proposed device element to give web applications access to<br />

data streams from attached hardware. Of course, there are serious privacy implications, so not every<br />

script will be able to use your webcam at will. We will probably see a UI pattern of prompting for user<br />

permission as seen in the Geolocation and Storage APIs when an application requests elevated

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!