CHAPTER 9

image

Integrating Physics and Particles

After completing this chapter, you will be able to:

  • Understand how to approximate integrals with Euler Method and Symplectic Euler Integration
  • Approximate Newtonian motion formulation with Symplectic Euler Integration
  • Understand the needs for and implement collision detections of bounding rectangles and circles
  • Resolve interpenetrating collisions based on a numerically stable relaxation method
  • Understand, implement, and work with particle systems

Introduction

In the previous chapter, you experienced building the illumination component by simulating the propagation of light energy in a game scene. Recall ...

Get Build Your Own 2D Game Engine and Create Great Web Games: Using HTML5, JavaScript, and WebGL now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.