• Complain

Cecco - Supercharged JavaScript Graphics

Here you can read online Cecco - Supercharged JavaScript Graphics full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. City: Sebastopol, CA, year: 2011, publisher: OReilly Media, Inc., genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

No cover
  • Book:
    Supercharged JavaScript Graphics
  • Author:
  • Publisher:
    OReilly Media, Inc.
  • Genre:
  • Year:
    2011
  • City:
    Sebastopol, CA
  • Rating:
    3 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 60
    • 1
    • 2
    • 3
    • 4
    • 5

Supercharged JavaScript Graphics: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Supercharged JavaScript Graphics" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

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 HTML5s Canvas element to create rich web applications for computers and mobile devices. Learn fun and useful approaches to arcade games, DHTML effects, business dashboards, and other applications.

Cecco: author's other books


Who wrote Supercharged JavaScript Graphics? Find out the surname, the name of the author of the book and a list of all author's works by series.

Supercharged JavaScript Graphics — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Supercharged JavaScript Graphics" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
Supercharged JavaScript Graphics
Raffaele Cecco
Editor
Simon St. Laurent

Copyright 2011 Raffaele Cecco

OReilly books may be purchased for educational, business, or sales promotional use. Online editions are also available for most titles (.

Nutshell Handbook, the Nutshell Handbook logo, and the OReilly logo are registered trademarks of OReilly Media, Inc. The image of a maned sheep and related trade dress are trademarks of OReilly Media, Inc.

Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and OReilly Media, Inc. was aware of a trademark claim, the designations have been printed in caps or initial caps.

While every precaution has been taken in the preparation of this book, the publisher and author assume no responsibility for errors or omissions, or for damages resulting from the use of the information contained herein.

OReilly Media SPECIAL OFFER Upgrade this ebook with OReilly for more - photo 1

O'Reilly Media

SPECIAL OFFER: Upgrade this ebook with OReilly

for more information on this offer!

Please note that upgrade offers are not available from sample content.

Preface

Having been a video game developer for many years and being used to working with high-performance programming languages and hardware, I initially had modest expectations of graphics programming with JavaScript. What I actually found was an excellent and efficient programming language that is continually being leveraged with better browsers, performance enhancements, and exciting new facilities. Combined with features such as Canvas, JavaScript offers web developers a truly viable alternative to plug-ins such as Adobe Flash, and features such as WebGL ensure a very bright future for graphics programming using JavaScript and a browser.

This book is for those who have a good working knowledge of JavaScript and would like to experiment with graphics programming that goes beyond simple hover effects or relying purely on the animation facilities of libraries such as jQuery. Within these pages, I cover various graphics-related subjects, including:

  • Reusing and optimizing code, including inheritance techniques and performance tips

  • Taking advantage of the surprising graphics power of regular DOM manipulation (DHTML)

  • Using the Canvas element for additional graphics power

  • Creating video games

  • Using math for creative graphics and animation

  • Presenting your data in creative ways with the Google Visualizations API and Google Chart Tools

  • Using jQuery effectively and developing graphically oriented jQuery plug-ins

  • Creating graphically rich web applications suitable for mobile devices using jQuery Mobile

  • Using PhoneGap to create native Android applications from your web applications

This fast-paced book will give you a broad kick-start into various graphics techniques, hopefully whetting your appetite for further exploration of the subjects covered.

Experiment and have fun!

Audience and Assumptions

Readers of this book should have a good working knowledge of creating websites and web applicationsand in particular, the use of JavaScript.

I like jQuery because it speeds up development, and many of the code samples include this library by default. In general, any external libraries and associated files are included from a reliable content delivery network such as Googles, thus avoiding the need for you to copy files to your own web space.

Math has been kept to a minimum, although some of the examples use basic vectors and trigonometry.

Organization

The book is fast paced, with the first graphics programming examples appearing in .

In the subsequent chapters, I cover a variety of graphics-oriented topics, focusing primarily on subjects that can add impressive visual impact and interactivity to your web applications.

No book about interactive graphics would be complete without a discussion of video games. Well explore this subject in depth by developing a full video game application, as well as examining features that are useful for games projects, such as sprites and scrolling.

The topics covered in each chapter can be summarized as follows:

Covers JavaScript object-oriented programming techniques as well as code optimizations (including jQuery optimizations) that are useful where performance is important in graphics-based applications. Well also discuss the little-used JavaScript binary operators and how you can use them for optimization.

Shows how regular DOM manipulation (DHTML) can be used for fast-moving graphics. Well develop a sprite system (useful for games and other effects) and see how it works within the context of a jQuery plug-in.

Covers basic CSS scrolling techniques, including parallax effects. Well then move on to JavaScript-controlled scrolling and finally to a fast, tile-based parallax scrolling system. Ill introduce you to the powerful Tiled map editor, showing you how to create tile-based maps.

Includes coverage of the user interface libraries jQuery UI and Ext JS. Well explore the differing approaches of the two libraries and their respective suitabilities for various types of applications. In addition to using existing UI libraries, well build a 3D carousel from scratch.

Demonstrates how to build fun and playable games without resorting to external plug-ins such as Flash. Subjects covered include collision detection and object handling. Well also develop a full retro-style arcade game to illustrate in action the techniques weve discussed.

Examines the Canvas element in depth, with numerous examplesincluding how to develop a graphical chat application using Canvas and WebSockets. Canvas topics include an introduction to basic drawing, strokes, fills, gradients, recursive drawing, bitmaps, and animation.

Covers the myriad uses for 2D vectors in graphical applications and games, proving that a little bit of math can go a long way. Code examples include cannon and rocket simulations with realistic movement.

Explores Google Chart Tools, an expansive resource of data visualization tools that can put an exciting spin on most kinds of data. From bar charts to Google-O-Meter gauges, this chapter covers the implementation of both static and interactive charts and other graphical visualizations in your applications. It includes the crucial topic of formatting your data in the correct way for Chart Tools to use.

Describes jQuery Mobile, a framework built on top of jQuery to provide a unified user interface to mobile-targeted web applications. jQuery Mobile turns regular HTML pages into an interactive and animated mobile experience. This chapter covers the development of a graphical sliding puzzle game specifically geared to the jQuery UI and mobile devices.

Want to create a native mobile application using your usual web development skills? PhoneGap comes to the rescue. This chapter explains how to install and configure PhoneGap to create native Android applications. After we walk through installation and configuration, well convert the sliding puzzle game we developed in into a native app ready for deployment to mobile devices.

Conventions Used in This Book

The following typographical conventions are used in this book:

Italic

Indicates new terms, URLs, email addresses, filenames, and file extensions.

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Supercharged JavaScript Graphics»

Look at similar books to Supercharged JavaScript Graphics. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Supercharged JavaScript Graphics»

Discussion, reviews of the book Supercharged JavaScript Graphics and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.