Orchid XP v8 <voi### [at] devnull> wrote:
> I can still remember everybody laughing when he said that our assignment
> was to write a program to draw a straight line. But *you* try doing that
> with only integer arithmetic. It's surprisingly nontrivial.
Drawing a line with integer arithmetic is quite easy. Drawing it
accurately is slightly more involved. Drawing it *fast* is non-trivial.
And that's assuming the line has a width of 1 pixel and the drawing is
done without antialiasing.
--
- Warp
Post a reply to this message
|