davidson16807 / tectonics.js

3d plate tectonics in your web browser
http://davidson16807.github.io/tectonics.js/
Creative Commons Attribution 4.0 International
204 stars 28 forks source link

Save/Load scope change #20

Closed skepickle closed 6 years ago

skepickle commented 6 years ago

Changed scope of save/load from world to model. This allows the model's age to be saved as well. Changed JsonSerizalier/JsonDeserializer so that they don't access any global variables (seed, view.grid).

skepickle commented 6 years ago

Changed scope of save/load from world to model. This allows the model's age to be saved as well. Changed JsonSerizalier/JsonDeserializer so that they don't access any global variables (seed, view.grid). Also added a periodic autosave function, and made the view get rendered upon load, even if simulator is paused.