def make_bezier(self, n):
    ' Bezier curves:\n            http://en.wikipedia.org/wiki/B%C3%A9zier_curve#Generalization\n        '
    try:
        return self.beziers[n]
    except KeyError:
        combinations = self.pascal_row((n - 1))
        result = []
        for t in self.tsequence:
            tpowers = ((t ** i) for i in range(n))
            upowers = (((1 - t) ** i) for i in range((n - 1), (- 1), (- 1)))
            coefs = [((c * a) * b) for (c, a, b) in zip(combinations, tpowers, upowers)]
            result.append(coefs)
        self.beziers[n] = result
        return result
Bezier curves:
http://en.wikipedia.org/wiki/B%C3%A9zier_curve#Generalization
def make_bezier(self, n):
    ' Bezier curves:\n            http://en.wikipedia.org/wiki/B%C3%A9zier_curve#Generalization\n        '
    try:
        return self.beziers[n]
    except KeyError:
        combinations = self.pascal_row((n - 1))
        result = []
        for t in self.tsequence:
            tpowers = ((t ** i) for i in range(n))
            upowers = (((1 - t) ** i) for i in range((n - 1), (- 1), (- 1)))
            coefs = [((c * a) * b) for (c, a, b) in zip(combinations, tpowers, upowers)]
            result.append(coefs)
        self.beziers[n] = result
        return result