Bradley Worley about
A simple exercise with Bezier curves An old project that was fun enough to document


I was always interested in the computerized usage of curves (such as NURBS, Splines, etc.) so I decided to learn a little more about Bezier curves one evening in the school library in 2007, and I instantly decided to write a C program to generate renderable curves from control points.

My first program, bezier, generated its curves in static arrays to hold the points. This method was fast, but quite inflexible, and not as portable as I had hoped. My second attempt resulted in an implementation of the Bezier plotter that utilized linked lists to store the point data, called belize.


A Bezier function is generated as the following parametric equation, where $P_i$ represents the cartesian coordinate of the $i$-th control point. The number of points $N$ determines how many steps are made by the parameter, $t$.

Source code

I decided to release different packages for each platform. The codebase is essentially unchanged, if I recall correctly. It’s been a while. :P

Example curves