Geometric Shearing Calculator

Visualize how shearing transforms 2D shapes. Enter your object coordinates, choose an axis, and set the shearing factor to see the magic!

Enter coordinates as a 2D array. e.g., [[1,1],[2,3],[4,2],[3,1]]

Choose the axis along which shearing will be applied.

Enter the shearing factor. Positive or negative values are accepted.

Visualization

Original object in blue, sheared object in red.

Sheared Object Coordinates

What is Geometric Shearing?

Geometric shearing is a transformation that distorts the shape of an object by shifting points parallel to a line (the axis), with the shift amount proportional to their perpendicular distance from the line. Imagine pushing a deck of cards sideways – that's shearing! In X-axis shearing, y-coordinates remain unchanged, while x-coordinates are shifted based on the y-value and the shearing factor. Similarly, for Y-axis shearing, x-coordinates are unchanged, and y-coordinates are shifted based on the x-value. This tool helps you visualize and calculate the result of shearing any 2D object defined by its coordinates.