In the attached example the transport is defined in the vizconfig file but the transport's update function is moved to the main script. In the main script, there is a class which stores the button states. The update function moves the transport based on these button states.
|