jdiwnab / OrbitSim

JavaScript Gravity simulator
13 stars 4 forks source link

Conservation of Energy #26

Open jTerracina opened 9 years ago

jTerracina commented 9 years ago

Keeping track of total Mechanical Energy is a good way to gauge the accuracy of the sim. I think I'll do this in my fork if you don't mind.

jdiwnab commented 9 years ago

Go for it. If it doesn't cost much computationally, or is something toggleable, I'll pull it in.