Name

sin()

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