The documentation states that the dealToColorWithOffset on the deck object can take as a first parameter a vector objcet. However, when calling this function, e.g. such as
deck.dealToColorWithOffset(Vector(x, y, z), false color)
an error is raised, stating “Index out of range”
If we change the code to instead not use the Vector constructor, as follows:
deck.dealToColorWithOffset(x, y, z}, false color)
then the issue resolves itself.