Triangle solver

Say you're me and you're in math class. Yes this is a Vi (Hart) reference, but I actually have a math class. And the math class is boring.

Today in math class we did a bunch of stuff with triangles. Oh gosh it's a triangle but you don't have all the angles and sides can you find them? Yeah that was boring so I spent the afternoon making a triangle solver:

Solve triangles and stuff

This was cool to program, definitely more interesting than having to do this logic and math for many triangles myself, but also it's very prone to floating-point-number weirdness that comes with Javascript and all the stuff with sines and cosines and Pi we gotta do (yes Javascript uses radians so Pi is needed)
It doesn't make sure the angles add up to 180° like they should because that just kept producing false negatives.

A triangle with corners labeled with the uppercase letters A, B, C, and their opposing edges labeled with the lowercase letters a, b, c





Sorry I haven't been posting for a while, not sure why. I want to do cool stuff and share cool stuff here. Maybe the new semester is giving me more work to do and less time to do cool stuff. School is weird.