Start reading Supercharged JavaScript Graphics on your Kindle in under a minute. Don't have a Kindle? Get your Kindle here or start reading now with a free Kindle Reading App.

Deliver to your Kindle or other device


Try it free

Sample the beginning of this book for free

Deliver to your Kindle or other device

Anybody can read Kindle books—even without a Kindle device—with the FREE Kindle app for smartphones, tablets and computers.
Supercharged JavaScript Graphics: with HTML5 canvas, jQuery, and More

Supercharged JavaScript Graphics: with HTML5 canvas, jQuery, and More [Kindle Edition]

Raffaele Cecco
3.5 out of 5 stars  See all reviews (2 customer reviews)

Print List Price: £30.99
Kindle Price: £12.05 includes VAT* & free wireless delivery via Amazon Whispernet
You Save: £18.94 (61%)
* Unlike print books, digital books are subject to VAT.


Amazon Price New from Used from
Kindle Edition £12.05  
Paperback £25.28  
Kindle Daily Deal
Kindle Daily Deal: At least 60% off
Each day we unveil a new book deal at a specially discounted price--for that day only. Learn more about the Kindle Daily Deal or sign up for the Kindle Daily Deal Newsletter to receive free e-mail notifications about each day's deal.

Product Description

Product Description

With HTML5 and improved web browser support, JavaScript has become the tool of choice for creating high-performance web graphics. This faced-paced book shows you how to use JavaScript, jQuery, DHTML, and HTML5's Canvas element to create rich web applications for computers and mobile devices.

By following real-world examples, experienced web developers learn fun and useful approaches to arcade games, DHTML effects, business dashboards, and other applications. This book serves complex subjects in easily digestible pieces, and each topic acts as a foundation for the next.

  • Tackle JavaScript optimization and understand how it impacts performance
  • Create fast-moving graphics by combining old-school DHTML with jQuery
  • Learn advanced UI techniques using the jQuery UI and Ext JS libraries
  • Build games with collision detection, object handling, and JavaScript scrolling techniques
  • Master HTML5 Canvas basics for drawings, fills, bitmaps, animation, and more
  • Create applications for the small screen with jQuery Mobile and PhoneGap
  • Use Google’s data visualization tools to create interactive dashboards

About the Author

Raffaele Cecco is a veteran software developer from the European video games industry. He served as Technical Director at London-based software studio King of the Jungle Ltd, where he created software for clients such as Hasbro and Virgin. He has also worked with web technologies and retail e-commerce systems.

Product details

  • Format: Kindle Edition
  • File Size: 2973 KB
  • Print Length: 282 pages
  • Simultaneous Device Usage: Unlimited
  • Publisher: O'Reilly Media; 1 edition (11 July 2011)
  • Sold by: Amazon Media EU S.à r.l.
  • Language: English
  • ASIN: B005EI85IC
  • Text-to-Speech: Enabled
  • X-Ray:
  • Average Customer Review: 3.5 out of 5 stars  See all reviews (2 customer reviews)
  • Amazon Bestsellers Rank: #170,394 Paid in Kindle Store (See Top 100 Paid in Kindle Store)
  •  Would you like to give feedback on images?

More About the Author

Discover books, learn about writers, and more.

What Other Items Do Customers Buy After Viewing This Item?

Customer Reviews

4 star
3 star
1 star
3.5 out of 5 stars
3.5 out of 5 stars
Most Helpful Customer Reviews
2 of 2 people found the following review helpful
2.0 out of 5 stars A bit of everything 11 Oct 2012
Hmmmm. This book was a bit of mess.

In places, it contains useful tips on using JavaScript and getting the best out of JQuery.

But some of the suggestions are a little bizarre, then quickly swap to a completely different topic. For example, one tip is that if you are currently using a "for" loop in your JavaScript, you could get slightly better performance by simply copying'n'pasting the commands that you're repeating. For example:


This is following with a quick look at a graph showing that, actually, this doesn't make much difference - but - hey! - bare it in mind, and then, the author's on to the next topic. And the next. And the next.

