Math behind rotation in MS Paint (2011) | Hacker News Reader