shearX()


Shears an object around the x-axis

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

Example:

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