rocinantealpha

reference / maths

cos

The cosine of an angle in degrees.

fill goldfor i from 0 to 35 [  a = i * 10  circle at (200 + (cos a) * 100) (150 + (sin a) * 100) radius 5]
what it draws: the whole window, 400 by 300
What the example of cos draws

How to write it

cos degrees

Gives a number.

Related