19th Ave New York, NY 95822, USA

Canvas + jQuery Hexagon Image Crop

Quick and easy way to crop a square image on the web into a transparent hexagon using HTML5 Canvas & jQuery. I’m going to break this into a step-by-step when I get some free time, but for now. Here’s the code. If you understand Javascript well enough, you should be able to pick this apart pretty quickly.

Enjoy!

Related Posts