Code center > Suggestions
recording simulation
(1/1)
Drognan:
Can program be programed to record, for example, every 10th cycle of simulation as photo, or something like that? Idea is to group those photos later in continous movie so we can see patterns, behavior, etc.. more easily. It's difficult to observe on 0,1 cycle/sec :(
Ammeh:
I actually really like the idea of this, though I'm not totally sure how it'd be implemented...
Saving individual pictures as frames would be bad (space wise) , but keeping a video file open while it's written to could result in huge memory usage and potentially corrupt video files (if DB crashes).
Numsgil:
If the program itself recorded bot position, color, size, ties, etc. every n frames, into a database or file or whatever, then you could use that information to have the program itself playback a simulation. Shouldn't amount to more than a KB per frame or so.
Alternatively you could save out PNGs of the simulation every frame. Since it's all vector graphics based, a PNG should be pretty tiny.
Shasta:
I've been meaning to do some internet population stats stuff, I'll look into this also.
Navigation
[0] Message Index
Go to full version