code: def quadratic(p1, p2, p3):
      x1, y1 = p1
      x2, y2 = p2
      x3, y3 = p3
      points = []
      quadratic_recursive(points, x1, y1, x2, y2, x3, y3)
  
      dx, dy = points[0][0] - x1, points[0][1] - y1
      if (dx * dx + dy * dy) > epsilon:
          points.insert(0, (x1, y1))
  
      dx, dy = points[-1][0] - x3, points[-1][1] - y3
      if (dx * dx + dy * dy) > epsilon:
          points.append((x3, y3))
  
      return points
  
file_path: vispy/vispy/util/svg/geometry.py
imports: import math
label_desc: Use image node_id 4 for calling a global function with example usage: quadratic(p1, p2, p3) and returns: points