JavaScript Boom calculator

This is a JavaScript reimplementation of TRIGCALC.EXE, the command-line utility included with the Boom utilities for calculating generalized linedef types and sector types.

There are actually several different calculators for the different types: