2D polygon-based collision detection and response | Hacker News Reader