HTML5 and CSS3, Second Edition

(singke) #1
acceleration. The canvas will make it possible to create intriguing user inter-
faces and engaging games using only JavaScript. Dig into the excellent Three.js
library to see what amazing things you can create.^7

As for SVG, libraries like Raphaël make it easy to create amazing visualizations
and graphics that work in all browsers.^8 And best of all, tools like Adobe
Illustrator let you export your vector graphics as SVG files you can bring into
your web projects. As support for SVG improves, it’ll be even easier to create
images that can scale with the size of the device. In a world where many users
move between small mobile screens and large desktop screens, it’s great to
have graphics that can scale up and down without losing quality.


  1. http://threejs.org/

  2. http://raphaeljs.com


Chapter 6. Drawing in the Browser • 130


Download from Wow! eBook <www.wowebook.com> report erratum • discuss

Free download pdf