O'Reilly logo

Build Your Own 2D Game Engine and Create Great Web Games: Using HTML5, JavaScript, and WebGL by Jason Pace, Fernando Arnez, Jebediah Pavleas, Kelvin Sung

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required