openworm / OpenWorm

Repository for the main Dockerfile with the OpenWorm software stack and project-wide issues
http://openworm.org
MIT License
2.57k stars 204 forks source link

Modifications to master_openworm.py #250

Closed slarson closed 6 years ago

slarson commented 6 years ago

initial version

The user will see stdout statements while system is running letting them know what is happening. As steps complete, they will get the graphs from the nervous system simulation and then they will get a movie + movement plots of the sibernetic movement.

slarson commented 6 years ago

For getting Sibernetic to work via docker, note the comments in this issue: https://github.com/openworm/sibernetic/issues/90

slarson commented 6 years ago

May want to reference the documentation on this old docker attempt: https://hub.docker.com/r/jamiemori/openworm_test/

slarson commented 6 years ago

Generating movie from output file looks like the next, complicated step. Looking at this and a way of adapting it to work here. xvfb-run and ffmpeg are almost certainly the right tools to use here. The path would be to first run Sibernetic headlessly for speed, then replay the position file via OpenGL into a virtual framebuffer via xvfb-run, and connect ffmpeg to the framebuffer to save the frames as .mp4. Devil is in the details :)

slarson commented 6 years ago

Incorporated into 0.7 release: https://github.com/openworm/OpenWorm/releases/tag/0.7