返回
基础知识
canvas瀑布雨特效插件--Waterfall.js


插件使用-----------------------------------------

1>引入WaterFill.js 文件

2>调用waterfill.open()方法

3>参数

  waterfall.open({
    text:'显示的文字',
    fontSize:'字体的大小',
    speed:'下落的速度',
    preAction:true//是否显示预加载动画
    color:'字体颜色',
    fontFamily: '字体样式'
  });
4>关闭特效

 waterfill.close(); 

下载地址:https://github.com/sunsipeng/WaterFall


特效演示地址

http://sipeng.net/yanshi/WaterFallRain-master/index.html