Plotting Bézier curves directly and with De Casteljau's algorithm

Posted on So 06 Oktober 2013 in Learning • Tagged with Font, Captcha, Programming, Mathematics, Learning, BézierLeave a comment

Last major Update: 21.10.2013

Github repo that contains the presented code in this post.

Introduction

In this article I will present you a very simple and in no sense optimized algorithm written in Python 3 that plots quadratic and cubic Bézier curves. I'll implement several variants of Bézier rasterization algorithms. Let's call the first version the direct approach, since it computes the corresponding x and y coordinates directly by evaluation of the equation that describes such Bézier curvatures.

The other possibility is De Casteljau's algorithm ...

Continue reading