Construction of typed arrays for attributes at every call to draw! should not be mandatory.
Attributes values must be typed arrays. Updated example accordingly.