Just some code to help me refresh my math skills around triangles/circles. Uses js and canvas to draw a right triangle within a circle and plot the hypotenuse intersection for an inner circle. See it in action https://sparkalow.github.io/triangles/