Top posts

Every blog post that took off on Hacker News, ranked by the votes of its best submission. 80,900 posts.

Any topic
Any year
16698

Sin and Cos: The Programmer's Pals

In this article I shall discuss several game programming techniques, all revolving around a central theme: the sine and cosine functions. This article will explain sine, cosine, vectors, atan2, and some useful special effects such as how to make homing missiles and how bitmap rotation works. I shall start with the…