code: def __init__(self):
      app.Canvas.__init__(self, keys="interactive")
      self.program = gloo.Program(VERT_SHADER, FRAG_SHADER)
      self.program.bind(gloo.VertexBuffer(data))
  
      self.program["u_pan"] = (0.0, 0.0)
      self.program["u_scale"] = (1.0, 1.0)
  
      gloo.set_viewport(0, 0, *self.physical_size)
  
      gloo.set_state(
          clear_color=(1, 1, 1, 1),
          blend=True,
          blend_func=("src_alpha", "one_minus_src_alpha"),
      )
  
      self.show()
  
file_path: vispy/examples/demo/gloo/signals.py
imports: from vispy import gloo
  from vispy import app
  import numpy
  import math
label_desc: Use image node_id 1 to create a new Canvas object from inherited base classes: app with example: obj = Canvas()