This is a tutorial that covers basic 3d modeling and rendering. It demonstrates how to write a beveling algorithm, which takes a 2d polygon and extrudes it into a 3d shape, and includes the basics of lighting 3d objects.
If people ever asked me questions, they would probably never ask me, "hey, if I've got a point on a line, how do I find a new point that's d distance away?"