Example
Circles, Angles, and Right Triangles
geometric.pointTranslate(point, angle, distance) returns a translated point at a given angle and distance. Here, it places a point on a circle so the horizontal and vertical legs show cosine, sine, and tangent ratios.
Move the angle slider to see how the right triangle changes around the circle.
cos = xr ≈
0.82sin = yr ≈
0.57tan = yx ≈
0.70Code