pele.systems.AtomicCluster.draw#
- AtomicCluster.draw(coords, index)[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