Foundation HTML5 Animation with JavaScript

Foundation HTML5 Animation with JavaScript

by Billy Lamberta, Keith Peters
     
 

View All Available Formats & Editions

Foundation HTML5 Animation with JavaScript covers everything that you need to know to create dynamic scripted animation using the HTML5 canvas. It provides information on all the relevant math you'll need, before moving on to physics concepts like acceleration, velocity, easing, springs, collision detection, conservation of momentum, 3D, and forward and

See more details below

Overview

Foundation HTML5 Animation with JavaScript covers everything that you need to know to create dynamic scripted animation using the HTML5 canvas. It provides information on all the relevant math you'll need, before moving on to physics concepts like acceleration, velocity, easing, springs, collision detection, conservation of momentum, 3D, and forward and inverse kinematics. Foundation HTML5 Animation with JavaScript is a fantastic resource for all web developers working in HTML5 or switching over from Flash to create standards-compliant games, applications, and animations that will work across all modern browsers and most mobile devices, including iPhones, iPads, and Android devices.

You will learn how to utilize the amazing animation and physics-based code originally created by author Keith Peters in his hugely successful Foundation ActionScript Animation in all of your HTML5 applications. In no time at all, you'll understand the concepts behind scripted animation and also have the ability to create all manner of exciting animations and games.

What you’ll learn

  • All the JavaScript and HTML5 code (including math and trigonometry functions) you'll need to start animating with code
  • Basic motion principles like velocity, acceleration, friction, easing, and bouncing
  • How to handle user interactions via the keyboard, mouse, and touchscreen
  • Advanced motion techniques like springs, coordinate rotation, conservation of momentum, and forward and inverse kinematics
  • All the basic 3D concepts you'll need for 3D in HTML5 (without WebGL)—from simple perspective to full 3D solids, complete with backface culling and dynamic lighting

Who this book is for

This book is a fantastic resource for all web developers working in HTML5 or switching over from Flash to create standards-compliant games, applications, and animations that will work across all modern browsers and most mobile devices, including iPhones, iPads, and Android devices.

Table of Contents

  1. Basic Animation Concepts
  2. Basics of JavaScript for Animation
  3. HTML5 and Canvas graphics
  4. Trigonometry for Animation
  5. Velocity and Acceleration
  6. Boundaries and Friction
  7. User Interaction: Moving Objects Around
  8. Easing and Springing
  9. Collision Detection
  10. Coordination Rotation and Bouncing Off Angles
  11. Billiard Ball Physics
  12. Particle Attraction and Gravity
  13. Forward Kinematics: Making Things Walk
  14. Inverse Kinematics: Dragging and Reaching
  15. 3D Basics
  16. 3D Lines and Fills
  17. Backface Culling and 3D Lighting
  18. Matrix Math
  19. Tips and Tricks

Read More

Product Details

ISBN-13:
9781430236658
Publisher:
Apress
Publication date:
11/30/2011
Edition description:
2011
Pages:
504
Sales rank:
1,399,142
Product dimensions:
7.50(w) x 9.20(h) x 1.10(d)

Meet the Author

Billy Lamberta is a programmer and multimedia experimenter. After working as a television news photojournalist in his hometown of Richmond, Virginia, he turned his attention to web development and interactive programming using Flash and JavaScript. Billy is interested in the convergence of visual mediums for the purpose of storytelling, and the promise of the open web for distribution. He lives in Buffalo, New York where he watches a lot of hockey.

Keith Peters lives in the vicinity of Boston with his wife, Kazumi, and their daughter, Kristine. He has been working with Flash since 1999, and has co-authored many books for friends of ED, including Flash MX Studio, Flash MX Most Wanted, and the ground-breaking Flash Math Creativity. In 2001, he started the experimental Flash site, BIT-101 (BIT-101.com), which strives for a new, cutting edge, open-source experiment each day. The site won an award at the Flashforward 2003 Flash Film Festival in the Experimental category. In addition to the experiments on the site, there are several highly regarded Flash tutorials which have been translated into many languages and are now posted on web sites throughout the world. Keith is currently working full time doing freelance and contract Flash development and various writing projects.

Read More

Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >