tightbinder.crystal.CrystalView#
- class CrystalView(crystal)[source]#
Bases:
objectThe CrystalView class’ aim is to wrap all the logic relative to the visualization of the crystal using the vpython library. This is, rendering the solid appropriately, and also rendering a minimal user interface to interact with the visualization. Note that typehints for VPython components have been deleted to avoid importing the library beforehand.
Methods
Method to render the 3d visualization of the crystal.