small medium large xlarge

HTML5 and CSS3 2nd Ed, OpenGL ES 2 for Android in print

June 19, 2013

Blaise Pascal was born on this day in 1623—he invented the mechanical calculator, and had a lot of cool things named for him, including the unit of pressure and the programming language Pascal.

Fast-forward to 2013, and HTML5 and CSS3 are now the firm foundation of the web. If you're still stuck doing things in old-fashioned, 2000's-era HTML, it's time to level up and get your game back. The new second edition of HTML5 and CSS3 is now available from

And now in print, get your Android on with OpenGL ES 2 for Android from

HTML5 and CSS3 2nd Ed.: Level Up with Today’s Web Technologies

HTML5 and CSS3 power today's web applications, with semantic markup, better forms, native multimedia, animations, and powerful APIs. You'll get hands-on with all the new features with practical example projects, and find what you need quickly with this book's modular structure. "Falling Back" sections show you how to create solutions for older browsers, and "The Future" sections at the end of each chapter get you excited about the possibilities when features mature.

This revised second edition walks you through new features such as IndexedDB, CSS Animations, SVG, and more, along with updated fallback solutions. You'll use HTML5's new markup to create better structure for your content and better interfaces for your forms. You'll work with new form controls and validations, and build interfaces that are accessible to assistive technology and mobile devices. You'll draw with the Canvas and SVG, do simple animations with pure CSS, work with advanced CSS selectors, and make audio and video play natively.

You'll bring your web apps to the next level as you use Web Storage and IndexedDB to save data on the client and make applications available offline. And you'll discover how to use web sockets, geolocation, cross-document messaging, and the History API to create even more interactive applications.

Today, you have the flexibility that used to be only available through large JavaScript libraries or proprietary plugins. Get ready for today's web.

Now in beta from

OpenGL ES 2 for Android: A Quick-Start Guide

This book will teach you everything you need to know to create compelling graphics on Android. You'll learn the basics of OpenGL by building a simple game of air hockey, and along the way, you'll see how to initialize OpenGL and program the graphics pipeline using shaders. Each lesson builds upon the one before it, as you add colors, shading, 3D projections, touch interaction, and more.

Then, you'll find out how to turn your idea into a live wallpaper that can run on the home screen. You'll learn about more advanced effects involving particles, lighting models, and the depth buffer. You'll understand what to look for when debugging your program, and what to watch out for when deploying to the market.

OpenGL can be somewhat of a dark art to the uninitiated. As you read this book, you'll learn each new concept from first principles. You won't just learn about a feature; you'll also understand how it works, and why it works the way it does. Everything you learn is forward-compatible with the just-released OpenGL ES 3, and you can even apply these techniques to other platforms, such as iOS or HTML5 WebGL.

Available in full-color print and ebook from

Upcoming Author Appearances

  • 2013-06-19 Ian Dees, Open Source Bridge, Portland
  • 2013-06-23 Rachel Davies, SPA2013 London, UK
  • 2013-06-24 David Copeland, MADExpo, Hampton, VA
  • 2013-06-24 David Copeland, MADExpo, Hampton, VA
  • 2013-07-01 Jonathan Penn, Indianapolis CocoaHeads
  • 2013-07-04 Rachel Davies, Agile Evangelist meetup in London
  • Did you Know?

    Please note our ebooks do not contain any Digital Restrictions Management, and have always been DRM-free. For us, "DRM Free" means "freedom": you should own the books you've paid for. On whatever device is handy—your laptop, iThingy, Blueberry, you name it. We think ideas should outlast any device you put them on.

    And you can always come back and re-download your books when needed, using your account on We're here to make your life easier.

    Don't Get Left Out

    Are your friends jealous that you get these spiffy email newsletters and they don't? Clue them in that all they need to do is create an account on (email address and password is all it takes) and select the checkbox to receive newsletters.

    Are you following us on Twitter and/or Facebook? Here's where you can find us and keep up with the latest news and commentary, and occasional discounts:

    Tell your friends! Tweet this Follow us on Twitter: @pragprog, @pragpub, Andy @PragmaticAndy and Dave @pragdave.

    Coming Soon:

    • The Developer’s Code (Audio Book!)
    • Programming Ruby 1.9 & 2.0 in print
    • The Healthy Programmer: Get Fit, Feel Better, and Keep Coding in print

    Recently Released:

    Thanks for your continued support,

    Dave & Andy The Pragmatic Programmers

    Books • eBooks • PragPub Magazine • Audiobooks and Screencasts