a math library using geometry to help in creation of 2D html applications