Ok, I know that yesterday I published an article about Bezier Curve and also I put a link to a page with more infos about it and I modified an algorithm from Internet, an algorithm who uses Bernstein form.
That was ok but I wanted to write my own code for generating a Bezier curve and I choose De Casteljaus algorithm, more about it HERE.
So, I started to read some courses and some articles about De Casteljaus algorithm, I must be honest, I read only a course and an article on Internet. After that, I opened my favourite text editor, GEDIT, and I started coding in my favourite programming language: PYTHON...
And these is the source code:


Leave a Reply