Example

Translate a Polygon

geometric.polygonTranslate(polygon, angle, distance) returns the vertices resulting from translating a polygon by an angle in degrees and a distance.

Adjust the angle and distance to see polygonTranslate move the polygon.

Code