Simulation Projects

This final chapter consists of three simulation projects that will illustrate how the physics and methods you’ve learned in this book can be used for different types of applications. The examples are quite different from one another, reflecting differences not only in the underlying physics but also in the purposes for which they are built.

The three examples include the following:

  • Building a submarine: The aim here is to show how easily you can modify some of the existing code you’ve already come across to create a submarine that you could incorporate in a 2D game.
  • Building a flight simulator: In this example ...

Get Physics for JavaScript Games, Animation, and Simulations: with HTML5 Canvas now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.