Replay and Demo a simulation
mainReplaying a Simulation
To view a previously saved simulation, ensure the environment server is running and visit:
http://localhost:8000/replay/<simulation-name>/<starting-time-step>
Demoing a Simulation
Replays use identical character sprites. To see a proper demo with correct sprites, you must first compress the simulation using the compress_sim_storage.py script in the reverie directory.
Once compressed, visit:
http://localhost:8000/demo/<simulation-name>/<starting-time-step>/<simulation-speed>
Parameters:
<simulation-name>: The name used when saving the simulation.<starting-time-step>: The integer time-step to begin.<simulation-speed>: An integer from1(slowest) to5(fastest).