code: def on_mouse_wheel(self, event):
      self.translate -= event.delta[1]
      self.translate = max(2, self.translate)
      self.view = translate((0, 0, -self.translate))
      self.program["u_view"] = self.view
      self.program["u_size"] = 5 / self.translate
      self.update()
  
file_path: vispy/examples/demo/gloo/galaxy.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 5 for calling the Canvas obj's underlying member method code with example usage: obj.on_mouse_wheel(event) without return types