SINE & COSINE WAVES on CANVAS

feat. the Unit Circle
with animation

Angle: degrees || radians
The sine value is: || (px)*
The cosine value is: || (px)*

× π

rad = radians
degrees to radians: deg * π/180 = rad
Degrees are cyclic with a period of 360.
Radians are cyclic with a period of 2π, or about 6.28319.
*Technical note: Degrees are rounded to the nearest degree, so results will inaccurate at greater levels of precision.
*Technical note 2: The px (pixel) value refers to the actual pixel y value in the above drawing, ranging from 0 - 300, where 0 is the top and 300 is the bottom. This is not the actual sine value; use the bolded value!


©POWER! Inc., Abel Budiono, 2020-2021, 2024.