Skip to content

Instantly share code, notes, and snippets.

@klarh
Last active July 11, 2019 11:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save klarh/e15c6a643070878c7f2411bce04060ab to your computer and use it in GitHub Desktop.
Save klarh/e15c6a643070878c7f2411bce04060ab to your computer and use it in GitHub Desktop.
Generate a movie of an image 'assembling' itself using molecular dynamics

An interactive version of this notebook can be launched using the button below.

Binder

povray
xvfb
libglu1-mesa
libgl1-mesa-dri
# specify dependencies for myblender.org operation (see also apt.txt
# for the full set)
channels:
- conda-forge
dependencies:
- cython
- fresnel
- freud
- hoomd
- pyglet
- pip
- pip:
- matplotlib
- pillow
- pythreejs
- requests
- git+https://github.com/vispy/vispy
- plato-draw
- gtar
- git+https://github.com/klarh/flowws
- git+https://github.com/klarh/hoomd_flowws
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
#!/bin/bash
xvfb-run -a -s "-screen 0 1600x1200x24 +extension GLX +render +iglx" "${@}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment