code: def __init__(self):
      app.Canvas.__init__(
          self, position=(300, 100), size=(800, 800), keys="interactive"
      )
  
      self.program = gloo.Program(vertex, fragment)
      self.program["a_position"] = [
          (-1.0, -1.0),
          (-1.0, +1.0),
          (+1.0, -1.0),
          (+1.0, +1.0),
      ]
  
      self.program["u_time"] = 0.0
      self.timer = app.Timer("auto", connect=self.on_timer, start=True)
  
      self.show()
  
imports: from vispy import app, gloo
label_desc: Use image node_id 1 to create a new Canvas object from inherited base classes: app with example: obj = Canvas()