Physics for JavaScript Games, Animation, and Simulations

with HTML5 Canvas

Authors: Dobre, Adrian, Ramtal, Dev

Download source code
  • Physics for JavaScript Games, Animation, and Simulations teaches JavaScript programmers how to incorporate real physics into their HTML5 games, animations, and simulations.

Buy this book

eBook $39.99
price for USA
  • ISBN 978-1-4302-6338-8
  • Digitally watermarked, DRM-free
  • Included format: PDF, EPUB
  • ebooks can be used on all reading devices
  • Download immediately after purchase
Softcover $49.99
price for USA
  • ISBN 978-1-4302-6337-1
  • Free shipping for individuals worldwide
  • Usually dispatched within 3 to 5 business days.
About this book

Have you ever wanted to include believable physical behaviors in your games and projects to give them that extra edge? Physics for JavaScript Games, Animation, and Simulations teaches you how to incorporate real physics, such as gravity, friction, and buoyancy, into your HTML5 games, animations, and simulations. It also includes more advanced topics, such as particle systems, which are essential for creating effects such as sparks or smoke. The book also addresses the key issue of balancing accuracy and simplicity in your games and simulations, and the final chapters provide you with the information and the code to make the right choice for your project.

Physics for JavaScript Games, Animation, and Simulations assumes you have a basic knowledge of JavaScript and HTML5. However, no previous knowledge of physics is required—only some very basic math skills. The authors present everything from basic principles to advanced concepts in an approachable way, so you’ll be able to follow the logic and easily adapt the principles to your own applications.

The book is packed full of practical examples of how you can apply physics to your own games and applications. Spring behaviors can be used for anything from tweaking lowrider suspension to creating cloth simulation; flotation mechanics enable the simulation of submersibles or dirigibles; you can even create your own solar system with accurate orbits and gravity. It doesn’t matter if you’re modeling the Lorentz force in an electromagnetic field or you’re modeling the lift force in a flight simulator, Physics for JavaScript Games, Animation, and Simulations enables you to fill your games and applications with accurate and realistic effects.

About the authors

Adrian Dobre has more than 15 years of experimental and computational modeling experience in fluid dynamics. Adrian holds a PhD in Engineering Science from the University of Western Ontario, Canada. He currently lives in Bucharest, Romania, with his family.

Table of contents (16 chapters)

Buy this book

eBook $39.99
price for USA
  • ISBN 978-1-4302-6338-8
  • Digitally watermarked, DRM-free
  • Included format: PDF, EPUB
  • ebooks can be used on all reading devices
  • Download immediately after purchase
Softcover $49.99
price for USA
  • ISBN 978-1-4302-6337-1
  • Free shipping for individuals worldwide
  • Usually dispatched within 3 to 5 business days.

Services for this book

Loading...

Bibliographic Information

Bibliographic Information
Book Title
Physics for JavaScript Games, Animation, and Simulations
Book Subtitle
with HTML5 Canvas
Authors
Copyright
2014
Publisher
Apress
Copyright Holder
Adrian Dobre and Dev Ramtal
eBook ISBN
978-1-4302-6338-8
DOI
10.1007/978-1-4302-6338-8
Softcover ISBN
978-1-4302-6337-1
Edition Number
1
Number of Pages
XXIV, 508
Number of Illustrations and Tables
182 b/w illustrations
Topics