code: def test(PARTICLE_COUNT):
      SUBDIVISION = 300
      FRAMERATE = 60
      count = PARTICLE_COUNT
      width, height = 600, 200
  
      masspoints = np.empty((2, count, 2), np.float64)
      initpos = np.zeros(count, np.float64)
      for i in range(1, count):
          initpos[i] = initpos[i - 1] + float(width) / count
      masspoints[:, :, 0] = initpos
      masspoints[:, :, 1] = height / 2
      f = 15
      plunk_pos = count // 2
      physics(masspoints, 1.0 / (SUBDIVISION * FRAMERATE), f, plunk_pos)
      return masspoints[0, count // 2]
  
imports: import numpy
  from math import ceil
label_desc: Use image node_id 2 for calling a global function with example usage: test(PARTICLE_COUNT) and returns: masspoints