Bezier curves:
        http://en.wikipedia.org/wiki/B%C3%A9zier_curve#Generalization

def make_bezier(n):
    """ Bezier curves:
        http://en.wikipedia.org/wiki/B%C3%A9zier_curve#Generalization
    """
    try:
        return beziers[n]
    except KeyError:
        combinations = pascal_row(n - 1)
        result = []
        for t in 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)
        beziers[n] = result
        return result