Drag the dots around to Manipulate the triangle, just be careful on them since if you drag too fast it stops moving.
Thanks to ChatGPT for the trig math.