Degrees vs Radians
You can include this MicroSim in your course by pasting the following HTML directly into your web page.
<iframe src="https://dmccreary.github.io/signal-processing/sims/SIM_NAME/main.html" height="480px" scrolling="no"
style="overflow: hidden;"></iframe>
Edit the MicroSim Run the MicroSim
Sample Prompt
This prompt was given to GPT-5.
Prompt
Please generate a new p5.js MicroSim that will be used in our high-school geometry textbook. This MicroSim illustrates the different ways we measure angles comparing both degrees and radians. There is a single slider that changes the angle of a line in a circle at the center of the drawing area. As the slider moves, the line rotates around the circle. The angle starts at 0 degrees and ends at 360 degrees. Place alternating blue and orange segments arcs along the circumference are of distance 1 radian. The diagram illustrates the fact that there are 2 pi radians in a circle. The title is "Comparing Degrees and Radians".