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 in the Javascript category from Setfive.
30 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 postAn evaluation of using Backbone and Marionette to structure PhoneGap apps, covering their benefits, flexibility, documentation gaps, and maintainability.
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 post