Skip to Main Content
Physics for JavaScript Games, Animation, and Simulations: with HTML5 Canvas
book

Physics for JavaScript Games, Animation, and Simulations: with HTML5 Canvas

by Dev Ramtal, Adrian Dobre
June 2014
Intermediate to advanced content levelIntermediate to advanced
508 pages
15h 11m
English
Apress
Content preview from Physics for JavaScript Games, Animation, and Simulations: with HTML5 Canvas

CHAPTER 15

image

Doing Physics in 3D

So far in this book you have built simulations in two dimensions. But in the real world there are three dimensions: what does it take to extend the hard work you’ve already done into the 3D realm? In this penultimate chapter we introduce you to the exciting world of 3D physics-based animation.

Topics covered in this chapter include the following:

  • 3D physics and math: This section discusses how to extend our existing code framework to create 3D simulations. In the process we’ll explore some additional math concepts that will help to handle both translational and rotational motion in 3D, which will be used in the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Building a 2D Game Physics Engine: Using HTML5 and JavaScript

Building a 2D Game Physics Engine: Using HTML5 and JavaScript

Michael Tanaya, Huaming Chen, Jebediah Pavleas, Kelvin Sung

Publisher Resources

ISBN: 9781430263371Purchase book