my first Bézier curve in C. i made an algorithm that can handle infinite number of points the algorithm is written in C.