jdiwnab / OrbitSim

JavaScript Gravity simulator
13 stars 4 forks source link

Conservation of Energy #26

Open jTerracina opened 8 years ago

jTerracina commented 8 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 8 years ago

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