code: def on_key(*args):
      if args[0] == "\033" or args[0] == "q":
          sys.exit()
  
file_path: pyopencl/examples/gl_particle_animation.py
imports: import pyopencl
  from pyopencl.tools import get_gl_sharing_context_properties
  from OpenGL.GL import *
  from OpenGL.GLU import *
  from OpenGL.GLUT import *
  from OpenGL.arrays import vbo
  import numpy
  import sys
label_desc: Use image node_id 4 for calling a global function with example usage: on_key() without return types