https://medium.com/@khaldiadjalil/story-8-geometric-transformations-shape-degree-images-have-it-easy-efd3ccbd426a