pele.systems.LJCluster.draw#

LJCluster.draw(coordslinear, index, subtract_com=True)[source]#

tell the gui how to represent your system using openGL objects

Parameters:
coordsarray
indexint

we can have more than one molecule on the screen at one time. index tells which one to draw. They are viewed at the same time, so they should be visually distinct, e.g. different colors. accepted values are 1 or 2