code: def on_timer(event):
      text.text = "Tick #%s" % event.iteration
      if event.iteration > 1 and event.iteration % 10 == 0:
          console.clear()
      console.write("Elapsed:\n  %s" % event.elapsed)
      canvas.update()
  
imports: import sys
  from vispy import scene, app
  from vispy.scene.widgets import Console
  from vispy.scene.visuals import Text
label_desc: Use image node_id 1 for calling a global function with example usage: on_timer(event) without return types