Image bm256.GIF Angle, Direction
Calculations
 
Image bm326.GIF right (0 pi, that is 0 degrees)
Image bm327.GIF right up (1/4 pi, that is 45 degrees)
Image bm328.GIF up (1/2 pi, that is 90 degrees)
Image bm329.GIF left up (3/4 pi, that is 135 degrees)
Image bm330.GIF left (1 pi, that is 180 degrees)
Image bm331.GIF left down (1 1/4 pi, that is 225 degrees)
Image bm332.GIF down (1 1/2 pi, that is 270 degrees)
Image bm333.GIF right down (1 3/4 pi, that is 315 degrees)
 
The angle elements are numeric constants representing the angle (direction) expressed in radian (the perigon, 360 degrees is 2*pi, i.e. approximately 6.28). The angle elements can be used e.g. as a goniometric function parameter or a parameter for setting the sprite direction (e.g. of Peter or Lucy).

Full Html Context Help of The Peter - Gemtree Software & Children Programming