3 ms·
This is pretty cool. You might even be able to turn this into a business if you could actually order the sweaters. Extra bonus points if you could do that witho
by RandallBrown 11y ago
This is pretty cool. You might even be able to turn this into a business if you could actually order the sweaters. Extra bonus points if you could do that without it being screen printed on.
It doesn't handle rotated images correctly. Many of the images I tried with my iPhone came out turned sideways or upside down. (I believe this is because the iPhone stores the correct orientation in the exif data.)
- headcanon 11y agoI worked on a similar project once (fully-client-side image cropping), and you are correct about the EXIF data. There was a library out there that saved my ass with that problem, but it escapes me now. Edit: I think this is it: https://github.com/blueimp/JavaScript-Load-Image https://github.com/blueimp/JavaScript-Load-Image
- alexkavon 11y agoYo dawg, don't sweat it. That's why there's https://hammerjs.github.io/ https://hammerjs.github.io/
- cleverjake 11y agoMariko Kosaka, aka @kosamari, created this. She also regularly uses javascript to create real world knitted objects (i.e. no screen printing) https://www.youtube.com/watch?v=X1Cc1vrvjdY https://www.youtube.com/watch?v=X1Cc1vrvjdY https://www.youtube.com/watch?v=nydh_2NRn-c https://www.youtube.com/watch?v=nydh_2NRn-c