Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

35 lines (27 sloc) 0.554 kb

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
Jump to Line
Something went wrong with that request. Please try again.