Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Function : Scale #15

Open
Chadtech opened this issue Feb 2, 2017 · 1 comment
Open

New Function : Scale #15

Chadtech opened this issue Feb 2, 2017 · 1 comment

Comments

@Chadtech
Copy link
Collaborator

Chadtech commented Feb 2, 2017

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
@Chadtech
Copy link
Collaborator Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant