Click anywhere to make a triangle! The angles will be shown. ------------------------------------------------------------------------ This is an educational project, showing how angles look like in a triangle, and I just wanted to use the sinus cosinus or tangent functions... Welp The calculations, were done with the help of the SOH CAH TOA formulas. Using this, I used the tangent function. The calculations look like this: aTan (Difference Y / Difference X) This however is only possible if the triangle has a right angle (90 degrees), otherwise the formulas won't work.
28/03/2020 All code by me Stay safe during the pandemic!