{"version":"1.0","type":"rich","title":"unit circle","description":"A particle traces the unit circle while projecting its x- and y-coordinates onto separate cosine and sine waveforms, revealing the trigonometric relationship between circular motion and sinusoidal waves. Using D3.js, the visualization samples the sine and cosine functions to generate the circle path and dynamically updates the wave lines as the particle moves. The code employs `d3.svg.line` for path generation and a linear scale to map sample indices to pixel positions, with a time-driven animation loop updating the particle and waveforms.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-5216371?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}