It does describe some useful principles, drawing with JQuery Mobile, a bit of HTML 5 Canvas, but overall, the book feels like a collection of slightly-related ideas, thrown together in a book, in the hope that some of them would be useful to a developer. You'll certainly pick up some useful ideas and programming methods, but will need to buy further books to get a real grasp on any of the topics. For example, SVG, which is one of the topics mentioned in the book's title, is summarized in little more than half of a page.
Was this review helpful to you?
2 of 2 people found the following review helpful
5.0 out of 5 stars How to make Javascipt fly! 25 April 2012
Format:Paperback|Verified Purchase
The best stuff in this book is how to make javascript do basic DOM manipulation at high speed. It nicely uses jQuery for all the convenience parts of the code that don't affect performance, but combines this with pure DOM attribute manipulation for all the animation parts.

It also includes introductions to the html5 canvas, jQuery-UI and other bits and pieces (html5 sockets, google charts etc). But these are just to give you a flavor and point you in the right direction.

Also liked the nice consistent javascript code style that manages to keep pretty complex code manageable and readable. Great to see how basic DOM manipulation can be used to do something as cool as space-invaders game!
Was this review helpful to you?
Most Helpful Customer Reviews on (beta) 4.3 out of 5 stars  10 reviews
12 of 12 people found the following review helpful
5.0 out of 5 stars Fun read for the intermediate JavaScript developer 22 Aug 2011
By Jeroen Oliemans - Published on
I like that the book begins with a DHTML example, this makes the reader really understand the fact that building the web is possible with many tools and that each tool has its cons and pros. The newest toys ( canvas, webgl etc ) aren't necessarily the best or the fastest to build a proper user experience. In the beginning of the book the reader get acquainted with; the browser landscape, sprites, framerates and best practices for working with the DOM which is a pain for performance. The code examples are clear and luckily without excessive comments, which makes the example easy to read for the more experienced developers which are books target group.

The next chapters concern page enhancing techniques like scrolling effects, ui-libraries and shows the best way to create user interface elements form scratch. Al these chapters are a fine introduction for the more performance hungry subjects of games.

The second part of the book dicusses games, staring with a DHTML version of space invaders. This game example incorporates a lot previeous learned techniques en demonstrates the power and performance of well used DHTML.
Of course the power of the newer toys are easy to see with the examples in the book for example the ( recursive ) tree example is a brilliant example of the performance of the canvas element. The bigger part of this book emphasizes on the canvas element. The book clearly demonstrates the posibillities and raw power of the element.
The following chapters cover mobile javascript graphics, phonegap and the Google Charts API.

At first the mix of topics seemed strange to me, however the chapter were really fun to read and I will definitilly use Google Charts in upcoming projects if needed. jQuery Mobile is equally interesting, though personally I would probably take a more responsive way in the future with embedding the touch events into a global library for websites.

Bottom line

this book definitely is a fun read supported by excellent examples for medior to advanced javascript developers who develop applications at his moment, the author makes use of contemporary, but proven libraries and API's . Which is a plus these days with swift innovation cycles.

Supercharged JavaScript Graphics

Disclaimer: I was provided access by O'Reilly Publishing to an electronic copy of this book for review purposes.
7 of 7 people found the following review helpful
5.0 out of 5 stars A great book that provides straightforward insight 20 Oct 2011
By Leslie Harback - Published on
These days there are a ton of Javascript books out there. So many that it becomes difficult to sift through them all to find the one that's appropriate to your knowledge level and style of learning. Fortunately, Raffaele Cecco's Supercharged Javascript Graphics fills that role admirably.

The book runs the gamut of Javascript graphical effects, all explained in a way that's somewhere between a super dry omnibus tome that attempts to describe the language and its entire use and a 'cookbook' style super-topical volume that maybe doesn't go into as much detail as you'd like. I was delighted to find relatively in-depth approaches to things that I've never attempted, but that I still found fascinating to read about: 3D Carousels, multiple methods of scrolling, tilemaps, and animations, to name just a few. Again, these are things that, on starting this book, I had not really thought of using, but now that's I've read about them, I'm sure I'll have to work them into some Web design work.

