code: def apply_zoom(self):
      width, height = self.physical_size
      gloo.set_viewport(0, 0, width, height)
      self.projection = perspective(
          45.0, width / float(height), 1.0, 1000.0
      )
      self.program["u_projection"] = self.projection
  
file_path: vispy/examples/demo/gloo/atom.py
imports: import numpy
  from vispy import gloo
  from vispy import app
  from vispy.util.transforms import perspective, translate, rotate
label_desc: Use image node_id 7 for calling the Canvas obj's underlying member method code with example usage: obj.apply_zoom() without return types