Design & colour

2D point transformation

Scale, rotate and translate a point set with a comparison plot and CSV export.

2D point transformation
Esc to restore

Your inputs

Use exact X,Y headings, without repeating the first point unless closing a polygon.

Up to 25 MB per file, 50,000 data rows, 200 columns and 2 million data cells. Fully blank rows and columns are ignored before row, column and cell limits are checked. Individual tools may have smaller result or chart limits.

Results update as you type. Larger files run when you press Update result.

Your result

LOCAL & PRIVATE

Your result will appear here.

Your inputs stay in this browser. Nothing is uploaded or saved.

A clear answer. Here’s how.

For 2–1,000 points, subtracts the pivot, applies independent X/Y scales, rotates counter-clockwise, restores the pivot, then adds translation. Negative scales reflect axes and zero scales collapse a dimension. Export includes original and transformed coordinates. This is Cartesian geometry; screen Y-down coordinate systems reverse the visual rotation convention. Coordinates and translation use the same unit.

See a worked example

Worked example

A fixed demonstration, separate from the values you enter above.

Point CSV
X,Y
0,0
4,0
4,3
0,3
X scale
1
Y scale
1
Counter-clockwise rotation (degrees)
30
Pivot X
0
Pivot Y
0
Translation X
1
Translation Y
2

Example result

Example result
Original XOriginal YTransformed XTransformed Y
0012
404.464101615144
432.964101615146.59807621135
03-0.54.59807621135

Subtract pivot, scale X/Y, rotate counter-clockwise, restore pivot, then translate. Zero scale is allowed.