https://stackoverflow.com/questions/51167628/how-to-rotate-image-in-javascript
Anonymous
Don't force yourself or others to reimplement functionality.