code: def special(k, x, y):
      global ViewRX, ViewRY
  
      Step = 1.0
      if k == glut.GLUT_KEY_UP:
          ViewRX += Step
      elif k == glut.GLUT_KEY_DOWN:
          ViewRX -= Step
      elif k == glut.GLUT_KEY_LEFT:
          ViewRY += Step
      elif k == glut.GLUT_KEY_RIGHT:
          ViewRY -= Step
      else:
          return
      gl.glRotatef(ViewRX, 1.0, 0.0, 0.0)
      gl.glRotatef(ViewRY, 0.0, 1.0, 0.0)
      glut.glutPostRedisplay()
  
file_path: pyopencl/examples/n-body.py
imports: import getopt
  import sys
  import time
  import numpy
  import pyopencl
  import pyopencl.array
  from numpy.random import randint
label_desc: Use image node_id 6 for calling a global function with example usage: special(k, x, y) without return types