This uses a cubic formula for rendering bezier curves. Enjoy. (technically t shouldn't go more than I made it go, but that's just to look good on low scales.