Introduction
We hope you will enjoy reading—and using—this book as much as we enjoyed writing it. Creating physics-based simulations is a lot of fun—there is great satisfaction in writing a few lines of code and then seeing them bring inanimate objects to life, behaving as they do in the real world! This is a striking demonstration that the natural world is governed by simple laws, and that we have at least an approximate grasp of those laws. The ability to replicate the real world in a computer program gives us great power as programmers. The aim of this book is to provide you with tools that will make you feel that awesome sense of power. Whether you want to build convincing animations, games that behave realistically, or accurate simulators, ...
Get Physics for JavaScript Games, Animation, and Simulations: with HTML5 Canvas 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.