Added saving functionality for the simulation#7
Open
stijn-ringeling wants to merge 1 commit intocarykh:masterfrom
Open
Added saving functionality for the simulation#7stijn-ringeling wants to merge 1 commit intocarykh:masterfrom
stijn-ringeling wants to merge 1 commit intocarykh:masterfrom
Conversation
|
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. |
|
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, ***@***.***> 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
<#7 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGE80ZoSu58sS1tVO9bmX5YHiB8K-6uKks5sNxvLgaJpZM4OBk3_>
.
|
ghost
approved these changes
Sep 4, 2017
ghost
suggested changes
Sep 4, 2017
ghost
left a comment
There was a problem hiding this comment.
Error on line 900. "createGraphics() with P3D or OPENGL requires size() to use P2D or P3D"
ghost
approved these changes
Nov 6, 2017
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.