A javascript helper to build graphics of geometric calculations.