I could discuss any number of sections of the book in detail, but as a game programmer, it only seems appropriate that I would gravitate that section of the book; in Chapter 5, the author begins the process of recreating a variation on a personal favorite game of mine, Space Invaders, called Orbit Assault. This alone is worth the price of this book, for me at least. While the game code itself is not especially complex (nor is the game itself, for that matter) stepping the reader through the entire process of creating sprites, importing game assets, and setting up the engine and user input is nicely self-contained and useful. I've personally not attempted to make a Javascript game, but after reading this, I suspect I'll give it a go, after seeing the ease with which it can be accomplished.

I've wracked my brain to think of a shortcoming of the book. Certainly Cecco's writing style is pleasant and accessible, the examples given are straightforward, useful, and never esoteric, and it's even organized nicely, flowing from one related subject to the next. I guess if I had to identify one issue, it's that at 280 pages it's a little too short. In the future I'd love to see more from the author on the same subject.

The bottom line? As with a lot of O'Reilly books, you're getting a great value, a solidly constructed book, and a well written one at that. If you're a Javascript developer, a game programmer who has interest in browser-level game creation, or if you're just interested in learning about these thing, go get yourself a copy. I doubt you'll regret it.
3 of 4 people found the following review helpful
4.0 out of 5 stars A fun way to deepen your knowledge of JavaScript 7 Oct 2011
By Ricardo Bánffy - Published on
I loved reviewing this book. Not only I learned a lot of new, cool tricks, the methods, tools and techniques I learned, from JavaScript code optimization to proper usage of jQuery Mobile and PhoneGap, were well worth the time invested in reading the book. The text flows well and the examples are easy to follow, understand and apply to your projects. When there is more ground to be covered, the book will point you in the right direction to continue playing with the technologies introduced.

Fair warning: JavaScript can be very alien to people who come from other languages and you have to be reasonably proficient with JavaScript to make full use of this book.

Disclosure: This book was provided by O'Reilly Media as part of their blogger review program
4.0 out of 5 stars Great code with some caveats 4 April 2014
By Caribbeing - Published on
This book is really a mixed bag. I have to give it a big thumbs up for the creativity in the code, and fast, efficient JavaScript. The author's approach to creating classes (even including a form of subclassing) is clever and easier to read than the standard prototype approach. Also, there are some clever tricks like shifting a number to the right 0 bits to make it an integer. He's obviously a JavaScript expert.

That said, there are a number of issues I have with the book. First, although much of the code is clever, his variable names leave much to be desired, and are sometimes deceptive. He doesn't comment his code that much (which I think is a big mistake), so the combination of complex code, minimal comments and deceptive variable names can make things confusing.

Also, although this is a short book, it kind of goes all over the place and ends up not covering certain topics very well. Notably, the last chapter on PhoneGap is really skimpy, and missing a ton of detail. PhoneGap is a big topic, and all this book does is introduce it and talk about installing the development tools and SDKs. Not super helpful.
5.0 out of 5 stars Great Intermediate book 5 Mar 2014
By Kenneth - Published on
Format:Paperback|Verified Purchase
Great book for intermediates who have coding knowledge but may be just starting to experiment with the fun stuff. Enjoy.
Were these reviews helpful?   Let us know
Search Customer Reviews
Only search this product's reviews

Popular Highlights

 (What's this?)
jQuery.html() method can be considerably slower than using an element’s innerHTML object &quote;
Highlighted by 4 Kindle users
One benefit of using prototypal inheritance is efficient use of memory; an object’s prototype properties and methods are stored only &quote;
Highlighted by 3 Kindle users
When you specify a context, jQuery has less searching to do and will return its results in less time. &quote;
Highlighted by 3 Kindle users

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
First post:
Prompts for sign-in

Search Customer Discussions
Search all Amazon discussions

Look for similar items by category