shear()


Shears an object

shear(x, f1, f2)
x Angle of shear (in degrees, clockwise) with respect to the x and y-axes
f1 Start frame
f2 End frame

Example:

shape = triangle(30, 75, 58, 20, 86, 75)
shape.shear(45, 90, 1, 80)
                            
shape.draw(1, 1000)