jquery和canvas炫酷星星闪烁特效插件 A little jQuery plugin for making DOM elements sparkle (uses Canvas)

					
$(".demo1").sparkle({
  color: "#FFFFFF",
  count: 30,
  overlap: 0,
  speed: 1,
  minSize: 4,
  maxSize: 7,
  direction: "both"
});						
					
					
					
$(".demo2").sparkle({
  color: "rainbow",
  count: 50,
  overlap: 0,
  speed: 1.5,
  minSize: 5,
  maxSize: 10,
  direction: "both"
});						
					
					
					
$(".demo3").sparkle({
  color: "rainbow",
  count: 100,
  overlap: 0,
  speed: 2,
  minSize: 5,
  maxSize: 15,
  direction: "both"
});