ovilab / atomify

Atomify - a realtime LAMMPS visualizer
GNU General Public License v3.0
151 stars 21 forks source link

Idea: Color individual groups. #280

Closed filiphl closed 7 years ago

filiphl commented 7 years ago

It might be nice to have the option of coloring all atoms within a group with one color. For instance group1 green and group2 purple. A challange would be to decide what to do with atoms belonging to several groups.

andeplane commented 7 years ago

We could add this with Atomify commands

#/group 1 white
#/group 2 #ffccaa

Next to the Group title in the sidebar, there could be a coloring symbol which will turn on this effect. The same happens to regions of course.

Overlapping groups/regions will be solved by just letting the order matter. So the later defined group/region will override the value of an atom.

andeplane commented 7 years ago

GUI not finalized yet, but if you now hover the groupbox for regions or groups, it will loop through all regions / groups and color each atom corresponding to membership.