CPKit
v1.6.1

Coordinate Transformation

GeometryEasy

Translate, rotate, and reflect coordinates on linear matrices.

Alt+Shift+C

Configuration Panel

Coordinate Transform Grid (Drag original P)

Original (P) (3, 2)

Time Complexity

O(1) matrix calculations

Space Complexity

O(1) auxiliary
Conceptual Overview

Coordinate Transformation maps points from one system to another using linear algebra matrices (Translation, Rotation, Scaling, Reflection).

Mathematical Formula
\begin{bmatrix} x' \\ y' \end{bmatrix} = \begin{bmatrix} \cos\theta & -\sin\theta \\ \sin\theta & \cos\theta \end{bmatrix} \begin{bmatrix} x + t_x \\ y + t_y \end{bmatrix}
Source: CP-Algorithms geometry reference