Feb 8, 2025, 11:12 AM

Hi Everyone,

There is this example in the documentation that will read in velocity data from a LAMMPS dump file and color atoms based on a normalized velocity. It's great as it, but I wanted images with discrete colors. Also, I needed to add a scaling factor to bump up the coloring coordinate.

You can see an example here: https://youtu.be/B2bGnjffSR8

I've got plans to expand this to color by temperature or kinetic energy. You can get this version here:

https://github.com/mooreth/misc/blob/main/color_atoms_along_path_by_vel2.py