Open chrisorban opened 8 years ago
We now have a way to plot quantities versus time thanks to Chris Britt (see spring_graph). Unfortunately we can only plot one quantity at a time. Wait on the energy conservation lab until we can plot the KE, PE and KE + PE separately on the graph.
There's an energy conservation demo now (energy_demo). It's not perfect but it's getting there.
I just improved then energy conservation demo. It works great in the processing IDE, but for some reason the plot doesn't look right in processing.js. Probably related to all the conversions between floats, doubles and integers.
And now the energy conservation demo works (energy_demo). Now we need to write a tutorial around it. Someone should also figure out why energy is not perfectly conserved before we deploy it.
Someone (probably me or Mandeep Gill) should modify the bellocose birds exercise to show that energy (KE + PE) is almost conserved. Then modify the code to make sure it is perfectly conserved.