elm-canvas
elm-canvas copied to clipboard
New Function : Scale
Take the existing pixel data, and scale it
scaleX : Float -> Canvas -> Canvas
scaleY : Float -> Canvas -> Canvas
scale : Float -> Canvas -> Canvas
scale f = scaleX f >> scaleY f
Put a lot of work into this, but I couldnt get it more performant than my native javascript implementation, so I am putting it off for a bit.