States#
Many methods of the Artist class accept a state
parameter.
state
#
The state
parameter can be one of several types:
dict
maps node tags to node displacementscallable
maps node tags to node displacements. A common example is to pass thenodeDisp
method
position
/rotation
#
Alternatively, distinct position
and rotation
parameters may be passed.
rotation
should be a callable like nodeRotation