powered by
Rotates a point a given angle around a given center point.
rotateS(x2, y2, x0, y0, ang)
Returns a rotated point
x coordinate of the position being rotated
y coordinate of the position being rotated
x coordinate of the center of rotation
y coordinate of the center of rotation
rotatation angle in radians
JP Bida
### Rotate a point 90 degress ### rotateS(0,1,0,0,pi/2)
Run the code above in your browser using DataLab