How can I resize me once me rotate an object on the canvas


#1

How can I resize me once merotate an object on the canvas, for example, want to create a triangle object and its triangular object can rotate to reverse and minimize exaggerated like that on this site https://tees.co.id/editor/create/kaos/kaos-pria

please speak in english languange and give me example code (like in zip or rar)