Javascript: Using Canvas to cut an area of an image
Learn how to use Canvas compositing and source-in with drawImage to extract nonrectangular image areas defined by a mask.
Read the postPosts tagged javascript from Setfive.
40 posts
Learn how to use Canvas compositing and source-in with drawImage to extract nonrectangular image areas defined by a mask.
Read the postBuild a JavaScript Pong game with ChipmunkJS physics, Canvas rendering, requestAnimationFrame, paddle controls, collisions, and scoring.
Read the postHow to fix black bars on iPhone 5 PhoneGap apps by adding the 1136×640 splash screen entry to config.xml.
Read the postHow to use PhoneGap’s Capture API to record audio consistently on iOS and Android, then upload the resulting file to a server.
Read the postUsing PhantomJS-node with Q Deferreds to sequence page creation, URL loading, and screenshot rendering while avoiding deeply nested Node.js callbacks.
Read the post