#foo

This jQuery plugin paints a burst pattern onto your element of choice, and is freely available under the MIT license. Pow.js generates the pattern in canvas, and simply layers in the resulting image data as a CSS background. It's kinda actually not that complicated.

/* Try it out. */ $('div#example').pow({ rays: , // positive integer > 1 bgColorStart: , // any css color rayColorStart: , // any css color bgColorEnd: , // any css color rayColorEnd: , // any css color originX: , // percentage, e.g. '33%' originY: , // percentage, e.g. '120%' originEl: // any jQuery selector // note: 'originEl' overrides 'originX' and 'originY' });