code: def discrete(self, vertices, scale=1.0, count=None):
          
          discrete = discretize_bezier(vertices[self.points],
                                       count=count,
                                       scale=scale)
          return self._orient(discrete)
docs: Discretize the Bezier curve.
  
          Parameters
          -------------
          vertices : (n, 2) or (n, 3) float
            Points in space
          scale : float
            Scale of overall drawings (for precision)
          count : int
            Number of segments to return
  
          Returns
          -------------
          discrete : (m, 2) or (m, 3) float
            Curve as line segments