Jump to content

HTML5 Hub - Cutting through images in canvas


rich
 Share

Recommended Posts

That was an interesting article.

 

I have used the "destination-out" method you describe, but didn't notice any particular slow-down on the stock Android browser. Though of course you end up using more memory because of the extra canvas.

 

However that method also has the advantage of being able to use the alpha channel to fade out your shape around the edges, giving a better result in most cases.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...