O'Reilly logo

The Essential Guide to Physics for Flash Games, Animation, and Simulations by Adrian Dobre, Dev Ramtal

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

Create an accurate solar system model

This project will be somewhat different from most of the examples in the book. The aim here is to create an accurate computer model of the solar system that could be used as an e-learning tool for students. The key word here is accurate: the visual and animation effects are of lesser importance compared with the correctness of the physics and the accuracy of the simulation. Consequently we will depart from our usual Mover/Forcer framework and adopt a somewhat different coding approach from the outset that will reflect the simulation rather than the animation aspect of the project.

What we will create

Our aim is to create a scale model of the solar system that includes the Sun and the planets. In the supplied ...

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