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 6

image

Gravity, Orbits, and Rockets

Starting in this chapter, you’ll explore many different forces and the types of motion they produce. Here we focus exclusively on the force of gravity. You’ll learn how gravity makes things move both on Earth and in space. And before you know it, you’ll be able to code up orbits and rockets!

Topics covered in this chapter include the following:

  • Gravity: Gravity, or gravitation, is the force that the Earth exerts on all objects near it. But there is a lot more to gravity than we’ve discussed so far.
  • Orbits: An example of the effect of gravity is to keep planets in their orbits around the Sun. Learn how to ...
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