elm-playground icon indicating copy to clipboard operation
elm-playground copied to clipboard

`flip` transformation

Open miniBill opened this issue 6 years ago • 2 comments

I think the package could use a flipHorizontally/flipVertically pair of functions.

My use case is flipping an image (otherwise I'd need two versions of the same image, one normal and one flipped).

miniBill avatar Sep 24 '19 15:09 miniBill

I hereby release the contents of the commit https://github.com/miniBill/elm-playground/commit/aa894224d69bd12c0335dd7cdfa619ff1e908b68 under the license CC0, or at your choice, MIT

miniBill avatar Oct 03 '19 22:10 miniBill

i would suggest instead of flip - add scaleX and scaleY - that can solve that problem, and add more functionality, and flipHorizontally - would be just alias to scaleX -1

justgook avatar Dec 11 '19 11:12 justgook