Physics for JavaScript Games, Animation, and Simulations
with HTML5 Canvas
Seiten
2014
|
1st ed.
Apress (Verlag)
978-1-4302-6337-1 (ISBN)
Apress (Verlag)
978-1-4302-6337-1 (ISBN)
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.
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.
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.
* Introduction to Physics Programming * JavaScript and HTML5 Canvas * Some Math Background * Basic Physics Concepts * The Laws Governing Motion * Gravity, Orbits, and Rockets * Contact and Fluid Forces * Restoring Forces: Springs and Oscillations * Centripetal Forces: Rotational Motion * Long-Range Forces * Collisions * Particle Systems * Extended Objects * Numerical Integration Schemes, Accuracy, and Scaling * Doing Physics in 3D * Simulation Projects
Erscheint lt. Verlag | 29.5.2014 |
---|---|
Zusatzinfo | 182 Illustrations, black and white; XXIV, 508 p. 182 illus. |
Verlagsort | Berlin |
Sprache | englisch |
Maße | 178 x 254 mm |
Themenwelt | Mathematik / Informatik ► Informatik ► Betriebssysteme / Server |
Mathematik / Informatik ► Informatik ► Programmiersprachen / -werkzeuge | |
Informatik ► Software Entwicklung ► Spieleprogrammierung | |
Mathematik / Informatik ► Informatik ► Web / Internet | |
Schlagworte | JavaScript; Spezielle Anwendungsbereiche |
ISBN-10 | 1-4302-6337-7 / 1430263377 |
ISBN-13 | 978-1-4302-6337-1 / 9781430263371 |
Zustand | Neuware |
Haben Sie eine Frage zum Produkt? |
Mehr entdecken
aus dem Bereich
aus dem Bereich
Buch | Softcover (2021)
BILDNER Verlag
29,90 €
Buch | Softcover (2023)
MITP (Verlag)
24,99 €