ExpressHermes / Primitive-Paint

A paint web app using paperjs library
https://expresshermes.github.io/Primitive-Paint/
MIT License
8 stars 18 forks source link

adding canvas rotate clockwise and anticlockwise #41

Open aksh-hash opened 2 years ago

aksh-hash commented 2 years ago

to rotate the given canvas clockwise and anticlockwise by 90 degree each time.

aksh-hash commented 2 years ago

original image: image

after rotation: image

after 2nd rotation: image

after 3rd rotation: image

after 4th rotation: image