Category Archives: Geometry

Two Mathematical Bugs

A few days ago, I discovered I had at least one, maybe two mathematical bugs. The first bug is in the line clipping algorithm. Here’s a quick reminder of what’s going on there: There are six points of interest: the … Continue reading

Posted in Algorithms, Geometry, Math, Programming, Python | Tagged , , , , | 2 Comments

Elegant Line Clipping Algorithm

I actually wrote about that a long time ago, in the wiki that once was algorithm.co.il. Since the wiki is long gone, and I figured this is a very elegant algorithm, I decided I should write about it. First, some … Continue reading

Posted in Algorithms, Geometry, Graphics, Math, Programming, Python | Tagged , , , | Leave a comment