Trigonometry Demo

Learn how to use the Math function to create circles with sin cos and tan.




Over 2000+ free Javascript
at JavaScriptBank.com Website
Sampled by JavaScriptBank.com
Trigonometry Demo
cos (x-value):
sin (y-value):
tan (y/x ratio):
Enter Degrees to be converted to radians:
one radian is 2pi/360 by definition

convert degrees to radians, you get x,y coordinates based on a circle
with a radius of one (pixel in this script).
cos = x (from -1 to +1 on the x axis) sin = y (from -1 to +1 on the y axis)
Cycle Control

Set Spacing

Set Speed

Reverse
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
x-axis
.
.
.
.
.
.
.
.
.
y-axis
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.