code: def __init__(self):
      app.Canvas.__init__(
          self,
          size=(512, 512),
          title="Textured quad",
          keys="interactive",
      )
  
      # Build program & data
      self.program = Program(vertex, fragment, count=4)
      self.program["position"] = [
          (-1, -1),
          (-1, +1),
          (+1, -1),
          (+1, +1),
      ]
      self.program["texcoord"] = [(0, 0), (1, 0), (0, 1), (1, 1)]
      self.program["texture"] = checkerboard()
  
      gloo.set_viewport(0, 0, *self.physical_size)
  
      self.show()
  
file_path: vispy/examples/gloo/textured_quad.py
imports: import numpy
  from vispy import gloo, app
  from vispy.gloo import Program
label_desc: Use image node_id 1 to create a new Canvas object from inherited base classes: app with example: obj = Canvas()