Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
jQuery plugin to use blend modes in html5
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README.markdown
wwblend.js

README.markdown

WWBLEND

A jQuery plugin to simulate blend modes.

Right now it is supposed to work on the site's background image. Plans to expand it in the near future.

Currently supported:

  • Multiply

Usage

$(ELEMENT).wwblend({ canvas:{ width: ##, height: ## }, color: { r: ###, g: ###, b: ### }, image:{ src: "" } } });

  • image.src is the url of the image to blend
  • color.r, color.g, color.b are the rgb values of the color that is blending with the image
  • canvas.width, canvas.height are the width and height of the canvas being blended
Something went wrong with that request. Please try again.