code: def update(event):
      for line in lines:
          scale = [
              np.sin(np.pi * event.elapsed) + 2,
              np.cos(np.pi * event.elapsed) + 2,
          ]
          line.transform.scale = scale
  
imports: import sys
  import numpy
  from vispy import app, scene
label_desc: Use image node_id 1 for calling a global function with example usage: update(event) without return types