Some stuff with quadratic bezier curves