Two controls swap the active function:
• The tab strip above the circle shows sin, cos, tan, csc, sec, cot in order
• The formula table below the circle is also clickable — tap any row to make it active
When you switch, the diagram redraws to show the correct leg or legs and the graph swaps to that function's curve. The URL updates with a ?fn= query parameter, so any function view can be shared as a direct link.