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 8

image

Restoring Forces: Springs and Oscillations

Springs are among the most useful tools you’ll come across, especially for creating interesting physics effects. A great many systems can be modeled using springs and spring-like motion. Therefore, learning the basics of spring motion is time well spent. But beware: springs are strangely addictive!

Topics covered in this chapter include the following:

  • Free oscillations: An object will oscillate under the action of a spring force, also known as a restoring force.
  • Damped oscillations: Damping dissipates the energy of oscillations so that they die out with time.
  • Forced oscillations: Oscillations ...
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