Collisions: better line-drawing functions & docs