Prototype web pages for comparing simulation trajectories.
https://simularium.github.io/trajectory-compare/
Hopefully someday this workflow will be automated, but for now the manual steps:
- Take full screen screenshots of the trajectories to be compared, all in the same sized window, and with the desired time and other visualization settings.
- In Photoshop, choose
File > Scripts > Load files into stack..., browse to select all the screenshots (Don't enable any alignment or smart object options) and chooseOK. - Crop the files as desired.
- Name the layers by the parameter values for each.
- Choose
File > Export > Layers to files..., select a sub directory in theimg/directory as the destination, set the prefix to the experiment name, select JPEG output type and chooseRun. - Run the Python script to fix the names generated by Photoshop. In terminal:
cd [path/to/this/repo]
python rename_imgs.py img/[path/to/sub/dir]- Update
data.jswith the new dataset.