Book description
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
- Title
- Dedication
- Contents at a Glance
- Contents
- About the Author
- About the Technical Reviewer
- About the Cover Image Artist
- Acknowledgments
- Introduction
- Part I: JavaScript Animation Basics
- Part II: Basic Motion
-
Part III: Advanced Motion
- Chapter 8: Easing and Springing
- Chapter 9: Collision Detection
- Chapter 10: Coordinate Rotation and Bouncing Off Angles
- Chapter 11: Billiard Ball Physics
- Chapter 12: Particle Attraction and Gravity
- Chapter 13: Forward Kinematics: Making Things Walk
- Chapter 14: Inverse Kinematics: Dragging and Reaching
- Part IV: 3D Animation
- Part V: Additional Techniques
- Appendix: Useful Formulas
- Index
Product information
- Title: Foundation HTML5 Animation with JavaScript
- Author(s):
- Release date: November 2011
- Publisher(s): Apress
- ISBN: 9781430236658
You might also like
book
Foundation HTML5 Canvas
Foundation HTML5 Canvas: For Games and Entertainment teaches you how to make exciting interactive games and …
book
Web Animation using JavaScript: Develop and Design
We’ve come a long way since the days of flashing banner ads and scrolling news tickers. …
book
Pro CSS3 Animation
Pro CSS3 Animation will teach you how to use fresh new CSS3 syntax to fully utilize …
book
HTML, XHTML, and CSS: Your visual blueprint™ for designing effective Web pages
If you’ve ever been curious about any of the multitude of internet acronyms, the web technologies …