Added saving functionality for the simulation
In your video you requested a saving and loading feature. Well here it is. It might not be perfect though as it saves a lot of data. This can be reduced by only saving essential variables that are needed to create the simulation and not all variables that are generated in runtime anyway. If you have any questions please let me know.
Cool man, It appears that you accidentally update all the line endings
Have you tested it? I merged it manually on my local copy and the buttons show, but it saves a 0bytes file
Yeah, it worked for me using processing version 3 (tested just now). Though it did create massive files 11gens was 67.9 MB. should look at adding compression. See attached file test_save.zip
Java has an zip api that works pretty much as writing to a normal file (ZipOutputStream and co.). Should be accessible by processing without problem.
On Fri, 14 Jul 2017, 09:42 Kyah Rindlisbacher, [email protected] wrote:
Yeah, it worked for me using processing version 3 (tested just now). Though it did create massive files 11gens was 67.9 MB. should look at adding compression. test_save.zip https://github.com/carykh/evolutionSteer/files/1147672/test_save.zip
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/carykh/evolutionSteer/pull/7#issuecomment-315293984, or mute the thread https://github.com/notifications/unsubscribe-auth/AGE80ZoSu58sS1tVO9bmX5YHiB8K-6uKks5sNxvLgaJpZM4OBk3_ .