code: def on_timer(self, event):
      self.theta += 0.5
      self.phi += 0.5
      self.program["u_model"] = np.dot(
          rotate(self.theta, (0, 0, 1)), rotate(self.phi, (0, 1, 0))
      )
      self.update()
  
file_path: vispy/examples/gloo/outlined_cube.py
imports: import numpy
  from vispy import gloo, app
  from vispy.gloo import Program, VertexBuffer, IndexBuffer
  from vispy.util.transforms import perspective, translate, rotate
  from vispy.geometry import create_cube
label_desc: Use image node_id 5 for calling the Canvas obj's underlying member method code with example usage: obj.on_timer(event) without return types