Create your own font the hard way!

Posted on Mi 16 Oktober 2013 in Learning • Tagged with Captcha, Programming, Design, Glyphs, Learning, FontLeave a comment

Last major update on 23.10.2013

Preface

As promised previously in my last article, I will guide you through the creation process of a rudimentary font. I will use the glyphs of my font to draw captchas and incorportate the implementation in my brand new captcha plugin for wordpress. There are already quite a few captcha plugins out there, some of them are better than mine (RECAPTCHAfor instance translates books and thus solves two problems at the same time), others are worse, because the math equations can simply ...

Continue reading

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