code: def __init__(self):
      app.Canvas.__init__(self, keys="interactive", size=(400, 400))
      self.program = gloo.Program()
      self.program.set_shaders(
          vert=VERT_SHADER, geom=GEOM_SHADER, frag=FRAG_SHADER
      )
      self.program["a_position"] = gloo.VertexBuffer(position)
      gloo.set_viewport(
          0, 0, self.physical_size[0], self.physical_size[1]
      )
      self.context.set_clear_color("white")
      self.context.set_state(
          "translucent", cull_face=False, depth_test=False
      )
      self.show()
  
file_path: vispy/examples/gloo/geometry_shader.py
imports: import numpy
  from vispy import gloo
  from vispy import app
label_desc: Use image node_id 1 to create a new Canvas object from inherited base classes: app with example: obj = Canvas()