Name

cos()

Examples
a = 0.0
inc = TWO_PI/25.0
for i in range(25): 
    line(i*4, 50, i*4, 50+cos(a)*40.0)
    a = a + inc
Description
Syntax
cos(angle)
Parameters
angle
Related sin()
tan()
radians()
Updated on Wed Jan 18 17:32:20 2017.
Creative Commons License