Skip to content

Instantly share code, notes, and snippets.

@geuis
Created February 15, 2018 02:02
Show Gist options
  • Save geuis/e333d7af94989b10887e55da9bbdfa4d to your computer and use it in GitHub Desktop.
Save geuis/e333d7af94989b10887e55da9bbdfa4d to your computer and use it in GitHub Desktop.
Useful links
Use canvas drawImage to clip and scale. MDN docs are confusing as hell, this is simple: http://falcon80.com/HTMLCanvas/ImageManipulation/ClipImage.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment